@pioneer-platform/pioneer-router 8.4.82 → 8.4.84

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/lib/index.d.ts CHANGED
@@ -54,6 +54,7 @@ interface Swap {
54
54
  slippage: string;
55
55
  }
56
56
  declare let NetworksByIntegration: any;
57
+ declare let AssetsByIntegration: any;
57
58
  declare function get_quote_from_integration(integration: string, quote: Swap): Promise<any>;
58
59
  declare let get_pro_rate_usd: () => Promise<any>;
59
60
  declare function get_quote(quote: Swap): Promise<{
package/lib/index.js CHANGED
@@ -101,6 +101,7 @@ var MEMOLESS_SUPPORT = {
101
101
  "chainflip": true,
102
102
  };
103
103
  var NetworksByIntegration = {};
104
+ var AssetsByIntegration = {};
104
105
  module.exports = {
105
106
  init: function () {
106
107
  return __awaiter(this, void 0, void 0, function () {
@@ -132,11 +133,26 @@ module.exports = {
132
133
  NetworksByIntegration['uniswap'] = uniswap.networkSupport();
133
134
  NetworksByIntegration['across'] = across.networkSupport();
134
135
  NetworksByIntegration['chainflip'] = chainflip.networkSupport();
136
+ //get assets
137
+ AssetsByIntegration['mayachain'] = mayachain.assetSupport();
138
+ AssetsByIntegration['changelly'] = changelly.assetSupport();
139
+ AssetsByIntegration['thorswap'] = thorswap.assetSupport();
140
+ AssetsByIntegration['rango'] = rango.assetSupport();
141
+ AssetsByIntegration['osmosis'] = osmosis.assetSupport();
142
+ AssetsByIntegration['uniswap'] = uniswap.assetSupport();
143
+ // AssetsByIntegration['across'] = across.assetSupport()
144
+ AssetsByIntegration['chainflip'] = chainflip.assetSupport();
135
145
  return [2 /*return*/, true];
136
146
  }
137
147
  });
138
148
  });
139
149
  },
150
+ memoless: function () {
151
+ return MEMOLESS_SUPPORT;
152
+ },
153
+ assetSupport: function () {
154
+ return AssetsByIntegration;
155
+ },
140
156
  routes: function () {
141
157
  return NetworksByIntegration;
142
158
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pioneer-platform/pioneer-router",
3
- "version": "8.4.82",
3
+ "version": "8.4.84",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "scripts": {
@@ -21,15 +21,15 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@pioneer-platform/across-client": "^0.0.2",
24
- "@pioneer-platform/chainflip-client": "^0.0.8",
25
- "@pioneer-platform/changelly-client": "^8.3.10",
26
- "@pioneer-platform/mayachain-client": "^0.0.34",
27
- "@pioneer-platform/osmosis-client": "^0.0.14",
24
+ "@pioneer-platform/chainflip-client": "^0.0.9",
25
+ "@pioneer-platform/changelly-client": "^8.3.15",
26
+ "@pioneer-platform/mayachain-client": "^0.0.36",
27
+ "@pioneer-platform/osmosis-client": "^0.0.15",
28
28
  "@pioneer-platform/pioneer-caip": "^9.2.26",
29
29
  "@pioneer-platform/pro-token": "^0.0.3",
30
- "@pioneer-platform/rango-client": "^8.3.19",
31
- "@pioneer-platform/thorswap-client": "^8.3.10",
32
- "@pioneer-platform/uniswap-client": "^0.0.26",
30
+ "@pioneer-platform/rango-client": "^8.3.21",
31
+ "@pioneer-platform/thorswap-client": "^8.3.11",
32
+ "@pioneer-platform/uniswap-client": "^0.0.27",
33
33
  "@uniswap/sdk-core": "^4.2.0",
34
34
  "@uniswap/universal-router-sdk": "^1.9.0",
35
35
  "dotenv": "^8.2.0",