@bootnodedev/canton-connect 0.3.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/LICENSE +21 -0
- package/README.md +155 -0
- package/dist/CantonConnectProvider-CJ1yWGXz.js +777 -0
- package/dist/index.d.ts +342 -0
- package/dist/index.js +444 -0
- package/dist/testing/index.d.ts +127 -0
- package/dist/testing/index.js +291 -0
- package/dist/types-Deu_03jh.d.ts +385 -0
- package/package.json +86 -0
package/package.json
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@bootnodedev/canton-connect",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "wagmi-style React hooks for connecting Canton dApps to CIP-0103 wallets",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"private": false,
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"access": "public"
|
|
10
|
+
},
|
|
11
|
+
"sideEffects": false,
|
|
12
|
+
"engines": {
|
|
13
|
+
"node": ">=24.15.0"
|
|
14
|
+
},
|
|
15
|
+
"module": "./dist/index.js",
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"import": "./dist/index.js"
|
|
24
|
+
},
|
|
25
|
+
"./testing": {
|
|
26
|
+
"types": "./dist/testing/index.d.ts",
|
|
27
|
+
"import": "./dist/testing/index.js"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"imports": {
|
|
31
|
+
"#src/*": {
|
|
32
|
+
"types": [
|
|
33
|
+
"./src/*.ts",
|
|
34
|
+
"./src/*.tsx",
|
|
35
|
+
"./src/*/index.ts",
|
|
36
|
+
"./src/*/index.tsx"
|
|
37
|
+
],
|
|
38
|
+
"default": "./src/*"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"@canton-network/core-types": "^1.8.0",
|
|
43
|
+
"@canton-network/dapp-sdk": "^1.4.0",
|
|
44
|
+
"@walletconnect/sign-client": "^2.23.9",
|
|
45
|
+
"react": "^19.0.0"
|
|
46
|
+
},
|
|
47
|
+
"peerDependenciesMeta": {
|
|
48
|
+
"@walletconnect/sign-client": {
|
|
49
|
+
"optional": true
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@canton-network/core-types": "1.10.0",
|
|
54
|
+
"@canton-network/dapp-sdk": "1.5.1",
|
|
55
|
+
"@testing-library/dom": "^10.4.1",
|
|
56
|
+
"@testing-library/jest-dom": "^7.0.0",
|
|
57
|
+
"@testing-library/react": "^16.3.2",
|
|
58
|
+
"@types/react": "^19.2.17",
|
|
59
|
+
"@types/react-dom": "^19.2.3",
|
|
60
|
+
"@vitejs/plugin-react": "^6.0.4",
|
|
61
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
62
|
+
"@walletconnect/sign-client": "^2.23.9",
|
|
63
|
+
"@walletconnect/types": "^2.23.9",
|
|
64
|
+
"jsdom": "^30.0.0",
|
|
65
|
+
"react": "^19.2.8",
|
|
66
|
+
"react-dom": "^19.2.8",
|
|
67
|
+
"tsdown": "^0.22.14",
|
|
68
|
+
"typescript": "^5.9.3",
|
|
69
|
+
"vite": "^8.1.5",
|
|
70
|
+
"vitest": "^4.1.10"
|
|
71
|
+
},
|
|
72
|
+
"dependencies": {
|
|
73
|
+
"@xstate/react": "^6.1.0",
|
|
74
|
+
"xstate": "^5.32.5"
|
|
75
|
+
},
|
|
76
|
+
"scripts": {
|
|
77
|
+
"build": "tsdown",
|
|
78
|
+
"coverage": "vitest run --coverage",
|
|
79
|
+
"format": "biome format --write",
|
|
80
|
+
"lint:fix": "biome check --write",
|
|
81
|
+
"lint": "biome check",
|
|
82
|
+
"test:watch": "vitest",
|
|
83
|
+
"test": "vitest run",
|
|
84
|
+
"typecheck": "tsc --noEmit"
|
|
85
|
+
}
|
|
86
|
+
}
|