@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.
- package/lib/api/vo/RequestVo.d.ts +0 -1
- package/lib/api/vo/RequestVo.js +0 -13
- package/package.json +1 -1
package/lib/api/vo/RequestVo.js
CHANGED
|
@@ -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; })
|