@ant-design/web3-assets 1.7.2 → 1.8.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 +14 -0
- package/dist/esm/wallets/index.d.ts +1 -0
- package/dist/esm/wallets/index.js +2 -1
- package/dist/esm/wallets/mobile-wallet.d.ts +2 -0
- package/dist/esm/wallets/mobile-wallet.js +10 -0
- package/dist/lib/wallets/index.d.ts +1 -0
- package/dist/lib/wallets/index.js +11 -0
- package/dist/lib/wallets/mobile-wallet.d.ts +2 -0
- package/dist/lib/wallets/mobile-wallet.js +16 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @ant-design/web3-assets
|
|
2
2
|
|
|
3
|
+
## 1.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 8a6d1c7: feat: add mobile wallet
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 6511134: refactor: remove useless proxyConnectorName
|
|
12
|
+
- Updated dependencies [6511134]
|
|
13
|
+
- Updated dependencies [8a6d1c7]
|
|
14
|
+
- @ant-design/web3-common@1.10.1
|
|
15
|
+
- @ant-design/web3-icons@1.7.0
|
|
16
|
+
|
|
3
17
|
## 1.7.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ScanColorful } from '@ant-design/web3-icons';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
export var metadata_MobileConnect = {
|
|
4
|
+
icon: /*#__PURE__*/_jsx(ScanColorful, {}),
|
|
5
|
+
name: 'Scan QR Code',
|
|
6
|
+
remark: 'Connect with mobile APP',
|
|
7
|
+
universalProtocol: {
|
|
8
|
+
link: 'https://walletconnect.com/'
|
|
9
|
+
}
|
|
10
|
+
};
|
|
@@ -134,4 +134,15 @@ Object.keys(_trust).forEach(function (key) {
|
|
|
134
134
|
return _trust[key];
|
|
135
135
|
}
|
|
136
136
|
});
|
|
137
|
+
});
|
|
138
|
+
var _mobileWallet = require("./mobile-wallet");
|
|
139
|
+
Object.keys(_mobileWallet).forEach(function (key) {
|
|
140
|
+
if (key === "default" || key === "__esModule") return;
|
|
141
|
+
if (key in exports && exports[key] === _mobileWallet[key]) return;
|
|
142
|
+
Object.defineProperty(exports, key, {
|
|
143
|
+
enumerable: true,
|
|
144
|
+
get: function () {
|
|
145
|
+
return _mobileWallet[key];
|
|
146
|
+
}
|
|
147
|
+
});
|
|
137
148
|
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.metadata_MobileConnect = void 0;
|
|
7
|
+
var _web3Icons = require("@ant-design/web3-icons");
|
|
8
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
+
const metadata_MobileConnect = exports.metadata_MobileConnect = {
|
|
10
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.ScanColorful, {}),
|
|
11
|
+
name: 'Scan QR Code',
|
|
12
|
+
remark: 'Connect with mobile APP',
|
|
13
|
+
universalProtocol: {
|
|
14
|
+
link: 'https://walletconnect.com/'
|
|
15
|
+
}
|
|
16
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ant-design/web3-assets",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/esm/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"url": "https://github.com/ant-design/ant-design-web3"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@ant-design/web3-icons": "1.
|
|
63
|
-
"@ant-design/web3-common": "1.10.
|
|
62
|
+
"@ant-design/web3-icons": "1.7.0",
|
|
63
|
+
"@ant-design/web3-common": "1.10.1"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@types/react": "^18.2.78",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"father": "^4.4.0",
|
|
69
69
|
"react": "^18.2.0",
|
|
70
70
|
"react-dom": "^18.2.0",
|
|
71
|
-
"typescript": "^5.4.
|
|
71
|
+
"typescript": "^5.4.5"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
74
|
"react": ">=17.0.0",
|