@tuwaio/evm-sdk 0.0.9 → 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 +17 -11
package/README.md
CHANGED
|
@@ -19,9 +19,13 @@ It securely wraps `viem` and `@wagmi/core`, providing standardized adapters for
|
|
|
19
19
|
|
|
20
20
|
- **⛓️ EVM Native**: Full support for Wagmi config creation, Viem transports, and injected connectors.
|
|
21
21
|
- **🌐 Ecosystem Adapters**: Packages OrbitEVM, PulsarEVM, SatelliteEVM, and EVMConnectorsWatcher under unified subpaths.
|
|
22
|
-
- **⚡ Subpath Architecture**: Clean subpath imports (`@tuwaio/evm-sdk/satellite`, `@tuwaio/evm-sdk/pulsar`, `@tuwaio/evm-sdk/orbit`, `@tuwaio/evm-sdk/nova-connect`).
|
|
22
|
+
- **⚡ Subpath Architecture**: Clean subpath imports (`@tuwaio/evm-sdk/satellite`, `@tuwaio/evm-sdk/pulsar`, `@tuwaio/evm-sdk/orbit`, `@tuwaio/evm-sdk/nova-connect`, `@tuwaio/evm-sdk/siwx`).
|
|
23
23
|
- **🧩 Zero UI Bloat**: Focuses strictly on connection logic and transaction processing adapters.
|
|
24
24
|
- **🔄 State Sync & Watchers**: Includes background watchers (`EVMConnectorsWatcher`) that automatically sync Wagmi state with Satellite's unified store.
|
|
25
|
+
- **🔐 Headless SIWX Auth**: Provides the EVM-native message signer (`createEvmSiwxSigner`) for seamless CAIP-122 authentication (`@tuwaio/evm-sdk/siwx`).
|
|
26
|
+
|
|
27
|
+
> [!WARNING]
|
|
28
|
+
> **SIWE Deprecation Notice**: Legacy SIWE authorization flows in Satellite are **deprecated**. Migrate to `@tuwaio/evm-sdk/siwx` (`createEvmSiwxSigner`) and `@tuwaio/sdk/siwx/server` for multi-chain CAIP-122 authentication.
|
|
25
29
|
|
|
26
30
|
---
|
|
27
31
|
|
|
@@ -218,6 +222,7 @@ export function SwapButton() {
|
|
|
218
222
|
- **`@tuwaio/evm-sdk/pulsar`** — EVM Pulsar adapter (`pulsarEvmAdapter`).
|
|
219
223
|
- **`@tuwaio/evm-sdk/orbit`** — EVM Orbit helpers & types.
|
|
220
224
|
- **`@tuwaio/evm-sdk/nova-connect`** — EVM React watcher component (`EVMConnectorsWatcher`).
|
|
225
|
+
- **`@tuwaio/evm-sdk/siwx`** — EVM CAIP-122 signer adapter (`createEvmSiwxSigner`).
|
|
221
226
|
|
|
222
227
|
---
|
|
223
228
|
|
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 satelliteEvm=require('@tuwaio/satellite-evm');Object.keys(satelliteEvm).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return satelliteEvm[k]}})});
|
|
1
|
+
'use strict';require('@tuwaio/satellite-react/evm');var satelliteEvm=require('@tuwaio/satellite-evm');Object.keys(satelliteEvm).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return satelliteEvm[k]}})});
|
package/dist/satellite.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export*from'@tuwaio/satellite-evm';
|
|
1
|
+
import'@tuwaio/satellite-react/evm';export*from'@tuwaio/satellite-evm';
|
package/dist/siwx.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';var siwxEvm=require('@tuwaio/siwx-evm');Object.keys(siwxEvm).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return siwxEvm[k]}})});
|
package/dist/siwx.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@tuwaio/siwx-evm';
|
package/dist/siwx.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@tuwaio/siwx-evm';
|
package/dist/siwx.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export*from'@tuwaio/siwx-evm';
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuwaio/evm-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 EVM Network Adapter SDK providing Wagmi/Viem transports and
|
|
7
|
+
"description": "Layer 9 (L9) of the TUWA Ecosystem. The EVM Network Adapter SDK providing Wagmi/Viem 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",
|
|
@@ -93,23 +97,25 @@
|
|
|
93
97
|
}
|
|
94
98
|
],
|
|
95
99
|
"dependencies": {
|
|
96
|
-
"@tuwaio/orbit-evm": "^0.2.
|
|
97
|
-
"@tuwaio/pulsar-evm": "^0.5.
|
|
98
|
-
"@tuwaio/satellite-evm": "^0.
|
|
100
|
+
"@tuwaio/orbit-evm": "^0.2.22",
|
|
101
|
+
"@tuwaio/pulsar-evm": "^0.5.10",
|
|
102
|
+
"@tuwaio/satellite-evm": "^0.4.1",
|
|
103
|
+
"@tuwaio/satellite-react": "^0.4.1",
|
|
104
|
+
"@tuwaio/siwx-evm": "^0.1.0"
|
|
99
105
|
},
|
|
100
106
|
"peerDependencies": {
|
|
101
|
-
"@tuwaio/nova-connect": ">=0.
|
|
107
|
+
"@tuwaio/nova-connect": ">=0.5.0",
|
|
102
108
|
"@wagmi/core": "3.x.x",
|
|
103
109
|
"viem": "2.x.x",
|
|
104
|
-
"@tuwaio/sdk": "^0.
|
|
110
|
+
"@tuwaio/sdk": "^0.1.1"
|
|
105
111
|
},
|
|
106
112
|
"devDependencies": {
|
|
107
|
-
"@tuwaio/nova-connect": "^0.
|
|
113
|
+
"@tuwaio/nova-connect": "^0.5.0",
|
|
108
114
|
"@wagmi/core": "^3.6.4",
|
|
109
115
|
"tsup": "^8.5.1",
|
|
110
116
|
"typescript": "^6.0.3",
|
|
111
|
-
"viem": "^2.55.
|
|
112
|
-
"@tuwaio/sdk": "^0.
|
|
117
|
+
"viem": "^2.55.11",
|
|
118
|
+
"@tuwaio/sdk": "^0.1.1"
|
|
113
119
|
},
|
|
114
120
|
"scripts": {
|
|
115
121
|
"start": "tsup --watch",
|