@openocean.finance/widget 1.0.36 → 1.0.37

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openocean.finance/widget",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "description": "Openocean Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.",
5
5
  "type": "module",
6
6
  "main": "./dist/esm/index.js",
@@ -1,2 +1,2 @@
1
1
  export const name = '@openocean.finance/widget'
2
- export const version = '1.0.36'
2
+ export const version = '1.0.37'
@@ -35,7 +35,7 @@ const mappingChain: Record<string, ChainName> = {
35
35
  [ChainId.BAS]: 'base',
36
36
  [ChainId.UNI]: 'unichain',
37
37
  // [ChainId.LIN]: 'linea',
38
- [999]: 'hyperevm',
38
+ [ChainId.HYE]: 'hyperevm',
39
39
  [ChainId.SOL]: 'solana',
40
40
  [ChainId.SUI]: 'sui',
41
41
  }
@@ -117,7 +117,7 @@ export class RelayAdapter extends BaseSwapAdapter {
117
117
  return 'https://storage.googleapis.com/ks-setting-1d682dca/84e906bb-eaeb-45d3-a64c-2aa9c84eb3ea1747759080942.png'
118
118
  }
119
119
  getSupportedChains(): Chain[] {
120
- return [NonEvmChain.Solana, 999, ...MAINNET_NETWORKS]
120
+ return [NonEvmChain.Solana, ...MAINNET_NETWORKS]
121
121
  // return [...MAINNET_NETWORKS]
122
122
  }
123
123
 
@@ -177,6 +177,7 @@ export const MAINNET_NETWORKS = [
177
177
  ChainId.OPT,
178
178
  // ChainId.FTM,
179
179
  // ChainId.MAM,
180
+ ChainId.HYE,
180
181
  ChainId.MNT,
181
182
  ChainId.SON,
182
183
  ChainId.UNI,