cantonjs-react 0.3.0 → 0.4.0
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/README.md +3 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# cantonjs-react
|
|
2
2
|
|
|
3
|
-
React hooks for Canton
|
|
3
|
+
Participant-private React hooks for Canton ledger applications, powered by [TanStack Query](https://tanstack.com/query).
|
|
4
|
+
|
|
5
|
+
Use this package only once your app already has participant access. If that access comes from official wallet tooling, map the connected provider output into `createLedgerClient(...)` first and then pass that client into `CantonProvider`.
|
|
4
6
|
|
|
5
7
|
[](https://www.npmjs.com/package/cantonjs-react)
|
|
6
8
|
[](https://github.com/merged-one/cantonjs/blob/main/LICENSE)
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cantonjs-react",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "React hooks for
|
|
3
|
+
"version": "0.4.0",
|
|
4
|
+
"description": "Participant-private React hooks for cantonjs applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"@tanstack/react-query": "^5.0.0",
|
|
39
|
-
"cantonjs": "^0.
|
|
39
|
+
"cantonjs": "^0.4.0",
|
|
40
40
|
"react": "^18.0.0 || ^19.0.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependenciesMeta": {
|