@stridge/pay-kit 0.0.0-stage → 0.1.0-alpha.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/LICENSE +21 -0
- package/README.md +339 -2
- package/dist/account.d.ts +4 -0
- package/dist/account.js +1 -0
- package/dist/channel/createAppChannel.js +1 -0
- package/dist/channel/createDialogAriaHiddenIntent.js +1 -0
- package/dist/channel/createDialogHost.js +1 -0
- package/dist/channel/createScrollLock.js +2 -0
- package/dist/channel/iframeTransport.js +1 -0
- package/dist/channel/popupTransport.js +1 -0
- package/dist/channel/presentation.js +1 -0
- package/dist/channel/types.d.ts +225 -0
- package/dist/core/buildElementUrl.js +1 -0
- package/dist/core/createElementClient.js +1 -0
- package/dist/core/createElementHandle.js +1 -0
- package/dist/core/createElementLedger.js +1 -0
- package/dist/core/createElementLifetimeBridge.js +1 -0
- package/dist/core/elementClientTypes.d.ts +20 -0
- package/dist/core/elementGeometry.js +1 -0
- package/dist/core/elementLoadState.d.ts +1 -0
- package/dist/core/elementLoadState.js +1 -0
- package/dist/core/elementSizing.js +1 -0
- package/dist/core/elementStartGate.js +1 -0
- package/dist/core/types.d.ts +1 -0
- package/dist/errors/PayError.d.ts +37 -0
- package/dist/errors/PayError.js +1 -0
- package/dist/hooks/keypairState.js +1 -0
- package/dist/hooks/types.d.ts +104 -0
- package/dist/hooks/usePayAccount.d.ts +16 -0
- package/dist/hooks/usePayAccount.js +1 -0
- package/dist/hooks/usePaySnapshot.d.ts +13 -0
- package/dist/hooks/usePaySnapshot.js +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +1 -0
- package/dist/provider/PayProvider.d.ts +47 -0
- package/dist/provider/PayProvider.js +1 -0
- package/dist/provider/context.js +1 -0
- package/dist/provider/createProviderLifetime.js +1 -0
- package/dist/provider/elementContext.js +1 -0
- package/dist/provider/hubAddress.js +1 -0
- package/dist/provider/types.d.ts +73 -0
- package/dist/react/ElementDefault.d.ts +23 -0
- package/dist/react/ElementDefault.js +1 -0
- package/dist/react/ElementHost.js +1 -0
- package/dist/react/ElementLanes.js +1 -0
- package/dist/react/PayElement.d.ts +13 -0
- package/dist/react/PayElement.js +1 -0
- package/dist/react/compileElementOptions.js +1 -0
- package/dist/react/compilePayRequest.js +1 -0
- package/dist/react/elementDefaultStyles.d.ts +15 -0
- package/dist/react/elementDefaultStyles.js +69 -0
- package/dist/react/elementSwap.js +1 -0
- package/dist/react/payEvents.d.ts +139 -0
- package/dist/react/payEvents.js +1 -0
- package/dist/react/presentElement.js +1 -0
- package/dist/react/stridgeLockup.js +1 -0
- package/dist/react/types.d.ts +118 -0
- package/dist/react/useElementHandle.js +1 -0
- package/dist/shared/presentation/hubWindow.js +1 -0
- package/dist/shared/presentation/subscribeToNothing.js +1 -0
- package/package.json +124 -3
package/package.json
CHANGED
|
@@ -1,6 +1,127 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stridge/pay-kit",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "0.1.0-alpha.1",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist/index.js",
|
|
8
|
+
"dist/index.d.ts",
|
|
9
|
+
"dist/account.js",
|
|
10
|
+
"dist/account.d.ts",
|
|
11
|
+
"dist/channel",
|
|
12
|
+
"dist/core",
|
|
13
|
+
"dist/errors",
|
|
14
|
+
"dist/hooks",
|
|
15
|
+
"dist/provider",
|
|
16
|
+
"dist/react",
|
|
17
|
+
"dist/shared/presentation"
|
|
18
|
+
],
|
|
19
|
+
"main": "./dist/index.js",
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.ts",
|
|
24
|
+
"import": "./dist/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./account": {
|
|
27
|
+
"types": "./dist/account.d.ts",
|
|
28
|
+
"import": "./dist/account.js"
|
|
29
|
+
},
|
|
30
|
+
"./package.json": "./package.json"
|
|
31
|
+
},
|
|
32
|
+
"publishConfig": {
|
|
33
|
+
"access": "public"
|
|
34
|
+
},
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"react": "^19.0.0",
|
|
37
|
+
"react-dom": "^19.0.0"
|
|
38
|
+
},
|
|
39
|
+
"peerDependenciesMeta": {
|
|
40
|
+
"react": {
|
|
41
|
+
"optional": false
|
|
42
|
+
},
|
|
43
|
+
"react-dom": {
|
|
44
|
+
"optional": false
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@arethetypeswrong/cli": "^0.18.5",
|
|
49
|
+
"@babel/core": "^8.0.1",
|
|
50
|
+
"@babel/preset-typescript": "^8.0.1",
|
|
51
|
+
"@base-ui/react": "1.6.0",
|
|
52
|
+
"@coinbase/wallet-sdk": "4.3.7",
|
|
53
|
+
"@lingui/babel-plugin-lingui-macro": "^6.5.0",
|
|
54
|
+
"@lingui/cli": "^6.5.0",
|
|
55
|
+
"@lingui/conf": "^6.5.0",
|
|
56
|
+
"@lingui/core": "^6.5.0",
|
|
57
|
+
"@lingui/format-po": "^6.5.0",
|
|
58
|
+
"@lingui/message-utils": "^6.5.0",
|
|
59
|
+
"@lingui/react": "^6.5.0",
|
|
60
|
+
"@lingui/vite-plugin": "^6.5.0",
|
|
61
|
+
"@microsoft/api-extractor": "^7.58.11",
|
|
62
|
+
"@noble/curves": "1.9.0",
|
|
63
|
+
"@noble/hashes": "1.8.0",
|
|
64
|
+
"@rollup/plugin-babel": "^7.1.0",
|
|
65
|
+
"@size-limit/esbuild": "^12.1.0",
|
|
66
|
+
"@size-limit/esbuild-why": "^12.1.0",
|
|
67
|
+
"@size-limit/file": "^12.1.0",
|
|
68
|
+
"@solana-program/system": "0.13.0",
|
|
69
|
+
"@solana-program/token": "0.15.0",
|
|
70
|
+
"@solana/kit": "7.0.0",
|
|
71
|
+
"@solana/wallet-standard-features": "1.3.0",
|
|
72
|
+
"@stylexjs/stylex": "^0.19.0",
|
|
73
|
+
"@stylexjs/unplugin": "^0.19.0",
|
|
74
|
+
"@tanstack/react-query": "5.101.2",
|
|
75
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
76
|
+
"@testing-library/react": "^16.3.2",
|
|
77
|
+
"@testing-library/user-event": "^14.6.1",
|
|
78
|
+
"@tsdown/css": "^0.22.9",
|
|
79
|
+
"@turnkey/crypto": "2.13.2",
|
|
80
|
+
"@types/node": "26.1.1",
|
|
81
|
+
"@types/react": "19.2.17",
|
|
82
|
+
"@types/react-dom": "19.2.3",
|
|
83
|
+
"@wallet-standard/app": "1.1.0",
|
|
84
|
+
"@wallet-standard/base": "1.1.0",
|
|
85
|
+
"@wallet-standard/features": "1.1.0",
|
|
86
|
+
"@walletconnect/ethereum-provider": "2.23.10",
|
|
87
|
+
"dependency-cruiser": "^18.1.0",
|
|
88
|
+
"jsdom": "^29.1.1",
|
|
89
|
+
"motion": "^12.42.2",
|
|
90
|
+
"publint": "^0.3.21",
|
|
91
|
+
"qr": "0.6.0",
|
|
92
|
+
"react": "19.2.7",
|
|
93
|
+
"react-dom": "19.2.7",
|
|
94
|
+
"size-limit": "^12.1.0",
|
|
95
|
+
"tsdown": "^0.22.9",
|
|
96
|
+
"typescript": "6.0.3",
|
|
97
|
+
"viem": "2.55.2",
|
|
98
|
+
"vitest": "4.1.10",
|
|
99
|
+
"wagmi": "3.7.3",
|
|
100
|
+
"@stridge/gateway-kit-typescript": "0.0.0",
|
|
101
|
+
"@stridge/gateway-sdk": "0.1.0-alpha.16"
|
|
102
|
+
},
|
|
103
|
+
"dependencies": {
|
|
104
|
+
"@stridge/pay-sdk": "0.1.0-alpha.0"
|
|
105
|
+
},
|
|
106
|
+
"repository": {
|
|
107
|
+
"type": "git",
|
|
108
|
+
"url": "git+https://github.com/stridge-foundation/gateway-kit.git",
|
|
109
|
+
"directory": "packages/sua-kit"
|
|
110
|
+
},
|
|
111
|
+
"scripts": {
|
|
112
|
+
"build": "pnpm run i18n:compile && tsdown",
|
|
113
|
+
"check:isolation": "depcruise src",
|
|
114
|
+
"dev": "pnpm run i18n:compile && tsdown --watch",
|
|
115
|
+
"i18n:check": "lingui extract --clean && git diff --exit-code -- src/shared/i18n/locales && ! git status --porcelain -- src/shared/i18n/locales | grep .",
|
|
116
|
+
"i18n:compile": "lingui compile --typescript",
|
|
117
|
+
"i18n:extract": "lingui extract --clean",
|
|
118
|
+
"test": "pnpm run i18n:compile && vitest --run",
|
|
119
|
+
"test:watch": "pnpm run i18n:compile && vitest",
|
|
120
|
+
"typecheck": "pnpm run i18n:compile && node ../../scripts/typecheck.mjs --noEmit && depcruise src",
|
|
121
|
+
"check:pack": "node scripts/check-pack.mjs",
|
|
122
|
+
"check:api": "api-extractor run && api-extractor run --config api-extractor.account.json",
|
|
123
|
+
"check:api:update": "api-extractor run --local && api-extractor run --local --config api-extractor.account.json",
|
|
124
|
+
"check:size": "size-limit",
|
|
125
|
+
"check:publish": "pnpm run check:api && pnpm run check:pack && node ../../scripts/check-sua-publish.mjs && pnpm run check:size"
|
|
126
|
+
}
|
|
6
127
|
}
|