@arcblock/ux 2.5.9 → 2.5.10
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.
@@ -129,7 +129,7 @@ const withWebWalletSWKeeper = Component => {
|
|
129
129
|
const browser = (0, _useBrowser.default)(); // eslint-disable-next-line no-param-reassign
|
130
130
|
|
131
131
|
webWalletUrl = webWalletUrl || (0, _wallet.getWebWalletUrl)();
|
132
|
-
const [disabled] = (0, _useLocalStorage.default)(STORAGE_KEY_DISABLED);
|
132
|
+
const [disabled] = (0, _useLocalStorage.default)(STORAGE_KEY_DISABLED, 1);
|
133
133
|
const webWalletExtension = window.ABT_DEV || window.ABT;
|
134
134
|
const isSameProtocol = (0, _wallet.checkSameProtocol)(webWalletUrl);
|
135
135
|
const isWalletWebview = browser.wallet; // 以下几种情况不会嵌入 wallet iframe :
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@arcblock/ux",
|
3
|
-
"version": "2.5.
|
3
|
+
"version": "2.5.10",
|
4
4
|
"description": "Common used react components for arcblock products",
|
5
5
|
"keywords": [
|
6
6
|
"react",
|
@@ -47,11 +47,11 @@
|
|
47
47
|
"react": ">=18.1.0",
|
48
48
|
"react-ga": "^2.7.0"
|
49
49
|
},
|
50
|
-
"gitHead": "
|
50
|
+
"gitHead": "1c8bfb0ffeacc312938bfd76ec0fea52ae911d61",
|
51
51
|
"dependencies": {
|
52
52
|
"@arcblock/did-motif": "^1.1.10",
|
53
|
-
"@arcblock/icons": "^2.5.
|
54
|
-
"@arcblock/react-hooks": "^2.5.
|
53
|
+
"@arcblock/icons": "^2.5.10",
|
54
|
+
"@arcblock/react-hooks": "^2.5.10",
|
55
55
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
56
56
|
"@emotion/react": "^11.10.4",
|
57
57
|
"@emotion/styled": "^11.10.4",
|
@@ -90,7 +90,7 @@ export const withWebWalletSWKeeper = (Component) => {
|
|
90
90
|
const browser = useBrowser();
|
91
91
|
// eslint-disable-next-line no-param-reassign
|
92
92
|
webWalletUrl = webWalletUrl || getWebWalletUrl();
|
93
|
-
const [disabled] = useLocalStorage(STORAGE_KEY_DISABLED);
|
93
|
+
const [disabled] = useLocalStorage(STORAGE_KEY_DISABLED, 1);
|
94
94
|
const webWalletExtension = window.ABT_DEV || window.ABT;
|
95
95
|
const isSameProtocol = checkSameProtocol(webWalletUrl);
|
96
96
|
const isWalletWebview = browser.wallet;
|