@rabby-wallet/rabby-swap 0.0.73-beta.1 → 0.0.74-beta.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.
@@ -15,6 +15,7 @@ export const SUPPORT_CHAINS = [
15
15
  CHAINS_ENUM.SCRL,
16
16
  "PLASMA",
17
17
  "MONAD",
18
+ "HYPER",
18
19
  ];
19
20
  export const getQuote = generateGetQuote({
20
21
  SUPPORT_CHAINS,
@@ -64,6 +64,7 @@ export const SUPPORT_CHAINS = [
64
64
  "PLASMA",
65
65
  "MONAD",
66
66
  CHAINS_ENUM.RSK,
67
+ CHAINS_ENUM.KAVA,
67
68
  /**
68
69
  * 接口返回 swap error
69
70
  */
@@ -43,6 +43,7 @@ export const SUPPORT_CHAINS = [
43
43
  "ABS",
44
44
  "HYPER",
45
45
  "MEGAETH",
46
+ CHAINS_ENUM.KAVA,
46
47
  ];
47
48
  export const getQuote = (options) => __awaiter(void 0, void 0, void 0, function* () {
48
49
  if (!options.chainServerId || !options.nativeTokenAddress) {
package/dist/list.d.ts CHANGED
@@ -23,6 +23,7 @@ export declare const WrapTokenAddressMap: {
23
23
  METIS: string;
24
24
  MANTA: string;
25
25
  RSK: string;
26
+ KAVA: string;
26
27
  };
27
28
  export declare const DEX_SUPPORT_CHAINS: {
28
29
  WrapToken: CHAINS_ENUM[];
package/dist/list.js CHANGED
@@ -50,6 +50,7 @@ export const WrapTokenAddressMap = {
50
50
  ["MONAD"]: "0x3bd359c1119da7da1d913d1c4d2b7c461115433a",
51
51
  [CHAINS_ENUM.RSK]: "0x967f8799aF07DF1534d48A95a5C9FEBE92c53ae0",
52
52
  ["MEGAETH"]: "0x4200000000000000000000000000000000000006",
53
+ [CHAINS_ENUM.KAVA]: "0xc86c7c0efbd6a49b35e8714c5f59d99de09a225b",
53
54
  };
54
55
  export const DEX_SUPPORT_CHAINS = {
55
56
  [DEX_ENUM.WRAPTOKEN]: wrapTokenSupportChains,
@@ -197,6 +198,7 @@ export const DEX_ROUTER_WHITELIST = {
197
198
  [CHAINS_ENUM.SCRL]: "0x0000000000005e88410ccdfade4a5efae4b49562",
198
199
  ["PLASMA"]: "0x0000000000001ff3684f28c67538d4d072c22734",
199
200
  ["MONAD"]: "0x0000000000001ff3684f28c67538d4d072c22734",
201
+ ["HYPER"]: "0x0000000000001ff3684f28c67538d4d072c22734",
200
202
  },
201
203
  [DEX_ENUM.MAGPIE]: {
202
204
  [CHAINS_ENUM.ETH]: "0xa6e941eab67569ca4522f70d343714ff51d571c4",
@@ -364,6 +366,7 @@ export const DEX_SPENDER_WHITELIST = {
364
366
  [CHAINS_ENUM.SCRL]: "0x0000000000005e88410ccdfade4a5efae4b49562",
365
367
  ["PLASMA"]: "0x0000000000001ff3684f28c67538d4d072c22734",
366
368
  ["MONAD"]: "0x0000000000001ff3684f28c67538d4d072c22734",
369
+ ["HYPER"]: "0x0000000000001ff3684f28c67538d4d072c22734",
367
370
  },
368
371
  [DEX_ENUM.MAGPIE]: {
369
372
  [CHAINS_ENUM.ETH]: "0xa6e941eab67569ca4522f70d343714ff51d571c4",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/rabby-swap",
3
- "version": "0.0.73-beta.1",
3
+ "version": "0.0.74-beta.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {