@tuwaio/solana-sdk 0.1.15 → 0.2.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 +38 -206
- package/dist/nova-connect.cjs +1 -1
- package/dist/nova-connect.d.cts +1 -1
- package/dist/nova-connect.d.ts +1 -1
- package/dist/nova-connect.js +1 -1
- package/package.json +12 -39
package/README.md
CHANGED
|
@@ -1,250 +1,82 @@
|
|
|
1
1
|
# @tuwaio/solana-sdk
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@tuwaio/solana-sdk)
|
|
4
|
-
[](
|
|
4
|
+
[](https://github.com/TuwaIO/sdk/blob/main/packages/solana-sdk/LICENSE)
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
`@tuwaio/solana-sdk` is the Solana add-on (Layer 9, L9) of [`@tuwaio/sdk`](https://sdk.docs.tuwa.io/packages/sdk). It re-exports the Solana packages of the TUWA projects under subpaths — Orbit Utils, Satellite Connect, Pulsar, SIWX and Nova Connect — built on [`@solana/kit`](https://github.com/anza-xyz/kit) and the [Wallet Standard](https://github.com/wallet-standard/wallet-standard), without `@solana/web3.js`. An app with Solana wallets installs `@tuwaio/sdk` and this package; nothing of it is loaded in an EVM-only app.
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
-
## 🏛️
|
|
10
|
+
## 🏛️ Core Capabilities
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
## ✨ Key Features
|
|
19
|
-
|
|
20
|
-
- **🪙 Solana Native**: Built entirely on Wallet Standard to ensure maximum forward compatibility.
|
|
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`, `@tuwaio/solana-sdk/siwx`).
|
|
23
|
-
- **🧩 Zero UI Bloat**: Focuses strictly on connection logic, standard wallet features, and transaction tracking adapters.
|
|
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
|
-
> **SIWX Migration 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.
|
|
12
|
+
- **Chain packages in one install:** `@tuwaio/orbit-solana`, `@tuwaio/satellite-solana`, `@tuwaio/pulsar-solana` and `@tuwaio/siwx-solana` are dependencies, pinned to versions that work with the same release of `@tuwaio/sdk`.
|
|
13
|
+
- **Nova Connect for Solana:** importing `@tuwaio/solana-sdk/nova-connect` registers the Solana chain helpers of `@tuwaio/orbit-solana` for the chain lists of Nova Connect, types `solanaRPCUrls` of `NovaConnectProvider` with the cluster monikers (`mainnet`, `devnet`, `testnet`) and adds the Solana connection types to Satellite Connect. It goes through `@tuwaio/sdk/nova-connect/solana`, so this applies to the `NovaConnectProvider` and `SatelliteConnectProvider` that `@tuwaio/sdk` exports.
|
|
14
|
+
- **Subpaths:** every subpath re-exports one package, unchanged. Its reference is on the site of that package.
|
|
29
15
|
|
|
30
16
|
---
|
|
31
17
|
|
|
32
18
|
## 💾 Installation
|
|
33
19
|
|
|
34
|
-
Install this package alongside the core SDK and the required Web3 singletons:
|
|
35
|
-
|
|
36
20
|
```bash
|
|
37
|
-
pnpm add @tuwaio/sdk @tuwaio/solana-sdk @solana/kit @wallet-standard/react @wallet-standard/app @wallet-standard/base @wallet-standard/features
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
---
|
|
41
|
-
|
|
42
|
-
## 🚀 Quick Start (Solana Integration)
|
|
43
|
-
|
|
44
|
-
To cleanly integrate Solana wallets and transaction tracking with TUWA, you should adopt a modular architecture. Below is the recommended implementation pattern using subpath imports.
|
|
45
|
-
|
|
46
|
-
> **Note:** This example uses standard client-side state. For Quasar Cloud syncing and server-side tracking, see the full-stack guide in the core `@tuwaio/sdk` documentation.
|
|
47
|
-
|
|
48
|
-
### 1. Define Transaction Types (`types.ts`)
|
|
49
|
-
|
|
50
|
-
```ts
|
|
51
|
-
// src/types.ts
|
|
52
|
-
import type { Transaction } from '@tuwaio/sdk/pulsar';
|
|
53
|
-
|
|
54
|
-
export enum AppTxType {
|
|
55
|
-
SWAP = 'SWAP',
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export type SwapTx = Transaction & {
|
|
59
|
-
type: AppTxType.SWAP;
|
|
60
|
-
payload: { tokenIn: string; tokenOut: string; amount: number };
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
export type TransactionUnion = SwapTx;
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
### 2. Tracking Store (`usePulsarStore.ts`)
|
|
67
|
-
|
|
68
|
-
Create a headless tracking store specifically for Solana transactions.
|
|
69
|
-
|
|
70
|
-
```ts
|
|
71
|
-
// src/hooks/usePulsarStore.ts
|
|
72
|
-
'use client';
|
|
73
|
-
|
|
74
|
-
import { createPulsarStore, createBoundedUseStore } from '@tuwaio/sdk/pulsar';
|
|
75
|
-
import { pulsarSolanaAdapter } from '@tuwaio/solana-sdk/pulsar';
|
|
76
|
-
import { solanaRPCUrls } from '@/configs/appConfig';
|
|
77
|
-
import { TransactionUnion } from '@/types';
|
|
78
|
-
|
|
79
|
-
const initialStore = createPulsarStore<TransactionUnion>({
|
|
80
|
-
name: 'tuwa-transactions-solana',
|
|
81
|
-
adapter: [pulsarSolanaAdapter({ rpcUrls: solanaRPCUrls })],
|
|
82
|
-
});
|
|
83
|
-
|
|
84
|
-
export const usePulsarStore = createBoundedUseStore(initialStore);
|
|
21
|
+
pnpm add @tuwaio/sdk @tuwaio/solana-sdk @solana/kit @wallet-standard/react @wallet-standard/app @wallet-standard/base @wallet-standard/features @wallet-standard/ui @wallet-standard/ui-registry react react-dom
|
|
85
22
|
```
|
|
86
23
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
Binds the React UI elements to the headless transaction state.
|
|
90
|
-
|
|
91
|
-
```tsx
|
|
92
|
-
// src/providers/NovaTransactionsProvider.tsx
|
|
93
|
-
'use client';
|
|
94
|
-
|
|
95
|
-
import { useSatelliteConnectStore } from '@tuwaio/sdk/satellite';
|
|
96
|
-
import { useInitializeTransactionsPool } from '@tuwaio/sdk/pulsar';
|
|
97
|
-
import { getAdapterFromConnectorType } from '@tuwaio/sdk/orbit';
|
|
98
|
-
import { NovaTransactionsProvider as NTP } from '@tuwaio/sdk/nova-transactions/providers';
|
|
99
|
-
import { usePulsarStore } from '@/hooks/usePulsarStore';
|
|
100
|
-
|
|
101
|
-
export function NovaTransactionsProvider() {
|
|
102
|
-
const initialTx = usePulsarStore((s) => s.initialTx);
|
|
103
|
-
const closeTxTrackedModal = usePulsarStore((s) => s.closeTxTrackedModal);
|
|
104
|
-
const executeTxAction = usePulsarStore((s) => s.executeTxAction);
|
|
105
|
-
const initializeTransactionsPool = usePulsarStore((s) => s.initializeTransactionsPool);
|
|
106
|
-
const getAdapter = usePulsarStore((s) => s.getAdapter);
|
|
107
|
-
const transactionsPool = usePulsarStore((s) => s.transactionsPool);
|
|
24
|
+
Peer dependencies: `@tuwaio/sdk` (the same release line), `@solana/kit` (>=8.2), the Wallet Standard packages above (1.x) and `@tuwaio/satellite-core` (>=0.6, a dependency of `@tuwaio/sdk`).
|
|
108
25
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
initialTx={initialTx}
|
|
117
|
-
closeTxTrackedModal={closeTxTrackedModal}
|
|
118
|
-
executeTxAction={executeTxAction}
|
|
119
|
-
connectedWalletAddress={activeConnection?.isConnected ? activeConnection.address : undefined}
|
|
120
|
-
connectedAdapterType={getAdapterFromConnectorType(activeConnection?.connectorType ?? 'solana:')}
|
|
121
|
-
adapter={getAdapter()}
|
|
122
|
-
/>
|
|
123
|
-
);
|
|
124
|
-
}
|
|
125
|
-
```
|
|
26
|
+
| Import path | Re-exports | Reference |
|
|
27
|
+
| --------------------------------- | ----------------------------------------------------- | -------------------------------------------------------------------------------------------- |
|
|
28
|
+
| `@tuwaio/solana-sdk/orbit` | `@tuwaio/orbit-solana` | [orbit.docs.tuwa.io](https://orbit.docs.tuwa.io/packages/orbit-solana) |
|
|
29
|
+
| `@tuwaio/solana-sdk/satellite` | `@tuwaio/satellite-solana` | [satellite.docs.tuwa.io](https://satellite.docs.tuwa.io/packages/satellite-solana) |
|
|
30
|
+
| `@tuwaio/solana-sdk/pulsar` | `@tuwaio/pulsar-solana` | [pulsar.docs.tuwa.io](https://pulsar.docs.tuwa.io/packages/pulsar-solana) |
|
|
31
|
+
| `@tuwaio/solana-sdk/siwx` | `@tuwaio/siwx-solana` | [siwx.docs.tuwa.io](https://siwx.docs.tuwa.io/packages/siwx-solana) |
|
|
32
|
+
| `@tuwaio/solana-sdk/nova-connect` | `@tuwaio/nova-connect/solana` (through `@tuwaio/sdk`) | [Storybook](https://stories.tuwa.io/?path=/docs/packages-nova-connect-solana-overview--docs) |
|
|
126
33
|
|
|
127
|
-
|
|
34
|
+
---
|
|
128
35
|
|
|
129
|
-
|
|
36
|
+
## 🚀 Usage
|
|
130
37
|
|
|
131
38
|
```tsx
|
|
132
|
-
// src/providers/AppProviders.tsx
|
|
133
39
|
'use client';
|
|
134
40
|
|
|
135
|
-
import { SatelliteConnectProvider } from '@tuwaio/sdk/satellite';
|
|
136
41
|
import { NovaConnectProvider } from '@tuwaio/sdk/nova-connect';
|
|
137
|
-
import {
|
|
42
|
+
import { createPulsarStore } from '@tuwaio/sdk/pulsar';
|
|
43
|
+
import { SatelliteConnectProvider } from '@tuwaio/sdk/satellite';
|
|
138
44
|
import { SolanaConnectorsWatcher } from '@tuwaio/solana-sdk/nova-connect';
|
|
139
|
-
import {
|
|
45
|
+
import { pulsarSolanaAdapter } from '@tuwaio/solana-sdk/pulsar';
|
|
46
|
+
import { satelliteSolanaAdapter } from '@tuwaio/solana-sdk/satellite';
|
|
47
|
+
import type { ReactNode } from 'react';
|
|
140
48
|
|
|
141
|
-
|
|
142
|
-
import { usePulsarStore } from '@/hooks/usePulsarStore';
|
|
143
|
-
import { NovaTransactionsProvider } from '@/providers/NovaTransactionsProvider';
|
|
49
|
+
const solanaRPCUrls = { devnet: 'https://api.devnet.solana.com' };
|
|
144
50
|
|
|
145
|
-
export
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
51
|
+
export const pulsarStore = createPulsarStore({
|
|
52
|
+
name: 'my-app-transactions',
|
|
53
|
+
adapter: [pulsarSolanaAdapter({ rpcUrls: solanaRPCUrls })],
|
|
54
|
+
});
|
|
149
55
|
|
|
56
|
+
export function Providers({ children }: { children: ReactNode }) {
|
|
150
57
|
return (
|
|
151
|
-
<SatelliteConnectProvider adapter={
|
|
152
|
-
<SolanaConnectorsWatcher
|
|
153
|
-
|
|
154
|
-
<NovaTransactionsProvider />
|
|
155
|
-
|
|
156
|
-
<NovaConnectProvider
|
|
157
|
-
solanaRPCUrls={solanaRPCUrls}
|
|
158
|
-
transactionPool={transactionsPool}
|
|
159
|
-
pulsarAdapter={getAdapter()}
|
|
160
|
-
withImpersonated
|
|
161
|
-
withBalance
|
|
162
|
-
withChain
|
|
163
|
-
siwx={{
|
|
164
|
-
verifier: async (payload) => {
|
|
165
|
-
const res = await fetch('/api/siwx/verify', {
|
|
166
|
-
method: 'POST',
|
|
167
|
-
headers: { 'Content-Type': 'application/json' },
|
|
168
|
-
body: JSON.stringify(payload),
|
|
169
|
-
});
|
|
170
|
-
return res.ok ? res.json() : null;
|
|
171
|
-
},
|
|
172
|
-
}}
|
|
173
|
-
>
|
|
174
|
-
{children}
|
|
175
|
-
</NovaConnectProvider>
|
|
58
|
+
<SatelliteConnectProvider adapter={satelliteSolanaAdapter({ rpcUrls: solanaRPCUrls })} autoConnect>
|
|
59
|
+
<SolanaConnectorsWatcher />
|
|
60
|
+
<NovaConnectProvider solanaRPCUrls={solanaRPCUrls}>{children}</NovaConnectProvider>
|
|
176
61
|
</SatelliteConnectProvider>
|
|
177
62
|
);
|
|
178
63
|
}
|
|
179
64
|
```
|
|
180
65
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
Now you can safely execute strictly-typed transactions anywhere in your app.
|
|
184
|
-
|
|
185
|
-
```tsx
|
|
186
|
-
// src/components/SwapButton.tsx
|
|
187
|
-
'use client';
|
|
188
|
-
|
|
189
|
-
import { OrbitAdapter } from '@tuwaio/sdk/orbit';
|
|
190
|
-
import { useSatelliteConnectStore } from '@tuwaio/sdk/satellite';
|
|
191
|
-
import { TxActionButton } from '@tuwaio/sdk/nova-transactions';
|
|
192
|
-
import { usePulsarStore } from '@/hooks/usePulsarStore';
|
|
193
|
-
import { AppTxType } from '@/types';
|
|
194
|
-
|
|
195
|
-
export function SwapButton() {
|
|
196
|
-
const executeTxAction = usePulsarStore((s) => s.executeTxAction);
|
|
197
|
-
const getLastTxKey = usePulsarStore((s) => s.getLastTxKey);
|
|
198
|
-
const transactionsPool = usePulsarStore((s) => s.transactionsPool);
|
|
199
|
-
const activeConnection = useSatelliteConnectStore((s) => s.activeConnection);
|
|
200
|
-
|
|
201
|
-
const handleSwapAction = async () => {
|
|
202
|
-
await executeTxAction({
|
|
203
|
-
actionFunction: async () => {
|
|
204
|
-
/* solana web3 contract call */
|
|
205
|
-
},
|
|
206
|
-
params: {
|
|
207
|
-
adapter: OrbitAdapter.SOLANA,
|
|
208
|
-
type: AppTxType.SWAP,
|
|
209
|
-
title: 'Token Swap',
|
|
210
|
-
payload: { tokenIn: 'USDC', tokenOut: 'SOL', amount: 100 },
|
|
211
|
-
},
|
|
212
|
-
});
|
|
213
|
-
};
|
|
214
|
-
|
|
215
|
-
return (
|
|
216
|
-
<TxActionButton
|
|
217
|
-
action={handleSwapAction}
|
|
218
|
-
getLastTxKey={getLastTxKey}
|
|
219
|
-
transactionsPool={transactionsPool}
|
|
220
|
-
walletAddress={activeConnection?.address}
|
|
221
|
-
>
|
|
222
|
-
Execute Solana Swap
|
|
223
|
-
</TxActionButton>
|
|
224
|
-
);
|
|
225
|
-
}
|
|
226
|
-
```
|
|
66
|
+
The public `api.*.solana.com` endpoints are rate-limited; pass your own RPC URLs in production. The complete app, with EVM, Nova Transactions, SIWX and Quasar, is the **[Full-Stack React guide](https://docs.tuwa.io/guides/full-stack-react)**.
|
|
227
67
|
|
|
228
68
|
---
|
|
229
69
|
|
|
230
|
-
##
|
|
70
|
+
## 🗄️ Browser Storage
|
|
231
71
|
|
|
232
|
-
|
|
233
|
-
- **`@tuwaio/solana-sdk/pulsar`** — Solana Pulsar adapter (`pulsarSolanaAdapter`).
|
|
234
|
-
- **`@tuwaio/solana-sdk/orbit`** — Solana Orbit helpers & types.
|
|
235
|
-
- **`@tuwaio/solana-sdk/nova-connect`** — Solana React watcher component (`SolanaConnectorsWatcher`).
|
|
236
|
-
- **`@tuwaio/solana-sdk/siwx`** — Solana CAIP-122 signer adapter (`createSolanaSiwxSigner`).
|
|
72
|
+
`@tuwaio/solana-sdk` saves nothing itself. The Solana packages use the `localStorage` keys of Satellite Connect and Pulsar, listed on the [`@tuwaio/sdk`](https://sdk.docs.tuwa.io/packages/sdk) page; `@tuwaio/pulsar-solana` reads the last connection to find the connected wallet and its cluster. RPC URLs are kept in memory only.
|
|
237
73
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
## 🤝 Contributing & Support
|
|
74
|
+
## 🌐 External Services
|
|
241
75
|
|
|
242
|
-
|
|
76
|
+
`@tuwaio/solana-sdk` sends no requests itself. The re-exported packages contact your `rpcUrls` (or the public endpoint of the cluster) for balances and signature tracking, and `sns-api.bonfida.com` and `image-api.bonfida.com` for SNS names and avatars; wallets are reached through the Wallet Standard. Each package page lists the hosts: [satellite-solana](https://satellite.docs.tuwa.io/packages/satellite-solana), [pulsar-solana](https://pulsar.docs.tuwa.io/packages/pulsar-solana), [orbit-solana](https://orbit.docs.tuwa.io/packages/orbit-solana), [siwx-solana](https://siwx.docs.tuwa.io/packages/siwx-solana).
|
|
243
77
|
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
[**➡️ View Support Options**](https://github.com/TuwaIO/workflows/blob/main/Donation.md)
|
|
78
|
+
---
|
|
247
79
|
|
|
248
80
|
## 📄 License
|
|
249
81
|
|
|
250
|
-
|
|
82
|
+
Licensed under the **Apache-2.0 License**. See the [LICENSE](https://github.com/TuwaIO/sdk/blob/main/packages/solana-sdk/LICENSE) file for details.
|
package/dist/nova-connect.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var solana=require('@tuwaio/nova-connect/solana');Object.keys(solana).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return solana[k]}})});
|
|
1
|
+
'use strict';var solana=require('@tuwaio/sdk/nova-connect/solana');Object.keys(solana).forEach(function(k){if(k!=='default'&&!Object.prototype.hasOwnProperty.call(exports,k))Object.defineProperty(exports,k,{enumerable:true,get:function(){return solana[k]}})});
|
package/dist/nova-connect.d.cts
CHANGED
package/dist/nova-connect.d.ts
CHANGED
package/dist/nova-connect.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export*from'@tuwaio/nova-connect/solana';
|
|
1
|
+
export*from'@tuwaio/sdk/nova-connect/solana';
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuwaio/solana-sdk",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.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
|
|
7
|
+
"description": "Layer 9 (L9) of the TUWA Ecosystem. The Solana add-on of @tuwaio/sdk: re-exports the Solana packages of Orbit, Pulsar, Satellite Connect, SIWX and Nova Connect under subpaths.",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
10
10
|
"./orbit": {
|
|
@@ -43,43 +43,22 @@
|
|
|
43
43
|
"keywords": [
|
|
44
44
|
"tuwa",
|
|
45
45
|
"web3",
|
|
46
|
-
"evm",
|
|
47
|
-
"ethereum",
|
|
48
46
|
"solana",
|
|
49
|
-
"wagmi",
|
|
50
|
-
"viem",
|
|
51
47
|
"@solana/kit",
|
|
52
48
|
"wallet-standard",
|
|
53
49
|
"wallet",
|
|
54
|
-
"wallet-connect",
|
|
55
50
|
"wallets",
|
|
56
51
|
"transaction",
|
|
57
52
|
"tracking",
|
|
58
53
|
"transaction-tracking",
|
|
59
54
|
"react",
|
|
60
|
-
"ui",
|
|
61
|
-
"ui-kit",
|
|
62
|
-
"design-system",
|
|
63
55
|
"hooks",
|
|
64
56
|
"utils",
|
|
65
|
-
"components",
|
|
66
|
-
"tailwind",
|
|
67
|
-
"tailwindcss",
|
|
68
57
|
"typescript",
|
|
69
58
|
"core",
|
|
70
59
|
"headless",
|
|
71
|
-
"zustand",
|
|
72
|
-
"immer",
|
|
73
|
-
"i18n",
|
|
74
|
-
"modal",
|
|
75
|
-
"toast",
|
|
76
|
-
"quasar",
|
|
77
|
-
"cloud",
|
|
78
60
|
"sdk",
|
|
79
|
-
"
|
|
80
|
-
"cosmos",
|
|
81
|
-
"playground",
|
|
82
|
-
"cli"
|
|
61
|
+
"siwx"
|
|
83
62
|
],
|
|
84
63
|
"repository": {
|
|
85
64
|
"type": "git",
|
|
@@ -97,19 +76,16 @@
|
|
|
97
76
|
}
|
|
98
77
|
],
|
|
99
78
|
"dependencies": {
|
|
100
|
-
"@tuwaio/orbit-solana": "^0.3.
|
|
101
|
-
"@tuwaio/pulsar-solana": "^0.
|
|
102
|
-
"@tuwaio/satellite-solana": "^0.
|
|
103
|
-
"@tuwaio/siwx-solana": "^0.
|
|
79
|
+
"@tuwaio/orbit-solana": "^0.3.3",
|
|
80
|
+
"@tuwaio/pulsar-solana": "^0.8.3",
|
|
81
|
+
"@tuwaio/satellite-solana": "^0.6.1",
|
|
82
|
+
"@tuwaio/siwx-solana": "^0.4.2"
|
|
104
83
|
},
|
|
105
84
|
"peerDependencies": {
|
|
106
|
-
"@tuwaio/sdk": "^0.
|
|
107
|
-
"@tuwaio/
|
|
108
|
-
"@tuwaio/satellite-core": ">=0.5",
|
|
109
|
-
"@tuwaio/satellite-react": ">=0.5",
|
|
85
|
+
"@tuwaio/sdk": "^0.2.2",
|
|
86
|
+
"@tuwaio/satellite-core": ">=0.6",
|
|
110
87
|
"@wallet-standard/app": "1.1.x",
|
|
111
88
|
"@wallet-standard/base": "1.1.x",
|
|
112
|
-
"@wallet-standard/core": "1.x.x",
|
|
113
89
|
"@wallet-standard/features": "1.1.x",
|
|
114
90
|
"@wallet-standard/react": "1.x.x",
|
|
115
91
|
"@wallet-standard/ui": "1.x.x",
|
|
@@ -117,18 +93,15 @@
|
|
|
117
93
|
"@solana/kit": ">=8.2"
|
|
118
94
|
},
|
|
119
95
|
"devDependencies": {
|
|
120
|
-
"@tuwaio/
|
|
121
|
-
"@tuwaio/
|
|
122
|
-
"@tuwaio/satellite-react": "^0.5.0",
|
|
123
|
-
"@tuwaio/sdk": "^0.1.14",
|
|
96
|
+
"@tuwaio/satellite-core": "^0.6.2",
|
|
97
|
+
"@tuwaio/sdk": "^0.2.2",
|
|
124
98
|
"@wallet-standard/app": "^1.1.1",
|
|
125
99
|
"@wallet-standard/base": "^1.1.1",
|
|
126
|
-
"@wallet-standard/core": "^1.1.2",
|
|
127
100
|
"@wallet-standard/features": "^1.1.1",
|
|
128
101
|
"@wallet-standard/react": "^1.0.3",
|
|
129
102
|
"@wallet-standard/ui": "^1.0.3",
|
|
130
103
|
"@wallet-standard/ui-registry": "^1.1.1",
|
|
131
|
-
"@solana/kit": "^8.
|
|
104
|
+
"@solana/kit": "^8.4.0",
|
|
132
105
|
"tsup": "^8.5.1",
|
|
133
106
|
"typescript": "6.0.3"
|
|
134
107
|
},
|