@mysten/slush-wallet 1.0.2 β†’ 1.0.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @mysten/slush-wallet
2
2
 
3
+ ## 1.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 43e69f8: Add embedded LLM-friendly docs to published packages
8
+ - Updated dependencies [43e69f8]
9
+ - Updated dependencies [e51dc5d]
10
+ - Updated dependencies [a7237ff]
11
+ - @mysten/sui@2.8.0
12
+ - @mysten/window-wallet-core@0.1.4
13
+ - @mysten/wallet-standard@0.20.1
14
+
3
15
  ## 1.0.2
4
16
 
5
17
  ### Patch Changes
package/docs/dapp.md ADDED
@@ -0,0 +1,93 @@
1
+ # dApp Integration
2
+
3
+ > Connect your dApp to Slush Wallet
4
+
5
+ > **Note:** If you are using `dapp-kit`, you do not need to install any additional packages to
6
+ > integrate with the Slush wallet. [Read how to integrate with dapp-kit.](/dapp-kit/legacy/slush)
7
+
8
+ Using the Slush Wallet SDK, you can allow users to connect to the Slush wallet from your dApp. The
9
+ wallet is provided through the [Wallet Standard](https://docs.sui.io/standards/wallet-standard), and
10
+ should appear automatically in your existing wallet connection UI.
11
+
12
+ > The Slush Wallet SDK is only needed if you want to support the Slush web wallet in your dApp. If
13
+ > you want to integrate with the Slush browser extension or native mobile wallet, you do not need to
14
+ > install any additional packages - they will work automatically through the Wallet Standard.
15
+
16
+ ## Setup
17
+
18
+ To use the Slush web wallet, you will need to register it in your application, using
19
+ `registerSlushWallet`. This only needs to be done once, and should be done as early as possible in
20
+ your application's lifecycle.
21
+
22
+ `registerSlushWallet` takes two arguments:
23
+
24
+ - `name`: The name of your dApp. This will be shown to the user when they are asked to approve the
25
+ connection in Slush.
26
+ - `options`: An optional object with the following properties:
27
+ - `origin`: The origin of the Slush website. Defaults to `https://[TODO]`.
28
+ - `network`: The network that you would like the Slush wallet to use. Defaults to `mainnet`,
29
+ supports `mainnet` and `testnet`.
30
+
31
+ ```ts
32
+ registerSlushWallet('Your dApp Name');
33
+ ```
34
+
35
+ ## Supported features
36
+
37
+ The Slush wallet currently supports the following features:
38
+
39
+ - `signTransaction`
40
+ - `signAndExecuteTransaction`
41
+ - `signPersonalMessage`
42
+
43
+ ## Detecting the Slush wallet
44
+
45
+ If you'd like to detect whether the user is connected to the Slush wallet, you can use the `id` or
46
+ `name` property on the wallet
47
+
48
+ For example, if you are using `dapp-kit`, you can use the `useCurrentWallet` hook to get the current
49
+ wallet, and check if it is the Slush wallet.
50
+
51
+ ```ts
52
+ function SlushOnly() {
53
+ const { currentWallet } = useCurrentWallet();
54
+ const walletIsSlushWallet = currentWallet?.name === SLUSH_WALLET_NAME;
55
+
56
+ // rest of component logic...
57
+ }
58
+ ```
59
+
60
+ # Migration from Stashed Wallet -> Slush Wallet
61
+
62
+ If you're currently using `@mysten/zksend`'s `registerStashedWallet` directly, you should migrate to
63
+ the `@mysten/slush-wallet` package to ensure compatibility with the new Slush experience.
64
+
65
+ ## πŸš€ Installation
66
+
67
+ ```bash
68
+ pnpm install @mysten/slush-wallet
69
+ ```
70
+
71
+ ## πŸ” Migration
72
+
73
+ If you're using `registerStashedWallet`, switch to `registerSlushWallet`:
74
+
75
+ **Before:**
76
+
77
+ ```ts
78
+
79
+ registerStashedWallet(...);
80
+ ```
81
+
82
+ **After:**
83
+
84
+ ```ts
85
+
86
+ registerSlushWallet(...);
87
+ ```
88
+
89
+ If you're using dapp-kit, update to the latest dapp-kit version and change the `stashedWallet` prop
90
+ on WalletProvider to `slushWallet`
91
+
92
+ > Note: In the connect modal, users with the Slush Wallet extension installed will only see the
93
+ > extension. If they don’t have it, the connection will default to the Slush web app.
@@ -0,0 +1,465 @@
1
+ # Deep Linking
2
+
3
+ > Deep linking configuration for Slush Wallet
4
+
5
+ Deep linking allows external applications, websites, and services to open Slush directly to specific
6
+ screens or trigger specific actions. This enables seamless integrations where users can be directed
7
+ into the wallet to perform actions like swapping tokens, claiming assets, or browsing dApps.
8
+
9
+ ## Overview
10
+
11
+ Slush supports two types of deep linking:
12
+
13
+ 1. **Custom URL Schemes** - Direct links using `slush://` (mobile app only)
14
+ 2. **Universal Links & App Links** - HTTPS links that work across mobile and desktop
15
+
16
+ > **Note:** For most integrations, use `my.slush.app` HTTPS links. They work on iOS, Android, and
17
+ > desktop browsers, opening the native app when installed or falling back to the web app.
18
+
19
+ > **Warning:** Deep linking is not currently supported for the Slush browser extension.
20
+
21
+ > **Warning:** Always URL-encode parameter values, especially token type addresses which contain
22
+ > special characters like colons (`:`). See [URL Encode Parameters](#url-encode-parameters) for
23
+ > examples.
24
+
25
+ ## URL Schemes
26
+
27
+ Slush registers a custom URL scheme:
28
+
29
+ | Scheme | Description |
30
+ | ---------- | ----------------------------------- |
31
+ | `slush://` | Primary scheme for the Slush wallet |
32
+
33
+ ### Basic Format
34
+
35
+ ```
36
+ slush://<path>?<parameters>
37
+ ```
38
+
39
+ ### Examples
40
+
41
+ ```
42
+ slush://swap?fromCoinType=0x2::sui::SUI
43
+ slush://browse/https://app.example.com
44
+ ```
45
+
46
+ ## Universal Links & App Links
47
+
48
+ Slush responds to HTTPS links (Universal Links on iOS, App Links on Android) from the following
49
+ domains:
50
+
51
+ | Domain | Supported Paths |
52
+ | -------------- | -------------------------------------------- |
53
+ | `my.slush.app` | `/browse/*`, `/claim/*`, `/swap/*`, `/pay/*` |
54
+
55
+ ### Cross-Platform Behavior
56
+
57
+ The `my.slush.app` domain is recommended because it works across all platforms:
58
+
59
+ | Environment | Behavior |
60
+ | -------------------------- | -------------------------------------------------- |
61
+ | Mobile (app installed) | Opens directly in the Slush native app |
62
+ | Mobile (app not installed) | Opens in the mobile browser with the Slush web app |
63
+ | Desktop browser | Opens the Slush web app |
64
+
65
+ > **Note:** Unlike custom URL schemes (`slush://`), `my.slush.app` links never fail - they always
66
+ > open either the native app or the web app, ensuring users can complete their intended action.
67
+
68
+ ### Examples
69
+
70
+ ```
71
+ # Opens dApp browser - works on mobile and desktop
72
+ https://my.slush.app/browse/https://app.turbos.finance
73
+
74
+ # Opens claim flow - works on mobile and desktop
75
+ https://my.slush.app/claim?claimUrl=abc123xyz
76
+ ```
77
+
78
+ ## Supported Routes
79
+
80
+ ### dApp Browser
81
+
82
+ Open the in-app browser to load a specific URL:
83
+
84
+ | Route | Description |
85
+ | ------------- | ------------------------------- |
86
+ | `browse/:url` | Opens a URL in the dApp browser |
87
+
88
+ **Parameters:**
89
+
90
+ | Parameter | Type | Required | Description |
91
+ | --------- | ------ | -------- | ------------------------------- |
92
+ | `url` | string | Yes | Full URL to load in the browser |
93
+
94
+ **Examples:**
95
+
96
+ ```
97
+ slush://browse/https://app.turbos.finance
98
+ https://my.slush.app/browse/https://app.cetus.zone
99
+ ```
100
+
101
+ > The URL must be a complete, valid URL including the protocol (e.g., `https://`).
102
+
103
+ ### Token Swap
104
+
105
+ Open the token swap screen with optional pre-filled values:
106
+
107
+ | Route | Description |
108
+ | ------ | ------------------------ |
109
+ | `swap` | Opens the swap interface |
110
+
111
+ **Parameters:**
112
+
113
+ | Parameter | Type | Required | Description |
114
+ | -------------- | ------ | -------- | ------------------------------------------- |
115
+ | `fromCoinType` | string | No | Source token type address (defaults to SUI) |
116
+ | `toCoinType` | string | No | Destination token type address |
117
+ | `presetAmount` | string | No | Pre-filled amount to swap |
118
+
119
+ **Examples:**
120
+
121
+ ```
122
+ # Open swap with SUI as source
123
+ slush://swap
124
+
125
+ # Pre-fill swap from SUI to USDC
126
+ slush://swap?fromCoinType=0x2::sui::SUI&toCoinType=0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC
127
+
128
+ # Pre-fill swap amount
129
+ slush://swap?fromCoinType=0x2::sui::SUI&presetAmount=100
130
+ ```
131
+
132
+ ### Claim Assets
133
+
134
+ Open the claim screen to receive stashed or gifted tokens:
135
+
136
+ | Route | Description |
137
+ | ------- | ------------------------- |
138
+ | `claim` | Opens the claim interface |
139
+
140
+ **Parameters:**
141
+
142
+ | Parameter | Type | Required | Description |
143
+ | ---------- | ------ | -------- | ---------------------------------------- |
144
+ | `claimUrl` | string | Yes | Full claim URL from zkSend or Getstashed |
145
+
146
+ **Examples:**
147
+
148
+ ```
149
+ slush://claim?claimUrl=https://zksend.com/claim/abc123xyz
150
+ slush://claim?claimUrl=https://getstashed.com/claim/def456
151
+ ```
152
+
153
+ ### Token Details
154
+
155
+ View details for a specific token:
156
+
157
+ | Route | Description |
158
+ | -------- | ----------------------- |
159
+ | `tokens` | Opens token detail view |
160
+
161
+ **Parameters:**
162
+
163
+ | Parameter | Type | Required | Description |
164
+ | ---------- | ------ | -------- | ---------------------------------- |
165
+ | `coinType` | string | Yes | Full token type address to display |
166
+
167
+ **Examples:**
168
+
169
+ ```
170
+ # View SUI token details
171
+ slush://tokens?coinType=0x2::sui::SUI
172
+
173
+ # View USDC token details
174
+ slush://tokens?coinType=0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC
175
+ ```
176
+
177
+ ### Receive / QR Code
178
+
179
+ Open the receive screen to display the wallet address or scan a QR code:
180
+
181
+ | Route | Description |
182
+ | ------- | ---------------------------------- |
183
+ | `suime` | Opens receive or QR scanner screen |
184
+
185
+ **Parameters:**
186
+
187
+ | Parameter | Type | Required | Description |
188
+ | --------- | ------ | -------- | ---------------------------------- |
189
+ | `action` | string | Yes | Either `RECEIVE` or `SCAN_QR_CODE` |
190
+
191
+ **Examples:**
192
+
193
+ ```
194
+ # Show receive QR code
195
+ slush://suime?action=RECEIVE
196
+
197
+ # Open QR code scanner
198
+ slush://suime?action=SCAN_QR_CODE
199
+ ```
200
+
201
+ ### DeFi Strategies
202
+
203
+ Access yield strategies and DeFi opportunities:
204
+
205
+ | Route | Description |
206
+ | ------------------------- | ----------------------------------- |
207
+ | `strategies` | View all available strategies |
208
+ | `strategies/strategy/:id` | View details of a specific strategy |
209
+ | `strategies/deposit/:id` | Open deposit flow for a strategy |
210
+ | `strategies/withdraw/:id` | Open withdraw flow for a strategy |
211
+
212
+ **Path Parameters:**
213
+
214
+ | Parameter | Type | Required | Description |
215
+ | --------- | ------ | -------- | ------------------- |
216
+ | `id` | string | Yes | Strategy identifier |
217
+
218
+ **Examples:**
219
+
220
+ ```
221
+ # View all strategies
222
+ slush://strategies
223
+
224
+ # View specific strategy details
225
+ slush://strategies/strategy/lending-usdc
226
+
227
+ # Deposit into a strategy
228
+ slush://strategies/deposit/lending-usdc
229
+
230
+ # Withdraw from a strategy
231
+ slush://strategies/withdraw/lending-usdc
232
+ ```
233
+
234
+ ### Staking
235
+
236
+ Access native and liquid staking features:
237
+
238
+ | Route | Description |
239
+ | ------------------------ | ---------------------- |
240
+ | `staking` | Staking overview |
241
+ | `staking/native-stake` | Native SUI staking |
242
+ | `staking/native-unstake` | Unstake native SUI |
243
+ | `staking/liquid-stake` | Liquid staking |
244
+ | `staking/liquid-unstake` | Unstake liquid staking |
245
+
246
+ **Examples:**
247
+
248
+ ```
249
+ slush://staking
250
+ slush://staking/native-stake
251
+ slush://staking/liquid-stake
252
+ ```
253
+
254
+ ### Send Tokens
255
+
256
+ Access the send flow:
257
+
258
+ | Route | Description |
259
+ | ------------------- | ------------------------ |
260
+ | `send-coins` | Open send flow |
261
+ | `send-coins/send` | Send input screen |
262
+ | `send-coins/camera` | QR scanner for recipient |
263
+ | `send-coins/review` | Review transaction |
264
+
265
+ **Examples:**
266
+
267
+ ```
268
+ slush://send-coins
269
+ slush://send-coins/camera
270
+ ```
271
+
272
+ ### Payment Kit
273
+
274
+ Open the payment flow using Payment Kit URIs. Slush supports the `sui:pay` protocol for processing
275
+ on-chain payments with optional registry support.
276
+
277
+ | Route | Description |
278
+ | ----- | --------------------------- |
279
+ | `pay` | Opens the payment interface |
280
+
281
+ **URI Format:**
282
+
283
+ Payment Kit uses a special `sui:pay` (`slush:pay` is also supported) protocol that can be opened via
284
+ Slush deep links:
285
+
286
+ ```
287
+ https://my.slush.app/pay?receiver=<address>&amount=<amount>&coinType=<coinType>&nonce=<nonce>
288
+ ```
289
+
290
+ **Parameters:**
291
+
292
+ | Parameter | Type | Required | Description |
293
+ | ---------- | ------ | -------- | ------------------------------------------------------ |
294
+ | `receiver` | string | Yes | Recipient Sui address |
295
+ | `amount` | string | Yes | Payment amount in smallest unit (e.g., MIST for SUI) |
296
+ | `coinType` | string | Yes | Coin type (e.g., `0x2::sui::SUI`) |
297
+ | `nonce` | string | Yes | Unique payment identifier (max 36 characters) |
298
+ | `registry` | string | No | Registry name or object ID for registry-based payments |
299
+ | `label` | string | No | Human-readable label for the payment |
300
+ | `message` | string | No | Message or memo for the payment |
301
+ | `iconUrl` | string | No | URL to an icon image for display purposes |
302
+
303
+ **Examples:**
304
+
305
+ ```
306
+ # Basic payment with SUI (using custom scheme)
307
+ sui:pay?receiver=0x1234...abcd&amount=1000000000&coinType=0x2::sui::SUI&nonce=abc-123-xyz
308
+
309
+ # Basic payment with SUI (using universal link)
310
+ https://my.slush.app/pay?receiver=0x1234...abcd&amount=1000000000&coinType=0x2::sui::SUI&nonce=abc-123-xyz
311
+
312
+ # Payment with registry and label
313
+ https://my.slush.app/pay?receiver=0x1234...abcd&amount=1000000000&coinType=0x2::sui::SUI&nonce=abc-123-xyz&registry=my-registry&label=Coffee%20Payment
314
+
315
+ # Payment with custom coin type
316
+ https://my.slush.app/pay?receiver=0x1234...abcd&amount=5000000&coinType=0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC&nonce=def-456-uvw
317
+ ```
318
+
319
+ > Use the `@mysten/payment-kit` SDK to generate properly formatted payment URIs. See the
320
+ > [Payment Kit documentation](/payment-kit/getting-started) for more details.
321
+
322
+ ## Implementation Examples
323
+
324
+ ### Web Integration
325
+
326
+ Link to Slush from any web page (mobile or desktop):
327
+
328
+ ```html
329
+ <!-- Recommended: Works on all platforms -->
330
+ <a href="https://my.slush.app/browse/https://your-dapp.com">Open in Slush</a>
331
+
332
+ <!-- Mobile-only: Opens app if installed, fails otherwise -->
333
+ <a href="slush://swap">Open Slush to Swap</a>
334
+ <a href="slush://browse/https://your-dapp.com">Open in Slush</a>
335
+ ```
336
+
337
+ ### JavaScript / React Native
338
+
339
+ Open Slush programmatically:
340
+
341
+ ```javascript
342
+ // Recommended: Use my.slush.app links (works everywhere)
343
+ Linking.openURL('https://my.slush.app/browse/https://your-dapp.com');
344
+
345
+ // Alternative: Use custom schemes when you need app-specific behavior
346
+ Linking.openURL('slush://swap?fromCoinType=0x2::sui::SUI');
347
+
348
+ // Detect if native app is installed (only needed for custom schemes)
349
+ const canOpen = await Linking.canOpenURL('slush://');
350
+ if (canOpen) {
351
+ // Native app is installed
352
+ Linking.openURL('slush://swap');
353
+ } else {
354
+ // Fall back to web app
355
+ Linking.openURL('https://my.slush.app/browse/https://your-dapp.com');
356
+ }
357
+ ```
358
+
359
+ ### iOS (Swift)
360
+
361
+ ```swift
362
+
363
+ // Recommended: Use my.slush.app links (works everywhere)
364
+ if let url = URL(string: "https://my.slush.app/browse/https://your-dapp.com") {
365
+ UIApplication.shared.open(url)
366
+ }
367
+
368
+ // Alternative: Check for native app, fall back to web
369
+ if let customUrl = URL(string: "slush://swap"),
370
+ UIApplication.shared.canOpenURL(customUrl) {
371
+ UIApplication.shared.open(customUrl)
372
+ } else if let webUrl = URL(string: "https://my.slush.app/browse/https://your-dapp.com") {
373
+ UIApplication.shared.open(webUrl)
374
+ }
375
+ ```
376
+
377
+ ### Android (Kotlin)
378
+
379
+ ```kotlin
380
+
381
+ // Recommended: Use my.slush.app links (works everywhere)
382
+ val intent = Intent(Intent.ACTION_VIEW, Uri.parse("https://my.slush.app/browse/https://your-dapp.com"))
383
+ startActivity(intent)
384
+
385
+ // Alternative: Use custom scheme for native app only
386
+ val customIntent = Intent(Intent.ACTION_VIEW, Uri.parse("slush://swap"))
387
+ startActivity(customIntent)
388
+ ```
389
+
390
+ ## Best Practices
391
+
392
+ ### Use my.slush.app Links for Maximum Compatibility
393
+
394
+ When linking from any platform, prefer `my.slush.app` links over custom URL schemes. These links
395
+ work everywhere - mobile apps, mobile browsers, and desktop browsers - providing a seamless
396
+ experience for all users.
397
+
398
+ ```html
399
+ <!-- Recommended: Works on mobile (app or browser) and desktop -->
400
+ <a href="https://my.slush.app/browse/https://your-dapp.com">Open in Slush</a>
401
+
402
+ <!-- Alternative: Only works if mobile app is installed -->
403
+ <a href="slush://browse/https://your-dapp.com">Open in Slush</a>
404
+ ```
405
+
406
+ > Use `my.slush.app` links as your default choice. Only use custom URL schemes (`slush://`) when you
407
+ > specifically need to detect whether the mobile app is installed.
408
+
409
+ ### URL Encode Parameters
410
+
411
+ Always URL-encode parameter values, especially token type addresses which contain special
412
+ characters:
413
+
414
+ ```javascript
415
+ const coinType = '0x2::sui::SUI';
416
+ const encodedCoinType = encodeURIComponent(coinType);
417
+ const url = `slush://swap?fromCoinType=${encodedCoinType}`;
418
+ ```
419
+
420
+ ### Check App Installation (Custom Schemes Only)
421
+
422
+ If you're using custom URL schemes (`slush://`), check if the app is installed to provide
423
+ appropriate fallbacks. This is not needed when using `my.slush.app` links, which automatically fall
424
+ back to the web app.
425
+
426
+ ```javascript
427
+ const canOpenSlush = await Linking.canOpenURL('slush://');
428
+ if (canOpenSlush) {
429
+ Linking.openURL('slush://swap');
430
+ } else {
431
+ // Fall back to my.slush.app which always works
432
+ Linking.openURL('https://my.slush.app/browse/https://your-dapp.com');
433
+ }
434
+ ```
435
+
436
+ ### Handle Missing Parameters Gracefully
437
+
438
+ Slush will attempt to open the requested screen even if optional parameters are missing. Required
439
+ parameters that are missing will result in the app opening to a default or error state.
440
+
441
+ ## Troubleshooting
442
+
443
+ ### Link Not Opening the App
444
+
445
+ 1. **Verify the app is installed** - Custom URL schemes only work if Slush is installed
446
+ 2. **Check URL format** - Ensure the URL is properly formatted and encoded
447
+ 3. **iOS Universal Links** - Must be clicked from Safari or apps that support Universal Links;
448
+ copied/pasted URLs may not trigger the app
449
+ 4. **Android App Links** - Ensure the device has verified the app link association
450
+
451
+ ### Wrong Screen Opens
452
+
453
+ 1. **Check the path** - Verify the route matches one of the supported routes above
454
+ 2. **Check parameters** - Ensure all required parameters are provided
455
+ 3. **Check parameter encoding** - Special characters in coin types must be URL-encoded
456
+
457
+ ### Universal Links Open in Browser Instead of App
458
+
459
+ This can happen if:
460
+
461
+ - The link is typed directly into the address bar
462
+ - The link domain is the same as the current page
463
+ - The user has previously chosen to open links in Safari
464
+
465
+ To ensure Universal Links work reliably, link from a different domain than the target domain.
package/docs/index.md ADDED
@@ -0,0 +1,7 @@
1
+ # Slush Wallet Integration
2
+
3
+ > Integrate Slush Wallet into your Sui dApp
4
+
5
+ This section covers integration with [Slush Wallet](https://slush.app), a mobile wallet for the Sui
6
+ blockchain. You'll find guides for wallet-specific functionality to enhance your dApp's user
7
+ experience.
@@ -0,0 +1,7 @@
1
+ # Slush Wallet
2
+
3
+ > Slush Wallet Integration
4
+
5
+ - [Slush Wallet Integration](./index.md): Integrate Slush Wallet into your Sui dApp
6
+ - [dApp Integration](./dapp.md): Connect your dApp to Slush Wallet
7
+ - [Deep Linking](./deep-linking.md): Deep linking configuration for Slush Wallet
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mysten/slush-wallet",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Wallet adapter for Slush web wallet",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Mysten Labs <build@mystenlabs.com>",
@@ -18,6 +18,7 @@
18
18
  "files": [
19
19
  "CHANGELOG.md",
20
20
  "dist",
21
+ "docs",
21
22
  "experimental"
22
23
  ],
23
24
  "repository": {
@@ -32,20 +33,21 @@
32
33
  "@types/node": "^25.0.8",
33
34
  "typescript": "^5.9.3",
34
35
  "vitest": "^4.0.17",
35
- "@mysten/sui": "^2.3.2"
36
+ "@mysten/sui": "^2.8.0"
36
37
  },
37
38
  "dependencies": {
38
39
  "valibot": "^1.2.0",
40
+ "@mysten/utils": "^0.3.1",
39
41
  "@mysten/wallet-standard": "^0.20.1",
40
- "@mysten/window-wallet-core": "^0.1.3",
41
- "@mysten/utils": "^0.3.1"
42
+ "@mysten/window-wallet-core": "^0.1.4"
42
43
  },
43
44
  "peerDependencies": {
44
- "@mysten/sui": "^2.3.2"
45
+ "@mysten/sui": "^2.8.0"
45
46
  },
46
47
  "scripts": {
47
48
  "clean": "rm -rf tsconfig.tsbuildinfo ./dist",
48
49
  "build": "rm -rf dist && tsc --noEmit && tsdown",
50
+ "build:docs": "tsx ../docs/scripts/build-docs.ts",
49
51
  "prettier:check": "prettier -c --ignore-unknown .",
50
52
  "prettier:fix": "prettier -w --ignore-unknown .",
51
53
  "oxlint:check": "oxlint .",