@tuwaio/solana-sdk 0.0.7 → 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 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
 
@@ -2,3 +2,4 @@ export * from '@tuwaio/nova-connect/solana';
2
2
  import '@tuwaio/orbit-solana';
3
3
  import '@tuwaio/pulsar-solana';
4
4
  import '@tuwaio/satellite-solana';
5
+ import '@tuwaio/siwx-solana';
@@ -2,3 +2,4 @@ export * from '@tuwaio/nova-connect/solana';
2
2
  import '@tuwaio/orbit-solana';
3
3
  import '@tuwaio/pulsar-solana';
4
4
  import '@tuwaio/satellite-solana';
5
+ import '@tuwaio/siwx-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]}})});
@@ -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.0.7",
3
+ "version": "0.1.0",
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 state watchers.",
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,12 @@
94
98
  ],
95
99
  "dependencies": {
96
100
  "@tuwaio/orbit-solana": "^0.2.13",
97
- "@tuwaio/pulsar-solana": "^0.6.9",
98
- "@tuwaio/satellite-solana": "^0.3.12"
101
+ "@tuwaio/pulsar-solana": "^0.6.10",
102
+ "@tuwaio/satellite-solana": "^0.4.0",
103
+ "@tuwaio/siwx-solana": "^0.1.0"
99
104
  },
100
105
  "peerDependencies": {
101
- "@tuwaio/nova-connect": ">=0.4.9",
106
+ "@tuwaio/nova-connect": ">=0.5.0",
102
107
  "@wallet-standard/app": "1.1.x",
103
108
  "@wallet-standard/base": "1.1.x",
104
109
  "@wallet-standard/core": "1.x.x",
@@ -107,10 +112,10 @@
107
112
  "@wallet-standard/ui": "1.x.x",
108
113
  "@wallet-standard/ui-registry": "1.x.x",
109
114
  "gill": ">=0.14",
110
- "@tuwaio/sdk": "^0.0.8"
115
+ "@tuwaio/sdk": "^0.1.0"
111
116
  },
112
117
  "devDependencies": {
113
- "@tuwaio/nova-connect": "^0.4.11",
118
+ "@tuwaio/nova-connect": "^0.5.0",
114
119
  "@wallet-standard/app": "^1.1.1",
115
120
  "@wallet-standard/base": "^1.1.1",
116
121
  "@wallet-standard/core": "^1.1.2",
@@ -121,7 +126,7 @@
121
126
  "gill": "^0.14.0",
122
127
  "tsup": "^8.5.1",
123
128
  "typescript": "^6.0.3",
124
- "@tuwaio/sdk": "^0.0.8"
129
+ "@tuwaio/sdk": "^0.1.0"
125
130
  },
126
131
  "scripts": {
127
132
  "start": "tsup --watch",