@ant-design/web3-ton 1.0.2 → 1.0.4
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 +17 -0
- package/README.md +33 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @ant-design/web3-ton
|
|
2
2
|
|
|
3
|
+
## 1.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 91801ad: chore: add readme
|
|
8
|
+
- Updated dependencies [c32f8e2]
|
|
9
|
+
- Updated dependencies [613b265]
|
|
10
|
+
- @ant-design/web3-common@1.14.0
|
|
11
|
+
- @ant-design/web3-assets@1.11.1
|
|
12
|
+
|
|
13
|
+
## 1.0.3
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [c22eb4d]
|
|
18
|
+
- @ant-design/web3-assets@1.11.0
|
|
19
|
+
|
|
3
20
|
## 1.0.2
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# @ant-design/web3-ton
|
|
2
|
+
|
|
3
|
+
This package provides a [TON](https://ton.org) adapter for [@ant-design/web3](https://www.npmjs.com/package/@ant-design/web3).
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @ant-design/web3 @ant-design/web3-ton --save
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
```tsx
|
|
12
|
+
import { ConnectButton, Connector } from '@ant-design/web3';
|
|
13
|
+
import { okxTonWallet, tonkeeper, TonWeb3ConfigProvider } from '@ant-design/web3-ton';
|
|
14
|
+
|
|
15
|
+
const Basic = () => {
|
|
16
|
+
return (
|
|
17
|
+
<TonWeb3ConfigProvider wallets={[tonkeeper, okxTonWallet, { key: 'safepalwallet' }]}>
|
|
18
|
+
<Connector>
|
|
19
|
+
<ConnectButton />
|
|
20
|
+
</Connector>
|
|
21
|
+
</TonWeb3ConfigProvider>
|
|
22
|
+
);
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export default Basic;
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
For more examples, refer to [TON - Ant Design Web3](https://web3.ant.design/components/ton).
|
|
29
|
+
|
|
30
|
+
## Documentation
|
|
31
|
+
|
|
32
|
+
- For more information, visit [Ant Design Web3](https://web3.ant.design).
|
|
33
|
+
- For an introduction to TON, visit [TON](https://ton.org).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ant-design/web3-ton",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"main": "dist/lib/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"typings": "dist/esm/index.d.ts",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"url": "https://github.com/ant-design/ant-design-web3"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@ant-design/web3-assets": "1.
|
|
41
|
-
"@ant-design/web3-common": "1.
|
|
40
|
+
"@ant-design/web3-assets": "1.11.1",
|
|
41
|
+
"@ant-design/web3-common": "1.14.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"father": "^4.4.4",
|