@ant-design/web3-sui 1.0.3 → 1.0.5
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,20 @@
|
|
|
1
1
|
# @ant-design/web3-sui
|
|
2
2
|
|
|
3
|
+
## 1.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 06aae9b: feat(sui): Returns addresses on connected
|
|
8
|
+
- Updated dependencies [0b2a19d]
|
|
9
|
+
- @ant-design/web3-common@1.15.0
|
|
10
|
+
- @ant-design/web3-assets@1.11.4
|
|
11
|
+
|
|
12
|
+
## 1.0.4
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- @ant-design/web3-assets@1.11.3
|
|
17
|
+
|
|
3
18
|
## 1.0.3
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -102,9 +102,11 @@ export const AntDesignWeb3ConfigProvider = ({
|
|
|
102
102
|
} = await connectAsync({
|
|
103
103
|
wallet: foundWallet
|
|
104
104
|
});
|
|
105
|
-
const
|
|
105
|
+
const defaultAccount = accounts[0];
|
|
106
|
+
const addresses = accounts.map(item => item.address);
|
|
106
107
|
return {
|
|
107
|
-
address:
|
|
108
|
+
address: defaultAccount.address,
|
|
109
|
+
addresses: addresses
|
|
108
110
|
};
|
|
109
111
|
},
|
|
110
112
|
disconnect: async () => {
|
|
@@ -110,9 +110,11 @@ const AntDesignWeb3ConfigProvider = ({
|
|
|
110
110
|
} = await connectAsync({
|
|
111
111
|
wallet: foundWallet
|
|
112
112
|
});
|
|
113
|
-
const
|
|
113
|
+
const defaultAccount = accounts[0];
|
|
114
|
+
const addresses = accounts.map(item => item.address);
|
|
114
115
|
return {
|
|
115
|
-
address:
|
|
116
|
+
address: defaultAccount.address,
|
|
117
|
+
addresses: addresses
|
|
116
118
|
};
|
|
117
119
|
},
|
|
118
120
|
disconnect: async () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ant-design/web3-sui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"main": "dist/lib/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"typings": "dist/esm/index.d.ts",
|
|
@@ -17,15 +17,16 @@
|
|
|
17
17
|
],
|
|
18
18
|
"keywords": [
|
|
19
19
|
"ant",
|
|
20
|
+
"design",
|
|
21
|
+
"web3",
|
|
22
|
+
"antd",
|
|
20
23
|
"component",
|
|
21
24
|
"components",
|
|
22
|
-
"design",
|
|
23
25
|
"framework",
|
|
24
26
|
"frontend",
|
|
25
27
|
"react",
|
|
26
28
|
"react-component",
|
|
27
29
|
"ui",
|
|
28
|
-
"web3",
|
|
29
30
|
"sui"
|
|
30
31
|
],
|
|
31
32
|
"homepage": "https://web3.ant.design",
|
|
@@ -38,8 +39,8 @@
|
|
|
38
39
|
},
|
|
39
40
|
"dependencies": {
|
|
40
41
|
"debug": "^4.3.4",
|
|
41
|
-
"@ant-design/web3-
|
|
42
|
-
"@ant-design/web3-
|
|
42
|
+
"@ant-design/web3-assets": "1.11.4",
|
|
43
|
+
"@ant-design/web3-common": "1.15.0"
|
|
43
44
|
},
|
|
44
45
|
"devDependencies": {
|
|
45
46
|
"@mysten/dapp-kit": "^0.14.11",
|
|
@@ -47,7 +48,7 @@
|
|
|
47
48
|
"@tanstack/react-query": "^5.40.1",
|
|
48
49
|
"@types/debug": "^4.1.12",
|
|
49
50
|
"father": "^4.4.4",
|
|
50
|
-
"typescript": "^5.
|
|
51
|
+
"typescript": "^5.6.2"
|
|
51
52
|
},
|
|
52
53
|
"peerDependencies": {
|
|
53
54
|
"@mysten/dapp-kit": "^0.14.11",
|