Skip to content

Commit 63e050b

Browse files
committed
feat: update rest-on-couch-client to v8.0.0
1 parent f183399 commit 63e050b

File tree

3 files changed

+9
-19
lines changed

3 files changed

+9
-19
lines changed

package-lock.json

Lines changed: 6 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"dependencies": {
2525
"iframe-bridge": "^3.0.2",
2626
"immer": "^11.1.4",
27-
"rest-on-couch-client": "^6.0.0"
27+
"rest-on-couch-client": "^8.0.0"
2828
},
2929
"peerDependencies": {
3030
"react": ">=18.0.0"

src/hooks/use_roc_query.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { useEffect, useReducer } from 'react';
2-
import type { IQueryResult } from 'rest-on-couch-client';
2+
import type { RocQueryResult as RocClientQueryResult } from 'rest-on-couch-client';
33

44
import { useRoc } from '../contexts/roc.js';
55

6-
export type RocQueryResult<T> = IQueryResult<[string, string], T>;
6+
export type RocQueryResult<T> = RocClientQueryResult<[string, string], T>;
77

88
interface RocQueryState<T = unknown> {
99
loading: boolean;

0 commit comments

Comments
 (0)