@mysten/slush-wallet 1.1.16 → 1.1.18
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 +4 -0
- package/docs/dapp.md +3 -3
- package/docs/deep-linking.md +1 -1
- package/docs/index.md +1 -1
- package/docs/llms-index.md +3 -3
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
package/docs/dapp.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# App Integration
|
|
2
2
|
|
|
3
|
-
> Connect your app to Slush Wallet using the Slush Wallet SDK and wallet standard.
|
|
3
|
+
> >- Connect your app to Slush Wallet using the Slush Wallet SDK and wallet standard.
|
|
4
4
|
|
|
5
5
|
> **Note:** If you are using `dapp-kit`, you do not need to install any additional packages to integrate with
|
|
6
|
-
> the Slush wallet. [Read how to integrate with dapp-kit.](/dapp-kit/
|
|
6
|
+
> the Slush wallet. [Read how to integrate with dapp-kit.](/dapp-kit/getting-started/react)
|
|
7
7
|
|
|
8
8
|
Using the Slush Wallet SDK, you can allow users to connect to the Slush wallet from your app. The
|
|
9
9
|
wallet is provided through the [Wallet Standard](https://docs.sui.io/standards/wallet-standard), and
|
|
@@ -52,7 +52,7 @@ wallet, and check if it is the Slush wallet.
|
|
|
52
52
|
```ts
|
|
53
53
|
|
|
54
54
|
function SlushOnly() {
|
|
55
|
-
const
|
|
55
|
+
const currentWallet = useCurrentWallet();
|
|
56
56
|
const walletIsSlushWallet = currentWallet?.name === SLUSH_WALLET_NAME;
|
|
57
57
|
|
|
58
58
|
// rest of component logic...
|
package/docs/deep-linking.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Deep Linking
|
|
2
2
|
|
|
3
|
-
> Configure deep links to open Slush Wallet directly to specific screens or actions.
|
|
3
|
+
> >- Configure deep links to open Slush Wallet directly to specific screens or actions.
|
|
4
4
|
|
|
5
5
|
Deep linking allows external applications, websites, and services to open Slush directly to specific
|
|
6
6
|
screens or trigger specific actions. This enables seamless integrations where users can be directed
|
package/docs/index.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Slush Wallet Integration
|
|
2
2
|
|
|
3
|
-
> Integrate Slush Wallet into your Sui application for mobile and web wallet support.
|
|
3
|
+
> >- Integrate Slush Wallet into your Sui application for mobile and web wallet support.
|
|
4
4
|
|
|
5
5
|
This section covers integration with [Slush Wallet](https://slush.app), a mobile wallet for the Sui
|
|
6
6
|
blockchain. You'll find guides for wallet-specific functionality to enhance your app's user
|
package/docs/llms-index.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Slush Wallet
|
|
2
2
|
> Slush Wallet Integration
|
|
3
3
|
|
|
4
|
-
- [Slush Wallet Integration](..md): Integrate Slush Wallet into your Sui application for mobile and web wallet support.
|
|
5
|
-
- [App Integration](./dapp.md): Connect your app to Slush Wallet using the Slush Wallet SDK and wallet standard.
|
|
6
|
-
- [Deep Linking](./deep-linking.md): Configure deep links to open Slush Wallet directly to specific screens or actions.
|
|
4
|
+
- [Slush Wallet Integration](..md): >- Integrate Slush Wallet into your Sui application for mobile and web wallet support.
|
|
5
|
+
- [App Integration](./dapp.md): >- Connect your app to Slush Wallet using the Slush Wallet SDK and wallet standard.
|
|
6
|
+
- [Deep Linking](./deep-linking.md): >- Configure deep links to open Slush Wallet directly to specific screens or actions.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mysten/slush-wallet",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.18",
|
|
4
4
|
"description": "Wallet adapter for Slush web wallet",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Mysten Labs <build@mystenlabs.com>",
|
|
@@ -30,18 +30,18 @@
|
|
|
30
30
|
},
|
|
31
31
|
"homepage": "https://github.com/MystenLabs/ts-sdks/tree/main/packages/slush-wallet#readme",
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@types/node": "^
|
|
34
|
-
"typescript": "^
|
|
35
|
-
"vitest": "^4.1.
|
|
33
|
+
"@types/node": "^26.2.0",
|
|
34
|
+
"typescript": "^7.0.2",
|
|
35
|
+
"vitest": "^4.1.10"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"valibot": "^1.4.2",
|
|
39
|
-
"@mysten/utils": "^0.4.
|
|
40
|
-
"@mysten/
|
|
41
|
-
"@mysten/wallet-
|
|
39
|
+
"@mysten/utils": "^0.4.1",
|
|
40
|
+
"@mysten/wallet-standard": "^0.21.18",
|
|
41
|
+
"@mysten/window-wallet-core": "^0.2.2"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"@mysten/sui": "^2.26.
|
|
44
|
+
"@mysten/sui": "^2.26.2"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"clean": "rm -rf tsconfig.tsbuildinfo ./dist",
|