@mysten/dapp-kit-core 1.3.2 → 1.4.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/CHANGELOG.md +13 -0
- package/docs/dapp-kit-instance.md +1 -1
- package/docs/getting-started/create-dapp.md +1 -1
- package/docs/getting-started/next-js.md +1 -1
- package/docs/getting-started/react.md +2 -2
- package/docs/getting-started/vue.md +1 -1
- package/docs/index.md +2 -2
- package/package.json +15 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @mysten/dapp-kit-core
|
|
2
2
|
|
|
3
|
+
## 1.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- bbf63cb: Updated dependencies
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [bbf63cb]
|
|
12
|
+
- @mysten/slush-wallet@1.1.0
|
|
13
|
+
- @mysten/utils@0.4.0
|
|
14
|
+
- @mysten/wallet-standard@0.21.0
|
|
15
|
+
|
|
3
16
|
## 1.3.2
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -23,7 +23,7 @@ const GRPC_URLS = {
|
|
|
23
23
|
|
|
24
24
|
> **Note:** If you use the React bindings, there are two ways to ensure type safety with hooks:
|
|
25
25
|
>
|
|
26
|
-
> 1. [Register the global dAppKit type](./getting-started/react#1-create-a-dapp-kit-instance) once, and all hooks will be properly typed
|
|
26
|
+
> 1. [Register the global dAppKit type](./getting-started/react#step-1-create-a-dapp-kit-instance) once, and all hooks will be properly typed
|
|
27
27
|
> 2. Pass the dAppKit instance explicitly to each hook: `useWalletConnection({ dAppKit })`
|
|
28
28
|
|
|
29
29
|
This instance provides:
|
|
@@ -8,7 +8,7 @@ This guide walks you through integrating dApp Kit into a React application.
|
|
|
8
8
|
|
|
9
9
|
The fastest way to get started is using our CLI tool:
|
|
10
10
|
|
|
11
|
-
```
|
|
11
|
+
```npm
|
|
12
12
|
npm create @mysten/dapp
|
|
13
13
|
```
|
|
14
14
|
|
|
@@ -30,7 +30,7 @@ See the [create-dapp guide](/dapp-kit/getting-started/create-dapp) for more deta
|
|
|
30
30
|
|
|
31
31
|
## Manual installation
|
|
32
32
|
|
|
33
|
-
```
|
|
33
|
+
```npm
|
|
34
34
|
npm i @mysten/dapp-kit-react @mysten/sui
|
|
35
35
|
```
|
|
36
36
|
|
package/docs/index.md
CHANGED
|
@@ -34,13 +34,13 @@ Choose the installation method based on your framework:
|
|
|
34
34
|
|
|
35
35
|
### For React applications
|
|
36
36
|
|
|
37
|
-
```
|
|
37
|
+
```npm
|
|
38
38
|
npm i @mysten/dapp-kit-react @mysten/sui
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
### Vanilla JavaScript and other frameworks
|
|
42
42
|
|
|
43
|
-
```
|
|
43
|
+
```npm
|
|
44
44
|
npm i @mysten/dapp-kit-core @mysten/sui
|
|
45
45
|
```
|
|
46
46
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"author": "Mysten Labs <build@mystenlabs.com>",
|
|
4
4
|
"description": "Framework-agnostic toolkit for building decentralized applications on Sui.",
|
|
5
5
|
"homepage": "https://sdk.mystenlabs.com/sui",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.4.0",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"files": [
|
|
9
9
|
"CHANGELOG.md",
|
|
@@ -40,29 +40,29 @@
|
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@storybook/web-components": "^10.
|
|
44
|
-
"@storybook/web-components-vite": "^10.
|
|
45
|
-
"storybook": "^10.
|
|
46
|
-
"tsdown": "0.
|
|
47
|
-
"typescript": "^
|
|
48
|
-
"vitest": "^4.
|
|
43
|
+
"@storybook/web-components": "^10.4.4",
|
|
44
|
+
"@storybook/web-components-vite": "^10.4.4",
|
|
45
|
+
"storybook": "^10.4.4",
|
|
46
|
+
"tsdown": "0.22.2",
|
|
47
|
+
"typescript": "^6.0.3",
|
|
48
|
+
"vitest": "^4.1.8"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@floating-ui/dom": "^1.7.4",
|
|
52
52
|
"@lit-labs/scoped-registry-mixin": "^1.0.4",
|
|
53
53
|
"@lit/task": "^1.0.3",
|
|
54
54
|
"@nanostores/lit": "^0.2.3",
|
|
55
|
-
"@wallet-standard/ui": "^1.0.
|
|
56
|
-
"@wallet-standard/ui-registry": "^1.
|
|
55
|
+
"@wallet-standard/ui": "^1.0.3",
|
|
56
|
+
"@wallet-standard/ui-registry": "^1.1.1",
|
|
57
57
|
"@webcomponents/scoped-custom-element-registry": "^0.0.10",
|
|
58
|
-
"lit": "^3.3.
|
|
59
|
-
"nanostores": "^1.
|
|
60
|
-
"@mysten/slush-wallet": "^1.0
|
|
61
|
-
"@mysten/
|
|
62
|
-
"@mysten/
|
|
58
|
+
"lit": "^3.3.3",
|
|
59
|
+
"nanostores": "^1.3.0",
|
|
60
|
+
"@mysten/slush-wallet": "^1.1.0",
|
|
61
|
+
"@mysten/utils": "^0.4.0",
|
|
62
|
+
"@mysten/wallet-standard": "^0.21.0"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@mysten/sui": "^2.
|
|
65
|
+
"@mysten/sui": "^2.18.0"
|
|
66
66
|
},
|
|
67
67
|
"scripts": {
|
|
68
68
|
"clean": "rm -rf tsconfig.tsbuildinfo ./dist",
|