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