@tuwaio/solana-sdk 0.0.8 → 0.1.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/README.md +6 -1
- package/dist/nova-connect.d.cts +1 -0
- package/dist/nova-connect.d.ts +1 -0
- package/dist/satellite.cjs +1 -1
- package/dist/satellite.js +1 -1
- package/dist/siwx.cjs +1 -0
- package/dist/siwx.d.cts +1 -0
- package/dist/siwx.d.ts +1 -0
- package/dist/siwx.js +1 -0
- package/package.json +15 -9
package/README.md
CHANGED
|
@@ -19,9 +19,13 @@ It completely avoids legacy `@solana/web3.js` classes and is built from the grou
|
|
|
19
19
|
|
|
20
20
|
- **🪙 Solana Native**: Built entirely on Wallet Standard to ensure maximum forward compatibility.
|
|
21
21
|
- **🌐 Ecosystem Adapters**: Packages OrbitSolana, PulsarSolana, SatelliteSolana, and SolanaConnectorsWatcher under unified subpaths.
|
|
22
|
-
- **⚡ Subpath Architecture**: Clean subpath imports (`@tuwaio/solana-sdk/satellite`, `@tuwaio/solana-sdk/pulsar`, `@tuwaio/solana-sdk/orbit`, `@tuwaio/solana-sdk/nova-connect`).
|
|
22
|
+
- **⚡ Subpath Architecture**: Clean subpath imports (`@tuwaio/solana-sdk/satellite`, `@tuwaio/solana-sdk/pulsar`, `@tuwaio/solana-sdk/orbit`, `@tuwaio/solana-sdk/nova-connect`, `@tuwaio/solana-sdk/siwx`).
|
|
23
23
|
- **🧩 Zero UI Bloat**: Focuses strictly on connection logic, standard wallet features, and transaction tracking adapters.
|
|
24
24
|
- **🔄 Standardized Auto-Discovery**: Seamlessly detects and connects to any browser extension that supports Wallet Standard (`SolanaConnectorsWatcher`).
|
|
25
|
+
- **🔐 Headless SIWX Auth**: Provides the Solana-native message signer (`createSolanaSiwxSigner`) for seamless CAIP-122 authentication (`@tuwaio/solana-sdk/siwx`).
|
|
26
|
+
|
|
27
|
+
> [!WARNING]
|
|
28
|
+
> **SIWE Deprecation Notice**: Legacy SIWE authorization flows in Satellite are **deprecated**. Migrate to `@tuwaio/solana-sdk/siwx` (`createSolanaSiwxSigner`) and `@tuwaio/sdk/siwx/server` for multi-chain CAIP-122 authentication.
|
|
25
29
|
|
|
26
30
|
---
|
|
27
31
|
|
|
@@ -217,6 +221,7 @@ export function SwapButton() {
|
|
|
217
221
|
- **`@tuwaio/solana-sdk/pulsar`** — Solana Pulsar adapter (`pulsarSolanaAdapter`).
|
|
218
222
|
- **`@tuwaio/solana-sdk/orbit`** — Solana Orbit helpers & types.
|
|
219
223
|
- **`@tuwaio/solana-sdk/nova-connect`** — Solana React watcher component (`SolanaConnectorsWatcher`).
|
|
224
|
+
- **`@tuwaio/solana-sdk/siwx`** — Solana CAIP-122 signer adapter (`createSolanaSiwxSigner`).
|
|
220
225
|
|
|
221
226
|
---
|
|
222
227
|
|
package/dist/nova-connect.d.cts
CHANGED
package/dist/nova-connect.d.ts
CHANGED
package/dist/satellite.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var satelliteSolana=require('@tuwaio/satellite-solana');Object.keys(satelliteSolana).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return satelliteSolana[k]}})});
|
|
1
|
+
'use strict';require('@tuwaio/satellite-react/solana');var satelliteSolana=require('@tuwaio/satellite-solana');Object.keys(satelliteSolana).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return satelliteSolana[k]}})});
|
package/dist/satellite.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export*from'@tuwaio/satellite-solana';
|
|
1
|
+
import'@tuwaio/satellite-react/solana';export*from'@tuwaio/satellite-solana';
|
package/dist/siwx.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var siwxSolana=require('@tuwaio/siwx-solana');Object.keys(siwxSolana).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return siwxSolana[k]}})});
|
package/dist/siwx.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@tuwaio/siwx-solana';
|
package/dist/siwx.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@tuwaio/siwx-solana';
|
package/dist/siwx.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from'@tuwaio/siwx-solana';
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuwaio/solana-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Oleksandr Tkach",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
|
-
"description": "Layer 9 (L9) of the TUWA Ecosystem. The Solana Network Adapter SDK providing Gill/Wallet-Standard transports and
|
|
7
|
+
"description": "Layer 9 (L9) of the TUWA Ecosystem. The Solana Network Adapter SDK providing Gill/Wallet-Standard transports, connectors, and SIWX adapters.",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
10
10
|
"./orbit": {
|
|
@@ -26,6 +26,11 @@
|
|
|
26
26
|
"types": "./dist/nova-connect.d.ts",
|
|
27
27
|
"import": "./dist/nova-connect.js",
|
|
28
28
|
"require": "./dist/nova-connect.cjs"
|
|
29
|
+
},
|
|
30
|
+
"./siwx": {
|
|
31
|
+
"types": "./dist/siwx.d.ts",
|
|
32
|
+
"import": "./dist/siwx.js",
|
|
33
|
+
"require": "./dist/siwx.cjs"
|
|
29
34
|
}
|
|
30
35
|
},
|
|
31
36
|
"publishConfig": {
|
|
@@ -71,7 +76,6 @@
|
|
|
71
76
|
"quasar",
|
|
72
77
|
"cloud",
|
|
73
78
|
"sdk",
|
|
74
|
-
"siwe",
|
|
75
79
|
"next-auth",
|
|
76
80
|
"cosmos",
|
|
77
81
|
"playground",
|
|
@@ -94,11 +98,13 @@
|
|
|
94
98
|
],
|
|
95
99
|
"dependencies": {
|
|
96
100
|
"@tuwaio/orbit-solana": "^0.2.13",
|
|
97
|
-
"@tuwaio/pulsar-solana": "^0.6.
|
|
98
|
-
"@tuwaio/satellite-
|
|
101
|
+
"@tuwaio/pulsar-solana": "^0.6.10",
|
|
102
|
+
"@tuwaio/satellite-react": "^0.4.1",
|
|
103
|
+
"@tuwaio/satellite-solana": "^0.4.1",
|
|
104
|
+
"@tuwaio/siwx-solana": "^0.1.0"
|
|
99
105
|
},
|
|
100
106
|
"peerDependencies": {
|
|
101
|
-
"@tuwaio/nova-connect": ">=0.
|
|
107
|
+
"@tuwaio/nova-connect": ">=0.5.0",
|
|
102
108
|
"@wallet-standard/app": "1.1.x",
|
|
103
109
|
"@wallet-standard/base": "1.1.x",
|
|
104
110
|
"@wallet-standard/core": "1.x.x",
|
|
@@ -107,10 +113,10 @@
|
|
|
107
113
|
"@wallet-standard/ui": "1.x.x",
|
|
108
114
|
"@wallet-standard/ui-registry": "1.x.x",
|
|
109
115
|
"gill": ">=0.14",
|
|
110
|
-
"@tuwaio/sdk": "^0.
|
|
116
|
+
"@tuwaio/sdk": "^0.1.1"
|
|
111
117
|
},
|
|
112
118
|
"devDependencies": {
|
|
113
|
-
"@tuwaio/nova-connect": "^0.
|
|
119
|
+
"@tuwaio/nova-connect": "^0.5.0",
|
|
114
120
|
"@wallet-standard/app": "^1.1.1",
|
|
115
121
|
"@wallet-standard/base": "^1.1.1",
|
|
116
122
|
"@wallet-standard/core": "^1.1.2",
|
|
@@ -121,7 +127,7 @@
|
|
|
121
127
|
"gill": "^0.14.0",
|
|
122
128
|
"tsup": "^8.5.1",
|
|
123
129
|
"typescript": "^6.0.3",
|
|
124
|
-
"@tuwaio/sdk": "^0.
|
|
130
|
+
"@tuwaio/sdk": "^0.1.1"
|
|
125
131
|
},
|
|
126
132
|
"scripts": {
|
|
127
133
|
"start": "tsup --watch",
|