@orbs-network/twap 1.7.0 → 1.7.2

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.
@@ -14,7 +14,7 @@ export interface Config {
14
14
  wToken: TokenData;
15
15
  partner: string;
16
16
  exchangeAddress: string;
17
- exchangeContract: "UniswapV2Exchange" | "ParaswapExchange";
17
+ exchangeType: "UniswapV2Exchange" | "ParaswapExchange";
18
18
  pathfinderKey: Paraswap.OnlyDex;
19
19
  }
20
20
  export declare const ChainConfigs: {
@@ -72,7 +72,8 @@ export declare const ChainConfigs: {
72
72
  };
73
73
  };
74
74
  export declare const Configs: {
75
- [integration: string]: Config;
75
+ SpiritSwap: Config;
76
+ SpookySwap: Config;
76
77
  };
77
78
  export declare const nativeTokenAddresses: string[];
78
79
  export declare const isNativeAddress: (address: string) => boolean;
@@ -62,8 +62,8 @@ exports.ChainConfigs = {
62
62
  },
63
63
  };
64
64
  exports.Configs = {
65
- SpiritSwap: Object.assign(Object.assign({}, exports.ChainConfigs.ftm), { partner: "SpiritSwap", exchangeAddress: "0xAd19179201be5A51D1cBd3bB2fC651BB05822404", exchangeContract: "ParaswapExchange", pathfinderKey: paraswap_1.Paraswap.OnlyDex.SpiritSwap }),
66
- SpookySwap: Object.assign(Object.assign({}, exports.ChainConfigs.ftm), { partner: "SpookySwap", exchangeAddress: "0x37F427DA0D12Fe2C80aCa09EE08e7e92A1B2B114", exchangeContract: "UniswapV2Exchange", pathfinderKey: paraswap_1.Paraswap.OnlyDex.SpookySwap }),
65
+ SpiritSwap: Object.assign(Object.assign({}, exports.ChainConfigs.ftm), { partner: "SpiritSwap", exchangeAddress: "0xAd19179201be5A51D1cBd3bB2fC651BB05822404", exchangeType: "ParaswapExchange", pathfinderKey: paraswap_1.Paraswap.OnlyDex.SpiritSwap }),
66
+ SpookySwap: Object.assign(Object.assign({}, exports.ChainConfigs.ftm), { partner: "SpookySwap", exchangeAddress: "0x37F427DA0D12Fe2C80aCa09EE08e7e92A1B2B114", exchangeType: "UniswapV2Exchange", pathfinderKey: paraswap_1.Paraswap.OnlyDex.SpookySwap }),
67
67
  };
68
68
  // export const UniswapV2Config: Config = {
69
69
  // ...ChainConfigs.eth,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orbs-network/twap",
3
- "version": "1.7.0",
3
+ "version": "1.7.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/orbs-network/twap.git"