@openocean.finance/openocean-sdk 1.2.4 → 1.2.5

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.
@@ -71,7 +71,6 @@ export declare class ReqQuoteVo extends ChainName {
71
71
  }
72
72
  export declare class ReqSwapVo extends ChainName {
73
73
  inTokenAddress: string;
74
- dex: string;
75
74
  outTokenAddress: string;
76
75
  amount: Number;
77
76
  slippage: Number;
@@ -282,14 +282,6 @@ var ReqQuoteVo = /** @class */ (function (_super) {
282
282
  return ReqQuoteVo;
283
283
  }(ChainName));
284
284
  exports.ReqQuoteVo = ReqQuoteVo;
285
- var Dexs;
286
- (function (Dexs) {
287
- Dexs[Dexs["openOcean"] = 0] = "openOcean";
288
- Dexs[Dexs["1inch"] = 1] = "1inch";
289
- Dexs[Dexs["paraSwap"] = 2] = "paraSwap";
290
- Dexs[Dexs["matcha"] = 3] = "matcha";
291
- Dexs[Dexs["jupiter"] = 4] = "jupiter";
292
- })(Dexs || (Dexs = {}));
293
285
  var ReqSwapVo = /** @class */ (function (_super) {
294
286
  __extends(ReqSwapVo, _super);
295
287
  function ReqSwapVo() {
@@ -299,11 +291,6 @@ var ReqSwapVo = /** @class */ (function (_super) {
299
291
  (0, class_validator_1.IsNotEmpty)({ message: 'In Token address cannot be empty' }),
300
292
  (0, class_transformer_1.Type)(function () { return String; })
301
293
  ], ReqSwapVo.prototype, "inTokenAddress", void 0);
302
- __decorate([
303
- (0, class_validator_1.IsNotEmpty)({ message: 'In Dex cannot be empty' }),
304
- (0, class_validator_1.IsEnum)(Dexs, { message: "Dex in (openOcean,1inch,paraSwap,matcha,jupiter)" }),
305
- (0, class_transformer_1.Type)(function () { return String; })
306
- ], ReqSwapVo.prototype, "dex", void 0);
307
294
  __decorate([
308
295
  (0, class_validator_1.IsNotEmpty)({ message: 'Out Token address cannot be empty' }),
309
296
  (0, class_transformer_1.Type)(function () { return String; })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openocean.finance/openocean-sdk",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "Openocean sdk",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {