@onekeyfe/inpage-providers-hub 2.2.33 → 2.2.34
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.
|
@@ -132,7 +132,7 @@ function IconButton({ isExpanded, onClick, dataLoaded, isShowCloseDialog, isDrag
|
|
|
132
132
|
}
|
|
133
133
|
setIsShowCloseButton(false);
|
|
134
134
|
onClick();
|
|
135
|
-
}, children: [(0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', alignItems: 'center', padding: '8px', flexDirection: side === 'left' ? 'row-reverse' : 'row' }, children: [(0, jsx_runtime_1.jsx)(images_1.Logo, { style: logoStyle }), (0, jsx_runtime_1.jsx)("div", { style: {
|
|
135
|
+
}, children: [(0, jsx_runtime_1.jsxs)("div", { style: { display: 'flex', alignItems: 'center', padding: '8px', flexDirection: side === 'left' ? 'row-reverse' : 'row' }, children: [(0, jsx_runtime_1.jsx)(images_1.Logo, { style: logoStyle }), riskLevel && riskLevel !== type_1.EHostSecurityLevel.Unknown ? ((0, jsx_runtime_1.jsx)("div", { style: {
|
|
136
136
|
position: 'absolute',
|
|
137
137
|
height: '18px',
|
|
138
138
|
width: '18px',
|
|
@@ -142,7 +142,7 @@ function IconButton({ isExpanded, onClick, dataLoaded, isShowCloseDialog, isDrag
|
|
|
142
142
|
borderRadius: '6px',
|
|
143
143
|
bottom: '2px',
|
|
144
144
|
left: '24px',
|
|
145
|
-
}, children:
|
|
145
|
+
}, children: SECURITY_INFO[riskLevel].icon })) : null, !dataLoaded && (0, jsx_runtime_1.jsx)("span", { style: textStyle, children: isExpanded ? i18n.fetchingDAppInfo : '' })] }), isDragging ? null : ((0, jsx_runtime_1.jsx)("div", { style: {
|
|
146
146
|
display: 'flex',
|
|
147
147
|
padding: '$4',
|
|
148
148
|
position: 'absolute',
|
|
@@ -129,7 +129,7 @@ function IconButton({ isExpanded, onClick, dataLoaded, isShowCloseDialog, isDrag
|
|
|
129
129
|
}
|
|
130
130
|
setIsShowCloseButton(false);
|
|
131
131
|
onClick();
|
|
132
|
-
}, children: [_jsxs("div", { style: { display: 'flex', alignItems: 'center', padding: '8px', flexDirection: side === 'left' ? 'row-reverse' : 'row' }, children: [_jsx(Logo, { style: logoStyle }), _jsx("div", { style: {
|
|
132
|
+
}, children: [_jsxs("div", { style: { display: 'flex', alignItems: 'center', padding: '8px', flexDirection: side === 'left' ? 'row-reverse' : 'row' }, children: [_jsx(Logo, { style: logoStyle }), riskLevel && riskLevel !== EHostSecurityLevel.Unknown ? (_jsx("div", { style: {
|
|
133
133
|
position: 'absolute',
|
|
134
134
|
height: '18px',
|
|
135
135
|
width: '18px',
|
|
@@ -139,7 +139,7 @@ function IconButton({ isExpanded, onClick, dataLoaded, isShowCloseDialog, isDrag
|
|
|
139
139
|
borderRadius: '6px',
|
|
140
140
|
bottom: '2px',
|
|
141
141
|
left: '24px',
|
|
142
|
-
}, children:
|
|
142
|
+
}, children: SECURITY_INFO[riskLevel].icon })) : null, !dataLoaded && _jsx("span", { style: textStyle, children: isExpanded ? i18n.fetchingDAppInfo : '' })] }), isDragging ? null : (_jsx("div", { style: {
|
|
143
143
|
display: 'flex',
|
|
144
144
|
padding: '$4',
|
|
145
145
|
position: 'absolute',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onekeyfe/inpage-providers-hub",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.34",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"cross-inpage-provider"
|
|
6
6
|
],
|
|
@@ -27,27 +27,27 @@
|
|
|
27
27
|
"start": "tsc --watch"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@onekeyfe/cross-inpage-provider-core": "2.2.
|
|
31
|
-
"@onekeyfe/cross-inpage-provider-types": "2.2.
|
|
32
|
-
"@onekeyfe/onekey-algo-provider": "2.2.
|
|
33
|
-
"@onekeyfe/onekey-alph-provider": "2.2.
|
|
34
|
-
"@onekeyfe/onekey-aptos-provider": "2.2.
|
|
35
|
-
"@onekeyfe/onekey-bfc-provider": "2.2.
|
|
36
|
-
"@onekeyfe/onekey-btc-provider": "2.2.
|
|
37
|
-
"@onekeyfe/onekey-cardano-provider": "2.2.
|
|
38
|
-
"@onekeyfe/onekey-conflux-provider": "2.2.
|
|
39
|
-
"@onekeyfe/onekey-cosmos-provider": "2.2.
|
|
40
|
-
"@onekeyfe/onekey-eth-provider": "2.2.
|
|
41
|
-
"@onekeyfe/onekey-neo-provider": "2.2.
|
|
42
|
-
"@onekeyfe/onekey-nostr-provider": "2.2.
|
|
43
|
-
"@onekeyfe/onekey-polkadot-provider": "2.2.
|
|
44
|
-
"@onekeyfe/onekey-private-provider": "2.2.
|
|
45
|
-
"@onekeyfe/onekey-scdo-provider": "2.2.
|
|
46
|
-
"@onekeyfe/onekey-solana-provider": "2.2.
|
|
47
|
-
"@onekeyfe/onekey-sui-provider": "2.2.
|
|
48
|
-
"@onekeyfe/onekey-ton-provider": "2.2.
|
|
49
|
-
"@onekeyfe/onekey-tron-provider": "2.2.
|
|
50
|
-
"@onekeyfe/onekey-webln-provider": "2.2.
|
|
30
|
+
"@onekeyfe/cross-inpage-provider-core": "2.2.34",
|
|
31
|
+
"@onekeyfe/cross-inpage-provider-types": "2.2.34",
|
|
32
|
+
"@onekeyfe/onekey-algo-provider": "2.2.34",
|
|
33
|
+
"@onekeyfe/onekey-alph-provider": "2.2.34",
|
|
34
|
+
"@onekeyfe/onekey-aptos-provider": "2.2.34",
|
|
35
|
+
"@onekeyfe/onekey-bfc-provider": "2.2.34",
|
|
36
|
+
"@onekeyfe/onekey-btc-provider": "2.2.34",
|
|
37
|
+
"@onekeyfe/onekey-cardano-provider": "2.2.34",
|
|
38
|
+
"@onekeyfe/onekey-conflux-provider": "2.2.34",
|
|
39
|
+
"@onekeyfe/onekey-cosmos-provider": "2.2.34",
|
|
40
|
+
"@onekeyfe/onekey-eth-provider": "2.2.34",
|
|
41
|
+
"@onekeyfe/onekey-neo-provider": "2.2.34",
|
|
42
|
+
"@onekeyfe/onekey-nostr-provider": "2.2.34",
|
|
43
|
+
"@onekeyfe/onekey-polkadot-provider": "2.2.34",
|
|
44
|
+
"@onekeyfe/onekey-private-provider": "2.2.34",
|
|
45
|
+
"@onekeyfe/onekey-scdo-provider": "2.2.34",
|
|
46
|
+
"@onekeyfe/onekey-solana-provider": "2.2.34",
|
|
47
|
+
"@onekeyfe/onekey-sui-provider": "2.2.34",
|
|
48
|
+
"@onekeyfe/onekey-ton-provider": "2.2.34",
|
|
49
|
+
"@onekeyfe/onekey-tron-provider": "2.2.34",
|
|
50
|
+
"@onekeyfe/onekey-webln-provider": "2.2.34",
|
|
51
51
|
"lodash-es": "^4.17.21",
|
|
52
52
|
"preact": "^10.25.1",
|
|
53
53
|
"web3": "^1.7.3"
|
|
@@ -56,8 +56,5 @@
|
|
|
56
56
|
"@types/lodash-es": "^4.17.12",
|
|
57
57
|
"@types/node": "^20.12.7"
|
|
58
58
|
},
|
|
59
|
-
"
|
|
60
|
-
"pbkdf2": "^3.1.3"
|
|
61
|
-
},
|
|
62
|
-
"gitHead": "ca6a011d6488461a132d0c5d5fddc68bdf9ceb3a"
|
|
59
|
+
"gitHead": "d99d29ed6b09324bff7ccc96ebcf9e282b2be109"
|
|
63
60
|
}
|