@onekeyfe/inpage-providers-hub 2.2.0 → 2.2.1

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.
@@ -27,9 +27,10 @@ const textStyle = {
27
27
  marginLeft: '8px',
28
28
  };
29
29
  const containerId = 'onekey-floating-widget';
30
- const removeApp = () => {
30
+ const removeIcon = () => {
31
31
  var _a;
32
32
  (_a = document.getElementById(containerId)) === null || _a === void 0 ? void 0 : _a.remove();
33
+ isInjected = false;
33
34
  };
34
35
  const useOutsideClick = (ref, callback) => {
35
36
  (0, hooks_1.useEffect)(() => {
@@ -52,14 +53,14 @@ function CloseDialog({ onClose }) {
52
53
  void globalThis.$onekey.$private.request({
53
54
  method: 'wallet_disableFloatingButton',
54
55
  });
55
- removeApp();
56
+ removeIcon();
56
57
  }, []);
57
58
  const handleHideOnSite = (0, hooks_1.useCallback)(() => {
58
59
  void globalThis.$onekey.$private.request({
59
60
  method: 'wallet_hideFloatingButtonOnSite',
60
61
  params: { url: window.location.origin },
61
62
  });
62
- removeApp();
63
+ removeIcon();
63
64
  }, []);
64
65
  return ((0, jsx_runtime_1.jsxs)("div", { style: {
65
66
  background: 'rgba(255, 255, 255, 1)',
@@ -212,6 +213,7 @@ function SecurityInfo({ securityInfo, onClose, showCloseDialog, }) {
212
213
  color: 'rgba(0, 0, 0, 0.88)',
213
214
  fontSize: '13px',
214
215
  fontWeight: '500',
216
+ overflow: 'hidden',
215
217
  }, children: [((_a = securityInfo === null || securityInfo === void 0 ? void 0 : securityInfo.dapp) === null || _a === void 0 ? void 0 : _a.logo) ? ((0, jsx_runtime_1.jsx)("img", { src: (_b = securityInfo === null || securityInfo === void 0 ? void 0 : securityInfo.dapp) === null || _b === void 0 ? void 0 : _b.logo, style: {
216
218
  height: '24px',
217
219
  width: '24px',
@@ -219,10 +221,16 @@ function SecurityInfo({ securityInfo, onClose, showCloseDialog, }) {
219
221
  } })) : ((0, jsx_runtime_1.jsxs)("svg", { width: "18", height: "19", viewBox: "0 0 18 19", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: {
220
222
  width: '24px',
221
223
  height: '24px',
222
- }, children: [(0, jsx_runtime_1.jsx)("path", { d: "M6.6234 6.17768C6.6234 4.79769 7.73338 3.66333 9.1234 3.66333C10.5134 3.66333 11.6234 4.79769 11.6234 6.17768C11.6234 7.30559 10.8798 7.89399 10.4435 8.19056C10.3054 8.28442 10.2138 8.36716 10.1499 8.45311C10.092 8.53086 10.0368 8.63774 10.0107 8.81185C9.92866 9.35801 9.41941 9.73426 8.87325 9.65224C8.3271 9.57021 7.95084 9.06096 8.03287 8.5148C8.19122 7.4605 8.81104 6.8819 9.31912 6.53656C9.47624 6.42975 9.54878 6.36136 9.58594 6.31084C9.60107 6.29027 9.60813 6.27529 9.61242 6.26261C9.61657 6.25036 9.6234 6.22488 9.6234 6.17768C9.6234 5.88426 9.39093 5.66333 9.1234 5.66333C8.85586 5.66333 8.6234 5.88426 8.6234 6.17768C8.6234 6.72996 8.17568 7.17768 7.6234 7.17768C7.07111 7.17768 6.6234 6.72996 6.6234 6.17768Z", fill: "#3C3C3C" }), (0, jsx_runtime_1.jsx)("path", { d: "M7.74976 11.5C7.74976 12.1904 8.3094 12.75 8.99976 12.75C9.69011 12.75 10.2498 12.1904 10.2498 11.5C10.2498 10.8096 9.69011 10.25 8.99976 10.25C8.3094 10.25 7.74976 10.8096 7.74976 11.5Z", fill: "#3C3C3C" }), (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.00195 2.00272e-05L15.0019 0C16.6588 -2.7418e-06 18.002 1.34314 18.002 3V13.0358C18.002 14.6926 16.6588 16.0357 15.002 16.0358L12.3757 16.0358L8.99393 18.8375L5.65157 16.0358H3.00195C1.3451 16.0358 0.00195312 14.6926 0.00195312 13.0358V3.00002C0.00195312 1.34317 1.34509 2.2769e-05 3.00195 2.00272e-05ZM15.002 2L3.00195 2.00002C2.44967 2.00002 2.00195 2.44774 2.00195 3.00002V13.0358C2.00195 13.5881 2.44967 14.0358 3.00195 14.0358H5.65157C6.12143 14.0358 6.57629 14.2012 6.93638 14.503L9.00143 16.2341L11.0997 14.4957C11.4585 14.1984 11.9098 14.0358 12.3757 14.0358L15.002 14.0358C15.5542 14.0358 16.002 13.588 16.002 13.0358V3C16.002 2.44772 15.5542 2 15.002 2Z", fill: "#3C3C3C" })] })), ((_c = securityInfo === null || securityInfo === void 0 ? void 0 : securityInfo.dapp) === null || _c === void 0 ? void 0 : _c.name) || (securityInfo === null || securityInfo === void 0 ? void 0 : securityInfo.host)] }), (0, jsx_runtime_1.jsx)("div", { style: {
224
+ }, children: [(0, jsx_runtime_1.jsx)("path", { d: "M6.6234 6.17768C6.6234 4.79769 7.73338 3.66333 9.1234 3.66333C10.5134 3.66333 11.6234 4.79769 11.6234 6.17768C11.6234 7.30559 10.8798 7.89399 10.4435 8.19056C10.3054 8.28442 10.2138 8.36716 10.1499 8.45311C10.092 8.53086 10.0368 8.63774 10.0107 8.81185C9.92866 9.35801 9.41941 9.73426 8.87325 9.65224C8.3271 9.57021 7.95084 9.06096 8.03287 8.5148C8.19122 7.4605 8.81104 6.8819 9.31912 6.53656C9.47624 6.42975 9.54878 6.36136 9.58594 6.31084C9.60107 6.29027 9.60813 6.27529 9.61242 6.26261C9.61657 6.25036 9.6234 6.22488 9.6234 6.17768C9.6234 5.88426 9.39093 5.66333 9.1234 5.66333C8.85586 5.66333 8.6234 5.88426 8.6234 6.17768C8.6234 6.72996 8.17568 7.17768 7.6234 7.17768C7.07111 7.17768 6.6234 6.72996 6.6234 6.17768Z", fill: "#3C3C3C" }), (0, jsx_runtime_1.jsx)("path", { d: "M7.74976 11.5C7.74976 12.1904 8.3094 12.75 8.99976 12.75C9.69011 12.75 10.2498 12.1904 10.2498 11.5C10.2498 10.8096 9.69011 10.25 8.99976 10.25C8.3094 10.25 7.74976 10.8096 7.74976 11.5Z", fill: "#3C3C3C" }), (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.00195 2.00272e-05L15.0019 0C16.6588 -2.7418e-06 18.002 1.34314 18.002 3V13.0358C18.002 14.6926 16.6588 16.0357 15.002 16.0358L12.3757 16.0358L8.99393 18.8375L5.65157 16.0358H3.00195C1.3451 16.0358 0.00195312 14.6926 0.00195312 13.0358V3.00002C0.00195312 1.34317 1.34509 2.2769e-05 3.00195 2.00272e-05ZM15.002 2L3.00195 2.00002C2.44967 2.00002 2.00195 2.44774 2.00195 3.00002V13.0358C2.00195 13.5881 2.44967 14.0358 3.00195 14.0358H5.65157C6.12143 14.0358 6.57629 14.2012 6.93638 14.503L9.00143 16.2341L11.0997 14.4957C11.4585 14.1984 11.9098 14.0358 12.3757 14.0358L15.002 14.0358C15.5542 14.0358 16.002 13.588 16.002 13.0358V3C16.002 2.44772 15.5542 2 15.002 2Z", fill: "#3C3C3C" })] })), (0, jsx_runtime_1.jsx)("span", { style: {
225
+ width: '100%',
226
+ overflow: 'hidden',
227
+ textOverflow: 'ellipsis'
228
+ }, children: ((_c = securityInfo === null || securityInfo === void 0 ? void 0 : securityInfo.dapp) === null || _c === void 0 ? void 0 : _c.name) || (securityInfo === null || securityInfo === void 0 ? void 0 : securityInfo.host) })] }), (0, jsx_runtime_1.jsx)("div", { style: {
223
229
  width: "24",
224
230
  height: "24",
225
- cursor: "pointer"
231
+ cursor: "pointer",
232
+ display: 'flex',
233
+ alignItems: 'center',
226
234
  }, onClick: () => {
227
235
  onClose();
228
236
  setTimeout(() => {
@@ -299,14 +307,14 @@ function App() {
299
307
  transition: 'transform 0.3s ease-in-out',
300
308
  borderRadius: '100px',
301
309
  }, [isExpanded]);
302
- return ((0, jsx_runtime_1.jsxs)("div", { id: containerId, style: Object.assign({ position: 'fixed', zIndex: 999999, top: '20%', right: '-146px', background: 'rgba(255, 255, 255, 1)', borderWidth: '0.33px', borderColor: 'rgba(0, 0, 0, 0.13)', borderStyle: 'solid', boxShadow: '0px 8.57px 17.14px 0px rgba(0, 0, 0, 0.09)', transition: 'transform 0.3s ease-in-out', transform: isExpanded ? 'translateX(-146px)' : 'translateX(0)' }, borderStyle), children: [showSecurityInfo && securityInfo ? ((0, jsx_runtime_1.jsx)(SecurityInfo, { securityInfo: securityInfo, showCloseDialog: handleShowCloseDialog, onClose: () => {
310
+ return ((0, jsx_runtime_1.jsxs)("div", { id: containerId, style: Object.assign({ position: 'fixed', zIndex: 999999, bottom: '25%', right: '-146px', background: 'rgba(255, 255, 255, 1)', borderWidth: '0.33px', borderColor: 'rgba(0, 0, 0, 0.13)', borderStyle: 'solid', boxShadow: '0px 8.57px 17.14px 0px rgba(0, 0, 0, 0.09)', transition: 'transform 0.3s ease-in-out', transform: isExpanded ? 'translateX(-146px)' : 'translateX(0)' }, borderStyle), children: [showSecurityInfo && securityInfo ? ((0, jsx_runtime_1.jsx)(SecurityInfo, { securityInfo: securityInfo, showCloseDialog: handleShowCloseDialog, onClose: () => {
303
311
  setIsExpanded(false);
304
312
  setIsShowSecurityInfo(false);
305
313
  } })) : ((0, jsx_runtime_1.jsx)(IconButton, { onClick: handleClick, isExpanded: isExpanded, isShowCloseDialog: showCloseDialog, showCloseDialog: handleShowCloseDialog, dataLoaded: !!securityInfo })), !isExpanded && showCloseDialog && ((0, jsx_runtime_1.jsx)(CloseDialog, { onClose: () => {
306
314
  setIsShowCloseDialog(false);
307
315
  } }))] }));
308
316
  }
309
- function injectFloatingButton() {
317
+ function injectIcon() {
310
318
  return __awaiter(this, void 0, void 0, function* () {
311
319
  const { isShow, i18n: i18nResponse } = yield globalThis.$onekey.$private.request({
312
320
  method: 'wallet_isShowFloatingButton',
@@ -328,3 +336,14 @@ function injectFloatingButton() {
328
336
  (0, preact_1.render)((0, jsx_runtime_1.jsx)(App, {}), document.body, div);
329
337
  });
330
338
  }
339
+ function injectFloatingButton() {
340
+ globalThis.$onekey.$private.onNotifyFloatingIconChanged(({ showFloatingIcon }) => {
341
+ if (showFloatingIcon) {
342
+ void injectIcon();
343
+ }
344
+ else {
345
+ removeIcon();
346
+ }
347
+ });
348
+ void injectIcon();
349
+ }
@@ -1 +1 @@
1
- export declare function injectFloatingButton(): Promise<void>;
1
+ export declare function injectFloatingButton(): void;
@@ -24,9 +24,10 @@ const textStyle = {
24
24
  marginLeft: '8px',
25
25
  };
26
26
  const containerId = 'onekey-floating-widget';
27
- const removeApp = () => {
27
+ const removeIcon = () => {
28
28
  var _a;
29
29
  (_a = document.getElementById(containerId)) === null || _a === void 0 ? void 0 : _a.remove();
30
+ isInjected = false;
30
31
  };
31
32
  const useOutsideClick = (ref, callback) => {
32
33
  useEffect(() => {
@@ -49,14 +50,14 @@ function CloseDialog({ onClose }) {
49
50
  void globalThis.$onekey.$private.request({
50
51
  method: 'wallet_disableFloatingButton',
51
52
  });
52
- removeApp();
53
+ removeIcon();
53
54
  }, []);
54
55
  const handleHideOnSite = useCallback(() => {
55
56
  void globalThis.$onekey.$private.request({
56
57
  method: 'wallet_hideFloatingButtonOnSite',
57
58
  params: { url: window.location.origin },
58
59
  });
59
- removeApp();
60
+ removeIcon();
60
61
  }, []);
61
62
  return (_jsxs("div", { style: {
62
63
  background: 'rgba(255, 255, 255, 1)',
@@ -209,6 +210,7 @@ function SecurityInfo({ securityInfo, onClose, showCloseDialog, }) {
209
210
  color: 'rgba(0, 0, 0, 0.88)',
210
211
  fontSize: '13px',
211
212
  fontWeight: '500',
213
+ overflow: 'hidden',
212
214
  }, children: [((_a = securityInfo === null || securityInfo === void 0 ? void 0 : securityInfo.dapp) === null || _a === void 0 ? void 0 : _a.logo) ? (_jsx("img", { src: (_b = securityInfo === null || securityInfo === void 0 ? void 0 : securityInfo.dapp) === null || _b === void 0 ? void 0 : _b.logo, style: {
213
215
  height: '24px',
214
216
  width: '24px',
@@ -216,10 +218,16 @@ function SecurityInfo({ securityInfo, onClose, showCloseDialog, }) {
216
218
  } })) : (_jsxs("svg", { width: "18", height: "19", viewBox: "0 0 18 19", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: {
217
219
  width: '24px',
218
220
  height: '24px',
219
- }, children: [_jsx("path", { d: "M6.6234 6.17768C6.6234 4.79769 7.73338 3.66333 9.1234 3.66333C10.5134 3.66333 11.6234 4.79769 11.6234 6.17768C11.6234 7.30559 10.8798 7.89399 10.4435 8.19056C10.3054 8.28442 10.2138 8.36716 10.1499 8.45311C10.092 8.53086 10.0368 8.63774 10.0107 8.81185C9.92866 9.35801 9.41941 9.73426 8.87325 9.65224C8.3271 9.57021 7.95084 9.06096 8.03287 8.5148C8.19122 7.4605 8.81104 6.8819 9.31912 6.53656C9.47624 6.42975 9.54878 6.36136 9.58594 6.31084C9.60107 6.29027 9.60813 6.27529 9.61242 6.26261C9.61657 6.25036 9.6234 6.22488 9.6234 6.17768C9.6234 5.88426 9.39093 5.66333 9.1234 5.66333C8.85586 5.66333 8.6234 5.88426 8.6234 6.17768C8.6234 6.72996 8.17568 7.17768 7.6234 7.17768C7.07111 7.17768 6.6234 6.72996 6.6234 6.17768Z", fill: "#3C3C3C" }), _jsx("path", { d: "M7.74976 11.5C7.74976 12.1904 8.3094 12.75 8.99976 12.75C9.69011 12.75 10.2498 12.1904 10.2498 11.5C10.2498 10.8096 9.69011 10.25 8.99976 10.25C8.3094 10.25 7.74976 10.8096 7.74976 11.5Z", fill: "#3C3C3C" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.00195 2.00272e-05L15.0019 0C16.6588 -2.7418e-06 18.002 1.34314 18.002 3V13.0358C18.002 14.6926 16.6588 16.0357 15.002 16.0358L12.3757 16.0358L8.99393 18.8375L5.65157 16.0358H3.00195C1.3451 16.0358 0.00195312 14.6926 0.00195312 13.0358V3.00002C0.00195312 1.34317 1.34509 2.2769e-05 3.00195 2.00272e-05ZM15.002 2L3.00195 2.00002C2.44967 2.00002 2.00195 2.44774 2.00195 3.00002V13.0358C2.00195 13.5881 2.44967 14.0358 3.00195 14.0358H5.65157C6.12143 14.0358 6.57629 14.2012 6.93638 14.503L9.00143 16.2341L11.0997 14.4957C11.4585 14.1984 11.9098 14.0358 12.3757 14.0358L15.002 14.0358C15.5542 14.0358 16.002 13.588 16.002 13.0358V3C16.002 2.44772 15.5542 2 15.002 2Z", fill: "#3C3C3C" })] })), ((_c = securityInfo === null || securityInfo === void 0 ? void 0 : securityInfo.dapp) === null || _c === void 0 ? void 0 : _c.name) || (securityInfo === null || securityInfo === void 0 ? void 0 : securityInfo.host)] }), _jsx("div", { style: {
221
+ }, children: [_jsx("path", { d: "M6.6234 6.17768C6.6234 4.79769 7.73338 3.66333 9.1234 3.66333C10.5134 3.66333 11.6234 4.79769 11.6234 6.17768C11.6234 7.30559 10.8798 7.89399 10.4435 8.19056C10.3054 8.28442 10.2138 8.36716 10.1499 8.45311C10.092 8.53086 10.0368 8.63774 10.0107 8.81185C9.92866 9.35801 9.41941 9.73426 8.87325 9.65224C8.3271 9.57021 7.95084 9.06096 8.03287 8.5148C8.19122 7.4605 8.81104 6.8819 9.31912 6.53656C9.47624 6.42975 9.54878 6.36136 9.58594 6.31084C9.60107 6.29027 9.60813 6.27529 9.61242 6.26261C9.61657 6.25036 9.6234 6.22488 9.6234 6.17768C9.6234 5.88426 9.39093 5.66333 9.1234 5.66333C8.85586 5.66333 8.6234 5.88426 8.6234 6.17768C8.6234 6.72996 8.17568 7.17768 7.6234 7.17768C7.07111 7.17768 6.6234 6.72996 6.6234 6.17768Z", fill: "#3C3C3C" }), _jsx("path", { d: "M7.74976 11.5C7.74976 12.1904 8.3094 12.75 8.99976 12.75C9.69011 12.75 10.2498 12.1904 10.2498 11.5C10.2498 10.8096 9.69011 10.25 8.99976 10.25C8.3094 10.25 7.74976 10.8096 7.74976 11.5Z", fill: "#3C3C3C" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.00195 2.00272e-05L15.0019 0C16.6588 -2.7418e-06 18.002 1.34314 18.002 3V13.0358C18.002 14.6926 16.6588 16.0357 15.002 16.0358L12.3757 16.0358L8.99393 18.8375L5.65157 16.0358H3.00195C1.3451 16.0358 0.00195312 14.6926 0.00195312 13.0358V3.00002C0.00195312 1.34317 1.34509 2.2769e-05 3.00195 2.00272e-05ZM15.002 2L3.00195 2.00002C2.44967 2.00002 2.00195 2.44774 2.00195 3.00002V13.0358C2.00195 13.5881 2.44967 14.0358 3.00195 14.0358H5.65157C6.12143 14.0358 6.57629 14.2012 6.93638 14.503L9.00143 16.2341L11.0997 14.4957C11.4585 14.1984 11.9098 14.0358 12.3757 14.0358L15.002 14.0358C15.5542 14.0358 16.002 13.588 16.002 13.0358V3C16.002 2.44772 15.5542 2 15.002 2Z", fill: "#3C3C3C" })] })), _jsx("span", { style: {
222
+ width: '100%',
223
+ overflow: 'hidden',
224
+ textOverflow: 'ellipsis'
225
+ }, children: ((_c = securityInfo === null || securityInfo === void 0 ? void 0 : securityInfo.dapp) === null || _c === void 0 ? void 0 : _c.name) || (securityInfo === null || securityInfo === void 0 ? void 0 : securityInfo.host) })] }), _jsx("div", { style: {
220
226
  width: "24",
221
227
  height: "24",
222
- cursor: "pointer"
228
+ cursor: "pointer",
229
+ display: 'flex',
230
+ alignItems: 'center',
223
231
  }, onClick: () => {
224
232
  onClose();
225
233
  setTimeout(() => {
@@ -296,14 +304,14 @@ function App() {
296
304
  transition: 'transform 0.3s ease-in-out',
297
305
  borderRadius: '100px',
298
306
  }, [isExpanded]);
299
- return (_jsxs("div", { id: containerId, style: Object.assign({ position: 'fixed', zIndex: 999999, top: '20%', right: '-146px', background: 'rgba(255, 255, 255, 1)', borderWidth: '0.33px', borderColor: 'rgba(0, 0, 0, 0.13)', borderStyle: 'solid', boxShadow: '0px 8.57px 17.14px 0px rgba(0, 0, 0, 0.09)', transition: 'transform 0.3s ease-in-out', transform: isExpanded ? 'translateX(-146px)' : 'translateX(0)' }, borderStyle), children: [showSecurityInfo && securityInfo ? (_jsx(SecurityInfo, { securityInfo: securityInfo, showCloseDialog: handleShowCloseDialog, onClose: () => {
307
+ return (_jsxs("div", { id: containerId, style: Object.assign({ position: 'fixed', zIndex: 999999, bottom: '25%', right: '-146px', background: 'rgba(255, 255, 255, 1)', borderWidth: '0.33px', borderColor: 'rgba(0, 0, 0, 0.13)', borderStyle: 'solid', boxShadow: '0px 8.57px 17.14px 0px rgba(0, 0, 0, 0.09)', transition: 'transform 0.3s ease-in-out', transform: isExpanded ? 'translateX(-146px)' : 'translateX(0)' }, borderStyle), children: [showSecurityInfo && securityInfo ? (_jsx(SecurityInfo, { securityInfo: securityInfo, showCloseDialog: handleShowCloseDialog, onClose: () => {
300
308
  setIsExpanded(false);
301
309
  setIsShowSecurityInfo(false);
302
310
  } })) : (_jsx(IconButton, { onClick: handleClick, isExpanded: isExpanded, isShowCloseDialog: showCloseDialog, showCloseDialog: handleShowCloseDialog, dataLoaded: !!securityInfo })), !isExpanded && showCloseDialog && (_jsx(CloseDialog, { onClose: () => {
303
311
  setIsShowCloseDialog(false);
304
312
  } }))] }));
305
313
  }
306
- export function injectFloatingButton() {
314
+ function injectIcon() {
307
315
  return __awaiter(this, void 0, void 0, function* () {
308
316
  const { isShow, i18n: i18nResponse } = yield globalThis.$onekey.$private.request({
309
317
  method: 'wallet_isShowFloatingButton',
@@ -325,3 +333,14 @@ export function injectFloatingButton() {
325
333
  render(_jsx(App, {}), document.body, div);
326
334
  });
327
335
  }
336
+ export function injectFloatingButton() {
337
+ globalThis.$onekey.$private.onNotifyFloatingIconChanged(({ showFloatingIcon }) => {
338
+ if (showFloatingIcon) {
339
+ void injectIcon();
340
+ }
341
+ else {
342
+ removeIcon();
343
+ }
344
+ });
345
+ void injectIcon();
346
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/inpage-providers-hub",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "keywords": [
5
5
  "cross-inpage-provider"
6
6
  ],
@@ -30,26 +30,26 @@
30
30
  "start": "tsc --watch"
31
31
  },
32
32
  "dependencies": {
33
- "@onekeyfe/cross-inpage-provider-core": "2.2.0",
34
- "@onekeyfe/cross-inpage-provider-types": "2.2.0",
35
- "@onekeyfe/onekey-algo-provider": "2.2.0",
36
- "@onekeyfe/onekey-alph-provider": "2.2.0",
37
- "@onekeyfe/onekey-aptos-provider": "2.2.0",
38
- "@onekeyfe/onekey-bfc-provider": "2.2.0",
39
- "@onekeyfe/onekey-btc-provider": "2.2.0",
40
- "@onekeyfe/onekey-cardano-provider": "2.2.0",
41
- "@onekeyfe/onekey-conflux-provider": "2.2.0",
42
- "@onekeyfe/onekey-cosmos-provider": "2.2.0",
43
- "@onekeyfe/onekey-eth-provider": "2.2.0",
44
- "@onekeyfe/onekey-nostr-provider": "2.2.0",
45
- "@onekeyfe/onekey-polkadot-provider": "2.2.0",
46
- "@onekeyfe/onekey-private-provider": "2.2.0",
47
- "@onekeyfe/onekey-scdo-provider": "2.2.0",
48
- "@onekeyfe/onekey-solana-provider": "2.2.0",
49
- "@onekeyfe/onekey-sui-provider": "2.2.0",
50
- "@onekeyfe/onekey-ton-provider": "2.2.0",
51
- "@onekeyfe/onekey-tron-provider": "2.2.0",
52
- "@onekeyfe/onekey-webln-provider": "2.2.0",
33
+ "@onekeyfe/cross-inpage-provider-core": "2.2.1",
34
+ "@onekeyfe/cross-inpage-provider-types": "2.2.1",
35
+ "@onekeyfe/onekey-algo-provider": "2.2.1",
36
+ "@onekeyfe/onekey-alph-provider": "2.2.1",
37
+ "@onekeyfe/onekey-aptos-provider": "2.2.1",
38
+ "@onekeyfe/onekey-bfc-provider": "2.2.1",
39
+ "@onekeyfe/onekey-btc-provider": "2.2.1",
40
+ "@onekeyfe/onekey-cardano-provider": "2.2.1",
41
+ "@onekeyfe/onekey-conflux-provider": "2.2.1",
42
+ "@onekeyfe/onekey-cosmos-provider": "2.2.1",
43
+ "@onekeyfe/onekey-eth-provider": "2.2.1",
44
+ "@onekeyfe/onekey-nostr-provider": "2.2.1",
45
+ "@onekeyfe/onekey-polkadot-provider": "2.2.1",
46
+ "@onekeyfe/onekey-private-provider": "2.2.1",
47
+ "@onekeyfe/onekey-scdo-provider": "2.2.1",
48
+ "@onekeyfe/onekey-solana-provider": "2.2.1",
49
+ "@onekeyfe/onekey-sui-provider": "2.2.1",
50
+ "@onekeyfe/onekey-ton-provider": "2.2.1",
51
+ "@onekeyfe/onekey-tron-provider": "2.2.1",
52
+ "@onekeyfe/onekey-webln-provider": "2.2.1",
53
53
  "preact": "^10.25.1",
54
54
  "web3": "^1.7.3"
55
55
  },
@@ -58,5 +58,5 @@
58
58
  "@types/node": "^20.12.7",
59
59
  "playwright": "^1.43.1"
60
60
  },
61
- "gitHead": "13b468b24dc8c075cd088d152c11a4b6c7c20dd2"
61
+ "gitHead": "00563062ab442fa313c5c6428e9ad05b93ee0950"
62
62
  }