@iota/dapp-kit 0.11.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/cjs/hooks/useIotaClientInfiniteQuery.d.ts +1 -1
- package/dist/cjs/hooks/useIotaClientInfiniteQuery.d.ts.map +1 -1
- package/dist/cjs/hooks/useIotaClientInfiniteQuery.js +1 -0
- package/dist/cjs/hooks/useIotaClientInfiniteQuery.js.map +2 -2
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +2 -2
- package/dist/esm/hooks/useIotaClientInfiniteQuery.d.ts +1 -1
- package/dist/esm/hooks/useIotaClientInfiniteQuery.d.ts.map +1 -1
- package/dist/esm/hooks/useIotaClientInfiniteQuery.js +1 -0
- package/dist/esm/hooks/useIotaClientInfiniteQuery.js.map +2 -2
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +2 -2
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -10
- package/src/hooks/useIotaClientInfiniteQuery.ts +2 -1
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"description": "A collection of React hooks and components for interacting with the IOTA blockchain and wallets.",
|
|
5
5
|
"homepage": "https://docs.iota.org/developer/ts-sdk/dapp-kit/",
|
|
6
6
|
"repository": "https://github.com/iotaledger/ts-packages",
|
|
7
|
-
"version": "0.11.
|
|
7
|
+
"version": "0.11.1",
|
|
8
8
|
"license": "Apache-2.0",
|
|
9
9
|
"files": [
|
|
10
10
|
"CHANGELOG.md",
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
"@vanilla-extract/recipes": "^0.5.3",
|
|
66
66
|
"clsx": "^2.1.1",
|
|
67
67
|
"zustand": "^4.4.1",
|
|
68
|
-
"@iota/iota-sdk": "1.16.0",
|
|
69
68
|
"@iota/iota-names-sdk": "^2.0.1",
|
|
70
|
-
"@iota/
|
|
69
|
+
"@iota/iota-sdk": "1.17.0",
|
|
70
|
+
"@iota/wallet-standard": "0.4.7"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"@tanstack/react-query": "^5.50.1",
|
|
@@ -83,12 +83,6 @@
|
|
|
83
83
|
"test": "pnpm test:typecheck && pnpm vitest run",
|
|
84
84
|
"test:typecheck": "tsc -b ./test",
|
|
85
85
|
"size": "size-limit",
|
|
86
|
-
"analyze": "size-limit --why"
|
|
87
|
-
"prettier:check": "prettier -c --ignore-unknown --ignore-path=../../.prettierignore --ignore-path=.prettierignore .",
|
|
88
|
-
"prettier:fix": "prettier -w --ignore-unknown --ignore-path=../../.prettierignore --ignore-path=.prettierignore .",
|
|
89
|
-
"eslint:check": "eslint --max-warnings=0 .",
|
|
90
|
-
"eslint:fix": "pnpm run eslint:check --fix",
|
|
91
|
-
"lint": "pnpm run eslint:check && pnpm run prettier:check",
|
|
92
|
-
"lint:fix": "pnpm run eslint:fix && pnpm run prettier:fix"
|
|
86
|
+
"analyze": "size-limit --why"
|
|
93
87
|
}
|
|
94
88
|
}
|
|
@@ -29,7 +29,7 @@ export type IotaRpcPaginatedMethods = {
|
|
|
29
29
|
[K in IotaRpcPaginatedMethodName]: IotaClient[K] extends (
|
|
30
30
|
input: infer Params,
|
|
31
31
|
) => Promise<
|
|
32
|
-
infer Result extends { hasNextPage?: boolean | null; nextCursor?: infer Cursor | null }
|
|
32
|
+
infer Result extends { hasNextPage?: boolean | null; nextCursor?: (infer Cursor) | null }
|
|
33
33
|
>
|
|
34
34
|
? {
|
|
35
35
|
name: K;
|
|
@@ -78,6 +78,7 @@ export function useIotaClientInfiniteQuery<
|
|
|
78
78
|
enabled,
|
|
79
79
|
queryFn: ({ pageParam }) =>
|
|
80
80
|
iotaContext.client[method]({
|
|
81
|
+
// oxlint-disable-next-line unicorn/no-useless-fallback-in-spread
|
|
81
82
|
...(params ?? {}),
|
|
82
83
|
cursor: pageParam,
|
|
83
84
|
} as never),
|