@solana/client 0.0.0 → 0.1.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 -3
- package/dist/index.browser.cjs +2796 -0
- package/dist/index.browser.cjs.map +1 -0
- package/dist/index.browser.mjs +2745 -0
- package/dist/index.browser.mjs.map +1 -0
- package/dist/index.native.mjs +2745 -0
- package/dist/index.native.mjs.map +1 -0
- package/dist/index.node.cjs +2796 -0
- package/dist/index.node.cjs.map +1 -0
- package/dist/index.node.mjs +2745 -0
- package/dist/index.node.mjs.map +1 -0
- package/dist/types/client/actions.d.ts +18 -0
- package/dist/types/client/actions.d.ts.map +1 -0
- package/dist/types/client/createClient.d.ts +9 -0
- package/dist/types/client/createClient.d.ts.map +1 -0
- package/dist/types/client/createClientHelpers.d.ts +3 -0
- package/dist/types/client/createClientHelpers.d.ts.map +1 -0
- package/dist/types/client/createClientStore.d.ts +29 -0
- package/dist/types/client/createClientStore.d.ts.map +1 -0
- package/dist/types/client/watchers.d.ts +16 -0
- package/dist/types/client/watchers.d.ts.map +1 -0
- package/dist/types/controllers/solTransferController.d.ts +21 -0
- package/dist/types/controllers/solTransferController.d.ts.map +1 -0
- package/dist/types/controllers/splTransferController.d.ts +24 -0
- package/dist/types/controllers/splTransferController.d.ts.map +1 -0
- package/dist/types/features/sol.d.ts +41 -0
- package/dist/types/features/sol.d.ts.map +1 -0
- package/dist/types/features/spl.d.ts +59 -0
- package/dist/types/features/spl.d.ts.map +1 -0
- package/dist/types/features/transactions.d.ts +79 -0
- package/dist/types/features/transactions.d.ts.map +1 -0
- package/dist/types/index.d.ts +25 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/logging/logger.d.ts +24 -0
- package/dist/types/logging/logger.d.ts.map +1 -0
- package/dist/types/numeric/amounts.d.ts +30 -0
- package/dist/types/numeric/amounts.d.ts.map +1 -0
- package/dist/types/numeric/lamports.d.ts +46 -0
- package/dist/types/numeric/lamports.d.ts.map +1 -0
- package/dist/types/numeric/math.d.ts +74 -0
- package/dist/types/numeric/math.d.ts.map +1 -0
- package/dist/types/numeric/rational.d.ts +27 -0
- package/dist/types/numeric/rational.d.ts.map +1 -0
- package/dist/types/rpc/createSolanaRpcClient.d.ts +42 -0
- package/dist/types/rpc/createSolanaRpcClient.d.ts.map +1 -0
- package/dist/types/serialization/json.d.ts +31 -0
- package/dist/types/serialization/json.d.ts.map +1 -0
- package/dist/types/signatures/status.d.ts +12 -0
- package/dist/types/signatures/status.d.ts.map +1 -0
- package/dist/types/signers/walletTransactionSigner.d.ts +33 -0
- package/dist/types/signers/walletTransactionSigner.d.ts.map +1 -0
- package/dist/types/state/asyncState.d.ts +12 -0
- package/dist/types/state/asyncState.d.ts.map +1 -0
- package/dist/types/transactions/base64.d.ts +12 -0
- package/dist/types/transactions/base64.d.ts.map +1 -0
- package/dist/types/transactions/prepareTransaction.d.ts +16 -0
- package/dist/types/transactions/prepareTransaction.d.ts.map +1 -0
- package/dist/types/transactions/referenceKeys.d.ts +10 -0
- package/dist/types/transactions/referenceKeys.d.ts.map +1 -0
- package/dist/types/transactions/transactionPoolController.d.ts +53 -0
- package/dist/types/transactions/transactionPoolController.d.ts.map +1 -0
- package/dist/types/types.d.ts +205 -0
- package/dist/types/types.d.ts.map +1 -0
- package/dist/types/utils/addressLike.d.ts +5 -0
- package/dist/types/utils/addressLike.d.ts.map +1 -0
- package/dist/types/utils/stableStringify.d.ts +2 -0
- package/dist/types/utils/stableStringify.d.ts.map +1 -0
- package/dist/types/utils.d.ts +21 -0
- package/dist/types/utils.d.ts.map +1 -0
- package/dist/types/wallet/registry.d.ts +9 -0
- package/dist/types/wallet/registry.d.ts.map +1 -0
- package/dist/types/wallet/standard.d.ts +36 -0
- package/dist/types/wallet/standard.d.ts.map +1 -0
- package/package.json +83 -79
package/package.json
CHANGED
|
@@ -1,80 +1,84 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
2
|
+
"name": "@solana/client",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Framework-agnostic Solana client orchestration layer powering higher-level experiences",
|
|
5
|
+
"exports": {
|
|
6
|
+
"edge-light": {
|
|
7
|
+
"import": "./dist/index.node.mjs",
|
|
8
|
+
"require": "./dist/index.node.cjs"
|
|
9
|
+
},
|
|
10
|
+
"workerd": {
|
|
11
|
+
"import": "./dist/index.node.mjs",
|
|
12
|
+
"require": "./dist/index.node.cjs"
|
|
13
|
+
},
|
|
14
|
+
"browser": {
|
|
15
|
+
"import": "./dist/index.browser.mjs",
|
|
16
|
+
"require": "./dist/index.browser.cjs"
|
|
17
|
+
},
|
|
18
|
+
"node": {
|
|
19
|
+
"import": "./dist/index.node.mjs",
|
|
20
|
+
"require": "./dist/index.node.cjs"
|
|
21
|
+
},
|
|
22
|
+
"react-native": "./dist/index.native.mjs",
|
|
23
|
+
"types": "./dist/types/index.d.ts"
|
|
24
|
+
},
|
|
25
|
+
"browser": {
|
|
26
|
+
"./dist/index.node.cjs": "./dist/index.browser.cjs",
|
|
27
|
+
"./dist/index.node.mjs": "./dist/index.browser.mjs"
|
|
28
|
+
},
|
|
29
|
+
"main": "./dist/index.node.cjs",
|
|
30
|
+
"module": "./dist/index.node.mjs",
|
|
31
|
+
"react-native": "./dist/index.native.mjs",
|
|
32
|
+
"types": "./dist/types/index.d.ts",
|
|
33
|
+
"type": "commonjs",
|
|
34
|
+
"files": [
|
|
35
|
+
"./dist/"
|
|
36
|
+
],
|
|
37
|
+
"sideEffects": false,
|
|
38
|
+
"keywords": [
|
|
39
|
+
"solana",
|
|
40
|
+
"web3",
|
|
41
|
+
"client",
|
|
42
|
+
"zustand"
|
|
43
|
+
],
|
|
44
|
+
"author": "Solana Maintainers <maintainers@solana.foundation>",
|
|
45
|
+
"repository": {
|
|
46
|
+
"type": "git",
|
|
47
|
+
"url": "https://github.com/solana-foundation/framework-kit"
|
|
48
|
+
},
|
|
49
|
+
"license": "MIT",
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@solana/codecs-strings": "^5.0.0",
|
|
52
|
+
"@solana/kit": "^5.0.0",
|
|
53
|
+
"@solana/transactions": "^5.0.0",
|
|
54
|
+
"@solana/transaction-confirmation": "^5.0.0",
|
|
55
|
+
"@solana-program/system": "^0.9.0",
|
|
56
|
+
"@solana-program/compute-budget": "^0.9.0",
|
|
57
|
+
"@solana-program/token": "^0.5.1",
|
|
58
|
+
"@wallet-standard/app": "^1.0.1",
|
|
59
|
+
"@wallet-standard/base": "^1.1.0",
|
|
60
|
+
"@wallet-standard/errors": "^0.1.1",
|
|
61
|
+
"@wallet-standard/features": "^1.0.3",
|
|
62
|
+
"@solana/wallet-standard-features": "^1.3.0",
|
|
63
|
+
"zustand": "^5.0.0"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@types/node": "^24"
|
|
67
|
+
},
|
|
68
|
+
"peerDependencies": {
|
|
69
|
+
"typescript": ">=5.3.3"
|
|
70
|
+
},
|
|
71
|
+
"engines": {
|
|
72
|
+
"node": ">=20.18.0"
|
|
73
|
+
},
|
|
74
|
+
"scripts": {
|
|
75
|
+
"build": "pnpm compile:js && pnpm compile:typedefs",
|
|
76
|
+
"compile:js": "tsup --config ../build-scripts/tsup.config.package.ts",
|
|
77
|
+
"compile:typedefs": "tsc -p ./tsconfig.declarations.json",
|
|
78
|
+
"format": "biome check --write src",
|
|
79
|
+
"lint": "biome check src",
|
|
80
|
+
"test:typecheck": "tsc --noEmit",
|
|
81
|
+
"test": "vitest run --config ./vitest.config.ts",
|
|
82
|
+
"typecheck": "pnpm test:typecheck"
|
|
83
|
+
}
|
|
84
|
+
}
|