@gluwa/connect-kit 0.1.0-next.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/.eslintrc.cjs +67 -0
- package/CHANGELOG.md +18 -0
- package/README.md +0 -0
- package/assets/creditwallet.png +0 -0
- package/assets/deeplink.png +0 -0
- package/assets/graphic.png +0 -0
- package/assets/metamask.png +0 -0
- package/assets/wc.png +0 -0
- package/dist/README.md +0 -0
- package/dist/_esm-PE6HOEBI.js +3909 -0
- package/dist/ccip-UBX2BH3T.js +15 -0
- package/dist/chunk-6KUZ225H.js +5259 -0
- package/dist/chunk-EVEWD66F.js +447 -0
- package/dist/chunk-U2IU7TQD.js +45 -0
- package/dist/index.d.ts +47 -0
- package/dist/index.js +1820 -0
- package/dist/package.json +64 -0
- package/dist/secp256k1-FYSVLDVL.js +2311 -0
- package/package.json +57 -0
- package/src/ConnectModal.scss +627 -0
- package/src/ConnectModal.tsx +521 -0
- package/src/assets.d.ts +4 -0
- package/src/connector-meta.ts +41 -0
- package/src/creditConnectConnector.ts +451 -0
- package/src/hooks/useWagmiConnect.ts +125 -0
- package/src/index.ts +4 -0
- package/src/types.ts +34 -0
- package/src/utils/platform.ts +16 -0
- package/src/views/CreditWalletView.tsx +69 -0
- package/src/views/IdleView.tsx +10 -0
- package/src/views/MetaMaskView.tsx +89 -0
- package/src/views/WalletConnectView.tsx +266 -0
- package/tsconfig.json +8 -0
- package/tsup.config.ts +18 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@gluwa/connect-kit",
|
|
3
|
+
"version": "0.1.0-next.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"exports": {
|
|
6
|
+
".": {
|
|
7
|
+
"default": "./src/index.ts"
|
|
8
|
+
},
|
|
9
|
+
"./package.json": "./package.json"
|
|
10
|
+
},
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"main": "./dist/index.js",
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"access": "public",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"default": "./dist/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./index.css": "./dist/index.css"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"sideEffects": true,
|
|
24
|
+
"scripts": {
|
|
25
|
+
"prepack": "pnpm build && cp package.json dist/ && cp README.md dist/",
|
|
26
|
+
"build": "tsup",
|
|
27
|
+
"typecheck": "tsc --noEmit --project tsconfig.json",
|
|
28
|
+
"lint": "eslint . --quiet",
|
|
29
|
+
"lint:fix": "eslint . --quiet --fix"
|
|
30
|
+
},
|
|
31
|
+
"author": "",
|
|
32
|
+
"license": "ISC",
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"qrcode.react": "^3.2.0"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@gluwa/credit-connect-sdk": "workspace:*",
|
|
38
|
+
"@types/react": "catalog:react18",
|
|
39
|
+
"@wagmi/core": "^2.16.7",
|
|
40
|
+
"esbuild-sass-plugin": "^3.7.0",
|
|
41
|
+
"react": "catalog:react18",
|
|
42
|
+
"react-dom": "catalog:react18",
|
|
43
|
+
"tsup": "catalog:",
|
|
44
|
+
"typescript": "catalog:",
|
|
45
|
+
"typescript-eslint": "catalog:",
|
|
46
|
+
"viem": "^2.31.7",
|
|
47
|
+
"wagmi": "^2.15.6"
|
|
48
|
+
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"@gluwa/credit-connect-sdk": "workspace:*",
|
|
51
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
52
|
+
"wagmi": ">=2.0.0"
|
|
53
|
+
},
|
|
54
|
+
"peerDependenciesMeta": {
|
|
55
|
+
"@gluwa/credit-connect-sdk": {
|
|
56
|
+
"optional": true
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"repository": {
|
|
60
|
+
"type": "git",
|
|
61
|
+
"url": "git+https://github.com/gluwa/credit-connect.git",
|
|
62
|
+
"directory": "packages/connect-kit"
|
|
63
|
+
}
|
|
64
|
+
}
|