@onekeyfe/inpage-providers-hub 2.2.38 → 2.2.39

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.
@@ -1,11 +1,23 @@
1
+ export type IHyperliquidBuilderCustomSettings = {
2
+ hideNavBar?: boolean;
3
+ hideNavBarConnectButton?: boolean;
4
+ hideNotOneKeyWalletConnectButton?: boolean;
5
+ };
1
6
  export declare class HyperliquidBuilderStore {
2
7
  private static store;
3
8
  private static _expectBuilderAddress;
4
9
  private static _expectMaxBuilderFee;
10
+ private static _customSettings;
5
11
  static get expectBuilderAddress(): string | undefined;
6
12
  static set expectBuilderAddress(value: string | undefined);
7
13
  static get expectMaxBuilderFee(): number | undefined;
8
14
  static set expectMaxBuilderFee(value: number | undefined);
15
+ static get customSettings(): {
16
+ hideNavBar?: boolean;
17
+ hideNavBarConnectButton?: boolean;
18
+ hideNotOneKeyWalletConnectButton?: boolean;
19
+ } | undefined;
20
+ static set customSettings(value: IHyperliquidBuilderCustomSettings | undefined);
9
21
  static updateBuilderInfo(address: string, fee: number): void;
10
22
  static flush(): void;
11
23
  static storeUpdateByOneKeyWallet: boolean;
@@ -1,36 +1,54 @@
1
1
  import { LocalStorageStore } from '../utils/LocalStorageStore';
2
2
  const prefix = 'hyperliquid.k_config_v3.'; //builder
3
- const expectBuilderAddressKey = 'a';
4
- const expectMaxBuilderFeeKey = 'v';
3
+ const storageKeys = {
4
+ expectBuilderAddress: 'a',
5
+ expectMaxBuilderFee: 'f',
6
+ customSettings: 's',
7
+ };
5
8
  export class HyperliquidBuilderStore {
6
9
  static get expectBuilderAddress() {
7
10
  if (this._expectBuilderAddress === undefined) {
8
- this._expectBuilderAddress = this.store.get(expectBuilderAddressKey);
11
+ this._expectBuilderAddress = this.store.get(storageKeys.expectBuilderAddress);
9
12
  }
10
13
  return this._expectBuilderAddress;
11
14
  }
12
15
  static set expectBuilderAddress(value) {
13
16
  this._expectBuilderAddress = value;
14
17
  if (value === undefined) {
15
- this.store.remove(expectBuilderAddressKey);
18
+ this.store.remove(storageKeys.expectBuilderAddress);
16
19
  }
17
20
  else {
18
- this.store.set(expectBuilderAddressKey, value);
21
+ this.store.set(storageKeys.expectBuilderAddress, value);
19
22
  }
20
23
  }
21
24
  static get expectMaxBuilderFee() {
22
25
  if (this._expectMaxBuilderFee === undefined) {
23
- this._expectMaxBuilderFee = this.store.get(expectMaxBuilderFeeKey);
26
+ this._expectMaxBuilderFee = this.store.get(storageKeys.expectMaxBuilderFee);
24
27
  }
25
28
  return this._expectMaxBuilderFee;
26
29
  }
27
30
  static set expectMaxBuilderFee(value) {
28
31
  this._expectMaxBuilderFee = value;
29
32
  if (value === undefined) {
30
- this.store.remove(expectMaxBuilderFeeKey);
33
+ this.store.remove(storageKeys.expectMaxBuilderFee);
31
34
  }
32
35
  else {
33
- this.store.set(expectMaxBuilderFeeKey, value);
36
+ this.store.set(storageKeys.expectMaxBuilderFee, value);
37
+ }
38
+ }
39
+ static get customSettings() {
40
+ if (this._customSettings === undefined) {
41
+ this._customSettings = this.store.get(storageKeys.customSettings);
42
+ }
43
+ return this._customSettings;
44
+ }
45
+ static set customSettings(value) {
46
+ this._customSettings = value;
47
+ if (value === undefined) {
48
+ this.store.remove(storageKeys.customSettings);
49
+ }
50
+ else {
51
+ this.store.set(storageKeys.customSettings, value);
34
52
  }
35
53
  }
36
54
  static updateBuilderInfo(address, fee) {
@@ -14,7 +14,7 @@ import { isNumber, isString } from 'lodash-es';
14
14
  import { hackConnectButton } from '../connectButtonHack/hackConnectButton';
15
15
  import providersHubUtils from '../utils/providersHubUtils';
16
16
  import { HYPERLIQUID_HOSTNAME } from './consts';
17
- import { HyperliquidBuilderStore } from './HyperliquidBuilderStore';
17
+ import { HyperliquidBuilderStore, } from './HyperliquidBuilderStore';
18
18
  import hyperLiquidDappDetecter from './hyperLiquidDappDetecter';
19
19
  function getEthereum() {
20
20
  var _a;
@@ -55,6 +55,15 @@ function saveBuilderFeeConfigToStorage({ result, fromSource, }) {
55
55
  console.error(error);
56
56
  }
57
57
  }
58
+ if (result === null || result === void 0 ? void 0 : result.customSettings) {
59
+ providersHubUtils.consoleLog('BuiltInPerpInjected___saveBuilderFeeConfigToStorage>>>>result.customSettings22211', result.customSettings);
60
+ try {
61
+ HyperliquidBuilderStore.customSettings = result.customSettings;
62
+ }
63
+ catch (error) {
64
+ console.error(error);
65
+ }
66
+ }
58
67
  if ((result === null || result === void 0 ? void 0 : result.expectBuilderAddress) &&
59
68
  isNumber(result === null || result === void 0 ? void 0 : result.expectMaxBuilderFee) &&
60
69
  (result === null || result === void 0 ? void 0 : result.expectMaxBuilderFee) >= 0) {
@@ -104,34 +113,41 @@ function hackConnectionButton() {
104
113
  urls: [HYPERLIQUID_HOSTNAME],
105
114
  providers: [IInjectedProviderNames.ethereum],
106
115
  replaceMethod() {
116
+ var _a;
117
+ const customSettings = HyperliquidBuilderStore === null || HyperliquidBuilderStore === void 0 ? void 0 : HyperliquidBuilderStore.customSettings;
107
118
  const hideNavigationBar = () => {
108
- var _a, _b, _c, _d, _e, _f, _g, _h;
109
- const siteIcon = (_d = (_c = (_b = (_a = window === null || window === void 0 ? void 0 : window.document) === null || _a === void 0 ? void 0 : _a.querySelectorAll) === null || _b === void 0 ? void 0 : _b.call(_a, 'a[href="/trade"]>svg')) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.parentElement;
110
- const navBarItems = (_e = siteIcon === null || siteIcon === void 0 ? void 0 : siteIcon.nextElementSibling) === null || _e === void 0 ? void 0 : _e.childNodes;
111
- const navBarRightContainer = (_f = siteIcon === null || siteIcon === void 0 ? void 0 : siteIcon.nextElementSibling) === null || _f === void 0 ? void 0 : _f.nextElementSibling;
112
- navBarItems === null || navBarItems === void 0 ? void 0 : navBarItems.forEach((item, index) => {
113
- var _a;
114
- try {
115
- const ele = item;
116
- if (index >= 1) {
117
- const href = (_a = ele === null || ele === void 0 ? void 0 : ele.querySelector('a')) === null || _a === void 0 ? void 0 : _a.getAttribute('href');
118
- if (ele && !(href === null || href === void 0 ? void 0 : href.includes('/trade'))) {
119
- ele.style.display = 'none';
119
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
120
+ let navBarRightContainer;
121
+ if ((_a = customSettings === null || customSettings === void 0 ? void 0 : customSettings.hideNavBar) !== null && _a !== void 0 ? _a : true) {
122
+ const siteIcon = (_e = (_d = (_c = (_b = window === null || window === void 0 ? void 0 : window.document) === null || _b === void 0 ? void 0 : _b.querySelectorAll) === null || _c === void 0 ? void 0 : _c.call(_b, 'a[href="/trade"]>svg')) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.parentElement;
123
+ const navBarItems = (_f = siteIcon === null || siteIcon === void 0 ? void 0 : siteIcon.nextElementSibling) === null || _f === void 0 ? void 0 : _f.childNodes;
124
+ navBarRightContainer = (_g = siteIcon === null || siteIcon === void 0 ? void 0 : siteIcon.nextElementSibling) === null || _g === void 0 ? void 0 : _g.nextElementSibling;
125
+ navBarItems === null || navBarItems === void 0 ? void 0 : navBarItems.forEach((item, index) => {
126
+ var _a;
127
+ try {
128
+ const ele = item;
129
+ if (index >= 1) {
130
+ const href = (_a = ele === null || ele === void 0 ? void 0 : ele.querySelector('a')) === null || _a === void 0 ? void 0 : _a.getAttribute('href');
131
+ if (ele && !(href === null || href === void 0 ? void 0 : href.includes('/trade'))) {
132
+ ele.style.display = 'none';
133
+ }
120
134
  }
121
135
  }
122
- }
123
- catch (error) {
124
- console.error(error);
125
- }
126
- });
127
- if (navBarRightContainer) {
128
- const button = navBarRightContainer.querySelector('button');
129
- if (button && ((_h = (_g = button === null || button === void 0 ? void 0 : button.textContent) === null || _g === void 0 ? void 0 : _g.toLowerCase()) === null || _h === void 0 ? void 0 : _h.trim()) === 'connect') {
130
- button.style.display = 'none';
136
+ catch (error) {
137
+ console.error(error);
138
+ }
139
+ });
140
+ }
141
+ if ((_h = customSettings === null || customSettings === void 0 ? void 0 : customSettings.hideNavBarConnectButton) !== null && _h !== void 0 ? _h : false) {
142
+ if (navBarRightContainer) {
143
+ const button = navBarRightContainer.querySelector('button');
144
+ if (button && ((_k = (_j = button === null || button === void 0 ? void 0 : button.textContent) === null || _j === void 0 ? void 0 : _j.toLowerCase()) === null || _k === void 0 ? void 0 : _k.trim()) === 'connect') {
145
+ button.style.display = 'none';
146
+ }
131
147
  }
132
148
  }
133
149
  };
134
- const hideConnectButton = () => {
150
+ const hideNotOneKeyWalletConnectButton = () => {
135
151
  var _a;
136
152
  const buttons = Array.from((_a = document === null || document === void 0 ? void 0 : document.querySelectorAll) === null || _a === void 0 ? void 0 : _a.call(document, 'div.modal button'));
137
153
  const oneKeyButton = buttons.find((button) => { var _a, _b, _c; return (_c = (_b = (_a = button === null || button === void 0 ? void 0 : button.textContent) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === null || _b === void 0 ? void 0 : _b.includes) === null || _c === void 0 ? void 0 : _c.call(_b, 'onekey'); });
@@ -159,7 +175,9 @@ function hackConnectionButton() {
159
175
  console.error(error);
160
176
  }
161
177
  try {
162
- hideConnectButton();
178
+ if ((_a = customSettings === null || customSettings === void 0 ? void 0 : customSettings.hideNotOneKeyWalletConnectButton) !== null && _a !== void 0 ? _a : true) {
179
+ hideNotOneKeyWalletConnectButton();
180
+ }
163
181
  }
164
182
  catch (error) {
165
183
  console.error(error);
@@ -3,37 +3,55 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.HyperliquidBuilderStore = void 0;
4
4
  const LocalStorageStore_1 = require("../utils/LocalStorageStore");
5
5
  const prefix = 'hyperliquid.k_config_v3.'; //builder
6
- const expectBuilderAddressKey = 'a';
7
- const expectMaxBuilderFeeKey = 'v';
6
+ const storageKeys = {
7
+ expectBuilderAddress: 'a',
8
+ expectMaxBuilderFee: 'f',
9
+ customSettings: 's',
10
+ };
8
11
  class HyperliquidBuilderStore {
9
12
  static get expectBuilderAddress() {
10
13
  if (this._expectBuilderAddress === undefined) {
11
- this._expectBuilderAddress = this.store.get(expectBuilderAddressKey);
14
+ this._expectBuilderAddress = this.store.get(storageKeys.expectBuilderAddress);
12
15
  }
13
16
  return this._expectBuilderAddress;
14
17
  }
15
18
  static set expectBuilderAddress(value) {
16
19
  this._expectBuilderAddress = value;
17
20
  if (value === undefined) {
18
- this.store.remove(expectBuilderAddressKey);
21
+ this.store.remove(storageKeys.expectBuilderAddress);
19
22
  }
20
23
  else {
21
- this.store.set(expectBuilderAddressKey, value);
24
+ this.store.set(storageKeys.expectBuilderAddress, value);
22
25
  }
23
26
  }
24
27
  static get expectMaxBuilderFee() {
25
28
  if (this._expectMaxBuilderFee === undefined) {
26
- this._expectMaxBuilderFee = this.store.get(expectMaxBuilderFeeKey);
29
+ this._expectMaxBuilderFee = this.store.get(storageKeys.expectMaxBuilderFee);
27
30
  }
28
31
  return this._expectMaxBuilderFee;
29
32
  }
30
33
  static set expectMaxBuilderFee(value) {
31
34
  this._expectMaxBuilderFee = value;
32
35
  if (value === undefined) {
33
- this.store.remove(expectMaxBuilderFeeKey);
36
+ this.store.remove(storageKeys.expectMaxBuilderFee);
34
37
  }
35
38
  else {
36
- this.store.set(expectMaxBuilderFeeKey, value);
39
+ this.store.set(storageKeys.expectMaxBuilderFee, value);
40
+ }
41
+ }
42
+ static get customSettings() {
43
+ if (this._customSettings === undefined) {
44
+ this._customSettings = this.store.get(storageKeys.customSettings);
45
+ }
46
+ return this._customSettings;
47
+ }
48
+ static set customSettings(value) {
49
+ this._customSettings = value;
50
+ if (value === undefined) {
51
+ this.store.remove(storageKeys.customSettings);
52
+ }
53
+ else {
54
+ this.store.set(storageKeys.customSettings, value);
37
55
  }
38
56
  }
39
57
  static updateBuilderInfo(address, fee) {
@@ -60,6 +60,15 @@ function saveBuilderFeeConfigToStorage({ result, fromSource, }) {
60
60
  console.error(error);
61
61
  }
62
62
  }
63
+ if (result === null || result === void 0 ? void 0 : result.customSettings) {
64
+ providersHubUtils_1.default.consoleLog('BuiltInPerpInjected___saveBuilderFeeConfigToStorage>>>>result.customSettings22211', result.customSettings);
65
+ try {
66
+ HyperliquidBuilderStore_1.HyperliquidBuilderStore.customSettings = result.customSettings;
67
+ }
68
+ catch (error) {
69
+ console.error(error);
70
+ }
71
+ }
63
72
  if ((result === null || result === void 0 ? void 0 : result.expectBuilderAddress) &&
64
73
  (0, lodash_es_1.isNumber)(result === null || result === void 0 ? void 0 : result.expectMaxBuilderFee) &&
65
74
  (result === null || result === void 0 ? void 0 : result.expectMaxBuilderFee) >= 0) {
@@ -109,34 +118,41 @@ function hackConnectionButton() {
109
118
  urls: [consts_1.HYPERLIQUID_HOSTNAME],
110
119
  providers: [cross_inpage_provider_types_1.IInjectedProviderNames.ethereum],
111
120
  replaceMethod() {
121
+ var _a;
122
+ const customSettings = HyperliquidBuilderStore_1.HyperliquidBuilderStore === null || HyperliquidBuilderStore_1.HyperliquidBuilderStore === void 0 ? void 0 : HyperliquidBuilderStore_1.HyperliquidBuilderStore.customSettings;
112
123
  const hideNavigationBar = () => {
113
- var _a, _b, _c, _d, _e, _f, _g, _h;
114
- const siteIcon = (_d = (_c = (_b = (_a = window === null || window === void 0 ? void 0 : window.document) === null || _a === void 0 ? void 0 : _a.querySelectorAll) === null || _b === void 0 ? void 0 : _b.call(_a, 'a[href="/trade"]>svg')) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.parentElement;
115
- const navBarItems = (_e = siteIcon === null || siteIcon === void 0 ? void 0 : siteIcon.nextElementSibling) === null || _e === void 0 ? void 0 : _e.childNodes;
116
- const navBarRightContainer = (_f = siteIcon === null || siteIcon === void 0 ? void 0 : siteIcon.nextElementSibling) === null || _f === void 0 ? void 0 : _f.nextElementSibling;
117
- navBarItems === null || navBarItems === void 0 ? void 0 : navBarItems.forEach((item, index) => {
118
- var _a;
119
- try {
120
- const ele = item;
121
- if (index >= 1) {
122
- const href = (_a = ele === null || ele === void 0 ? void 0 : ele.querySelector('a')) === null || _a === void 0 ? void 0 : _a.getAttribute('href');
123
- if (ele && !(href === null || href === void 0 ? void 0 : href.includes('/trade'))) {
124
- ele.style.display = 'none';
124
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
125
+ let navBarRightContainer;
126
+ if ((_a = customSettings === null || customSettings === void 0 ? void 0 : customSettings.hideNavBar) !== null && _a !== void 0 ? _a : true) {
127
+ const siteIcon = (_e = (_d = (_c = (_b = window === null || window === void 0 ? void 0 : window.document) === null || _b === void 0 ? void 0 : _b.querySelectorAll) === null || _c === void 0 ? void 0 : _c.call(_b, 'a[href="/trade"]>svg')) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.parentElement;
128
+ const navBarItems = (_f = siteIcon === null || siteIcon === void 0 ? void 0 : siteIcon.nextElementSibling) === null || _f === void 0 ? void 0 : _f.childNodes;
129
+ navBarRightContainer = (_g = siteIcon === null || siteIcon === void 0 ? void 0 : siteIcon.nextElementSibling) === null || _g === void 0 ? void 0 : _g.nextElementSibling;
130
+ navBarItems === null || navBarItems === void 0 ? void 0 : navBarItems.forEach((item, index) => {
131
+ var _a;
132
+ try {
133
+ const ele = item;
134
+ if (index >= 1) {
135
+ const href = (_a = ele === null || ele === void 0 ? void 0 : ele.querySelector('a')) === null || _a === void 0 ? void 0 : _a.getAttribute('href');
136
+ if (ele && !(href === null || href === void 0 ? void 0 : href.includes('/trade'))) {
137
+ ele.style.display = 'none';
138
+ }
125
139
  }
126
140
  }
127
- }
128
- catch (error) {
129
- console.error(error);
130
- }
131
- });
132
- if (navBarRightContainer) {
133
- const button = navBarRightContainer.querySelector('button');
134
- if (button && ((_h = (_g = button === null || button === void 0 ? void 0 : button.textContent) === null || _g === void 0 ? void 0 : _g.toLowerCase()) === null || _h === void 0 ? void 0 : _h.trim()) === 'connect') {
135
- button.style.display = 'none';
141
+ catch (error) {
142
+ console.error(error);
143
+ }
144
+ });
145
+ }
146
+ if ((_h = customSettings === null || customSettings === void 0 ? void 0 : customSettings.hideNavBarConnectButton) !== null && _h !== void 0 ? _h : false) {
147
+ if (navBarRightContainer) {
148
+ const button = navBarRightContainer.querySelector('button');
149
+ if (button && ((_k = (_j = button === null || button === void 0 ? void 0 : button.textContent) === null || _j === void 0 ? void 0 : _j.toLowerCase()) === null || _k === void 0 ? void 0 : _k.trim()) === 'connect') {
150
+ button.style.display = 'none';
151
+ }
136
152
  }
137
153
  }
138
154
  };
139
- const hideConnectButton = () => {
155
+ const hideNotOneKeyWalletConnectButton = () => {
140
156
  var _a;
141
157
  const buttons = Array.from((_a = document === null || document === void 0 ? void 0 : document.querySelectorAll) === null || _a === void 0 ? void 0 : _a.call(document, 'div.modal button'));
142
158
  const oneKeyButton = buttons.find((button) => { var _a, _b, _c; return (_c = (_b = (_a = button === null || button === void 0 ? void 0 : button.textContent) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === null || _b === void 0 ? void 0 : _b.includes) === null || _c === void 0 ? void 0 : _c.call(_b, 'onekey'); });
@@ -164,7 +180,9 @@ function hackConnectionButton() {
164
180
  console.error(error);
165
181
  }
166
182
  try {
167
- hideConnectButton();
183
+ if ((_a = customSettings === null || customSettings === void 0 ? void 0 : customSettings.hideNotOneKeyWalletConnectButton) !== null && _a !== void 0 ? _a : true) {
184
+ hideNotOneKeyWalletConnectButton();
185
+ }
168
186
  }
169
187
  catch (error) {
170
188
  console.error(error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/inpage-providers-hub",
3
- "version": "2.2.38",
3
+ "version": "2.2.39",
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.38",
31
- "@onekeyfe/cross-inpage-provider-types": "2.2.38",
32
- "@onekeyfe/onekey-algo-provider": "2.2.38",
33
- "@onekeyfe/onekey-alph-provider": "2.2.38",
34
- "@onekeyfe/onekey-aptos-provider": "2.2.38",
35
- "@onekeyfe/onekey-bfc-provider": "2.2.38",
36
- "@onekeyfe/onekey-btc-provider": "2.2.38",
37
- "@onekeyfe/onekey-cardano-provider": "2.2.38",
38
- "@onekeyfe/onekey-conflux-provider": "2.2.38",
39
- "@onekeyfe/onekey-cosmos-provider": "2.2.38",
40
- "@onekeyfe/onekey-eth-provider": "2.2.38",
41
- "@onekeyfe/onekey-neo-provider": "2.2.38",
42
- "@onekeyfe/onekey-nostr-provider": "2.2.38",
43
- "@onekeyfe/onekey-polkadot-provider": "2.2.38",
44
- "@onekeyfe/onekey-private-provider": "2.2.38",
45
- "@onekeyfe/onekey-scdo-provider": "2.2.38",
46
- "@onekeyfe/onekey-solana-provider": "2.2.38",
47
- "@onekeyfe/onekey-sui-provider": "2.2.38",
48
- "@onekeyfe/onekey-ton-provider": "2.2.38",
49
- "@onekeyfe/onekey-tron-provider": "2.2.38",
50
- "@onekeyfe/onekey-webln-provider": "2.2.38",
30
+ "@onekeyfe/cross-inpage-provider-core": "2.2.39",
31
+ "@onekeyfe/cross-inpage-provider-types": "2.2.39",
32
+ "@onekeyfe/onekey-algo-provider": "2.2.39",
33
+ "@onekeyfe/onekey-alph-provider": "2.2.39",
34
+ "@onekeyfe/onekey-aptos-provider": "2.2.39",
35
+ "@onekeyfe/onekey-bfc-provider": "2.2.39",
36
+ "@onekeyfe/onekey-btc-provider": "2.2.39",
37
+ "@onekeyfe/onekey-cardano-provider": "2.2.39",
38
+ "@onekeyfe/onekey-conflux-provider": "2.2.39",
39
+ "@onekeyfe/onekey-cosmos-provider": "2.2.39",
40
+ "@onekeyfe/onekey-eth-provider": "2.2.39",
41
+ "@onekeyfe/onekey-neo-provider": "2.2.39",
42
+ "@onekeyfe/onekey-nostr-provider": "2.2.39",
43
+ "@onekeyfe/onekey-polkadot-provider": "2.2.39",
44
+ "@onekeyfe/onekey-private-provider": "2.2.39",
45
+ "@onekeyfe/onekey-scdo-provider": "2.2.39",
46
+ "@onekeyfe/onekey-solana-provider": "2.2.39",
47
+ "@onekeyfe/onekey-sui-provider": "2.2.39",
48
+ "@onekeyfe/onekey-ton-provider": "2.2.39",
49
+ "@onekeyfe/onekey-tron-provider": "2.2.39",
50
+ "@onekeyfe/onekey-webln-provider": "2.2.39",
51
51
  "lodash-es": "^4.17.21",
52
52
  "preact": "^10.25.1"
53
53
  },
@@ -55,5 +55,5 @@
55
55
  "@types/lodash-es": "^4.17.12",
56
56
  "@types/node": "^20.12.7"
57
57
  },
58
- "gitHead": "42c209ede6357a1910ba184de8f33cefc5ee3bdb"
58
+ "gitHead": "e6e12930ba5139c204cef7bd3c56b3b21f7c217b"
59
59
  }