@rabby-wallet/rabby-swap 0.0.32-alpha.1 → 0.0.32

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,7 +15,7 @@ export const SUPPORT_CHAINS = [
15
15
  CHAINS_ENUM.KLAY,
16
16
  CHAINS_ENUM.GNOSIS,
17
17
  CHAINS_ENUM.BASE,
18
- CHAINS_ENUM.ERA,
18
+ // CHAINS_ENUM.ERA,
19
19
  ];
20
20
  export const getQuote = generateGetQuote({
21
21
  SUPPORT_CHAINS,
@@ -15,7 +15,7 @@ export const SUPPORT_CHAINS = [
15
15
  ];
16
16
  export const getQuote = generateGetQuote({
17
17
  SUPPORT_CHAINS,
18
- id: "paraswap_v6",
18
+ id: "paraswap",
19
19
  dex: DEX_ENUM.PARASWAP,
20
20
  });
21
21
  export const decodeCalldata = (tx) => {
@@ -27,7 +27,7 @@ export const SUPPORT_CHAINS = [
27
27
  CHAINS_ENUM.LINEA,
28
28
  CHAINS_ENUM.BTT,
29
29
  CHAINS_ENUM.BASE,
30
- CHAINS_ENUM.ERA,
30
+ // CHAINS_ENUM.ERA,
31
31
  // CHAINS_ENUM.ROSE,
32
32
  ];
33
33
  export const getQuote = (options) => __awaiter(void 0, void 0, void 0, function* () {
package/dist/list.d.ts CHANGED
@@ -15,7 +15,6 @@ export declare const WrapTokenAddressMap: {
15
15
  BTT: string;
16
16
  ROSE: string;
17
17
  BASE: string;
18
- ERA: string;
19
18
  };
20
19
  export declare const DEX_SUPPORT_CHAINS: {
21
20
  WrapToken: CHAINS_ENUM[];
@@ -39,7 +38,6 @@ export declare const DEX_ROUTER_WHITELIST: {
39
38
  GNOSIS: string;
40
39
  CELO: string;
41
40
  BASE: string;
42
- ERA: string;
43
41
  };
44
42
  ParaSwap: {
45
43
  ETH: string;
@@ -113,7 +111,6 @@ export declare const DEX_SPENDER_WHITELIST: {
113
111
  GNOSIS: string;
114
112
  CELO: string;
115
113
  BASE: string;
116
- ERA: string;
117
114
  };
118
115
  ParaSwap: {
119
116
  ETH: string;
package/dist/list.js CHANGED
@@ -23,7 +23,7 @@ export const WrapTokenAddressMap = {
23
23
  [CHAINS_ENUM.BTT]: "0x23181f21dea5936e24163ffaba4ea3b316b57f3c",
24
24
  [CHAINS_ENUM.ROSE]: "0x21c718c22d52d0f3a789b752d4c2fd5908a8a733",
25
25
  [CHAINS_ENUM.BASE]: "0x4200000000000000000000000000000000000006",
26
- [CHAINS_ENUM.ERA]: "0x5aea5775959fbc2557cc8789bc1bf90a239d9a91",
26
+ // [CHAINS_ENUM.ERA]: "0x5aea5775959fbc2557cc8789bc1bf90a239d9a91",
27
27
  };
28
28
  export const DEX_SUPPORT_CHAINS = {
29
29
  [DEX_ENUM.WRAPTOKEN]: wrapTokenSupportChains,
@@ -47,7 +47,7 @@ export const DEX_ROUTER_WHITELIST = {
47
47
  [CHAINS_ENUM.GNOSIS]: "0x111111125421ca6dc452d289314280a0f8842a65",
48
48
  [CHAINS_ENUM.CELO]: "0x111111125421ca6dc452d289314280a0f8842a65",
49
49
  [CHAINS_ENUM.BASE]: "0x111111125421ca6dc452d289314280a0f8842a65",
50
- [CHAINS_ENUM.ERA]: "0x6fd4383cb451173d5f9304f041c7bcbf27d561ff",
50
+ // [CHAINS_ENUM.ERA]: "0x6fd4383cb451173d5f9304f041c7bcbf27d561ff",
51
51
  },
52
52
  [DEX_ENUM.PARASWAP]: {
53
53
  [CHAINS_ENUM.ETH]: "0xdef171fe48cf0115b1d80b88dc8eab59176fee57",
@@ -121,7 +121,7 @@ export const DEX_SPENDER_WHITELIST = {
121
121
  [CHAINS_ENUM.GNOSIS]: "0x111111125421ca6dc452d289314280a0f8842a65",
122
122
  [CHAINS_ENUM.CELO]: "0x111111125421ca6dc452d289314280a0f8842a65",
123
123
  [CHAINS_ENUM.BASE]: "0x111111125421ca6dc452d289314280a0f8842a65",
124
- [CHAINS_ENUM.ERA]: "0x6fd4383cb451173d5f9304f041c7bcbf27d561ff",
124
+ // [CHAINS_ENUM.ERA]: "0x6fd4383cb451173d5f9304f041c7bcbf27d561ff",
125
125
  },
126
126
  [DEX_ENUM.PARASWAP]: {
127
127
  [CHAINS_ENUM.ETH]: "0x216b4b4ba9f3e719726886d34a177484278bfcae",
package/dist/utils.d.ts CHANGED
@@ -5,6 +5,6 @@ import { DEX_ENUM } from "./consts";
5
5
  export declare const isSameAddress: (addr1: string, addr2: string) => boolean;
6
6
  export declare const generateGetQuote: ({ SUPPORT_CHAINS, id, dex, }: {
7
7
  SUPPORT_CHAINS: CHAINS_ENUM[];
8
- id: "uniswap3" | "matcha" | "openocean" | "1inch_v6" | "paraswap_v6" | "kyberswap";
8
+ id: "uniswap3" | "matcha" | "openocean" | "1inch_v6" | "paraswap" | "kyberswap";
9
9
  dex: DEX_ENUM;
10
10
  }) => (options: QuoteParams, api: OpenApiService) => Promise<QuoteResult>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/rabby-swap",
3
- "version": "0.0.32-alpha.1",
3
+ "version": "0.0.32",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {