@plutonlabs/sdk 0.0.49-beta → 0.0.51-beta

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.
@@ -8,5 +8,10 @@ export declare class QuoteBridgeIntentResponseDto extends QuoteBaseIntentRespons
8
8
  * @description Solver response amount of destination token
9
9
  */
10
10
  amount: string;
11
+ /**
12
+ * @example '500'
13
+ * @description Solver estimate for solving in ms
14
+ */
15
+ solveTimeEstimate: number;
11
16
  }
12
17
  //# sourceMappingURL=quote_bridge_intent_response.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"quote_bridge_intent_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAG9E,qBAAa,4BAA6B,SAAQ,0BAA0B;gBAExE,OAAO,KAAA;WAgBK,IAAI,CAWhB,MAAM,EACN,GAAG,EAAE,MAAM,GAAG,4BAA4B;IAI5C,MAAM,CAAC,QAAQ,CAWb,MAAM,EACN,IAAI,EAAE,MAAM,EAAE,GAAG,4BAA4B,EAAE;IAIjD;;;OAGG;IAGH,MAAM,EAAE,MAAM,CAAC;CAChB"}
1
+ {"version":3,"file":"quote_bridge_intent_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAG9E,qBAAa,4BAA6B,SAAQ,0BAA0B;gBAExE,OAAO,KAAA;WAgBK,IAAI,CAWhB,MAAM,EACN,GAAG,EAAE,MAAM,GAAG,4BAA4B;IAI5C,MAAM,CAAC,QAAQ,CAWb,MAAM,EACN,IAAI,EAAE,MAAM,EAAE,GAAG,4BAA4B,EAAE;IAIjD;;;OAGG;IAGH,MAAM,EAAE,MAAM,CAAC;IAEf;;;OAGG;IAEH,iBAAiB,EAAE,MAAM,CAAC;CAC3B"}
@@ -42,4 +42,8 @@ __decorate([
42
42
  (0, class_validator_1.IsString)(),
43
43
  __metadata("design:type", String)
44
44
  ], QuoteBridgeIntentResponseDto.prototype, "amount", void 0);
45
+ __decorate([
46
+ (0, class_validator_1.IsNumber)(),
47
+ __metadata("design:type", Number)
48
+ ], QuoteBridgeIntentResponseDto.prototype, "solveTimeEstimate", void 0);
45
49
  //# sourceMappingURL=quote_bridge_intent_response.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"quote_bridge_intent_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,qFAA8E;AAC9E,kDAAiD;AAEjD,MAAa,4BAA6B,SAAQ,2DAA0B;IAC1E,YACE,OAAO;IACP,YAAY;IACZ,iBAAiB;IACjB,4BAA4B;IAC5B,6BAA6B;IAC7B,6BAA6B;IAC7B,yBAAyB;IACzB,uBAAuB;IACvB,uCAAuC;IACvC,oBAAoB;IACpB,KAAK;;QAEL,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;IAEM,MAAM,CAAC,IAAI,CAYhB,GAAW;QACX,OAAO,IAAI,4BAA4B,CAAC,GAAG,CAAC,CAAC;IAC/C,CAAC;IAED,MAAM,CAAC,QAAQ,CAYb,IAAc;QACd,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,4BAA4B,CAAC,IAAI,CAAC,CAAC;IAC3D,CAAC;CASF;AAzDD,oEAyDC;AADC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACI"}
1
+ {"version":3,"file":"quote_bridge_intent_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AACjE,qFAA8E;AAC9E,kDAAiD;AAEjD,MAAa,4BAA6B,SAAQ,2DAA0B;IAC1E,YACE,OAAO;IACP,YAAY;IACZ,iBAAiB;IACjB,4BAA4B;IAC5B,6BAA6B;IAC7B,6BAA6B;IAC7B,yBAAyB;IACzB,uBAAuB;IACvB,uCAAuC;IACvC,oBAAoB;IACpB,KAAK;;QAEL,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;IAEM,MAAM,CAAC,IAAI,CAYhB,GAAW;QACX,OAAO,IAAI,4BAA4B,CAAC,GAAG,CAAC,CAAC;IAC/C,CAAC;IAED,MAAM,CAAC,QAAQ,CAYb,IAAc;QACd,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,4BAA4B,CAAC,IAAI,CAAC,CAAC;IAC3D,CAAC;CAgBF;AAhED,oEAgEC;AARC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACI;AAOf;IADC,IAAA,0BAAQ,GAAE;;uEACe"}
@@ -42,10 +42,15 @@ export declare class QuoteResponseDto {
42
42
  */
43
43
  intentResponses: QuoteIntentResponseDto[];
44
44
  /**
45
- * @description The estimated fee for the transaction, calculated from solver
45
+ * @description The estimated fee for the solving, calculated from solver
46
46
  * @example 1000000 (for a fee estimate of 1 USDT)
47
47
  */
48
- solverFeeEstimate?: string;
48
+ solverFee?: string;
49
+ /**
50
+ * @description The estimated fee for protocol, calculated from protocol
51
+ * @example 1000000 (for a fee estimate of 1 USDT)
52
+ */
53
+ protocolFee?: string;
49
54
  /**
50
55
  * @description Expiry date of initiation
51
56
  */
@@ -54,11 +59,19 @@ export declare class QuoteResponseDto {
54
59
  * @description Expiry date of redemption
55
60
  */
56
61
  redeemExpiry?: Date;
62
+ /**
63
+ * @description id of request
64
+ */
57
65
  quoteRequestId?: string;
58
66
  /**
59
67
  * @description The gas estimated fee for the transaction, calculated based on the native coin of the blockchain. The fee is typically expressed in the chain’s native currency, such as ETH for Ethereum, BTC for Bitcoin, etc.
60
68
  * @example 5000000000000000 (for a fee estimate of 0.005 ETH)
61
69
  */
62
70
  gasFeeEstimate?: string;
71
+ /**
72
+ * @description The gas estimated fee for the transaction, calculated based on the native coin of the blockchain. The fee is typically expressed in the chain’s native currency, such as ETH for Ethereum, BTC for Bitcoin, etc.
73
+ * @example 5000000000000000 (for a fee estimate of 0.005 ETH)
74
+ */
75
+ solveTime?: string;
63
76
  }
64
77
  //# sourceMappingURL=quote_response.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"quote_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_response.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAIrE,qBAAa,gBAAgB;gBAEzB,OAAO,EAAE,OAAO,CAAC;QACf,eAAe,EAAE,MAAM,EAAE,CAAC;QAC1B,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,YAAY,CAAC,EAAE,IAAI,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;WAmBU,IAAI,CAChB,CAAC,SAAS;QACR,eAAe,EAAE,MAAM,EAAE,CAAC;QAC1B,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,YAAY,CAAC,EAAE,IAAI,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,EACD,GAAG,EAAE,CAAC,GAAG,gBAAgB;IAI3B,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,eAAe,EAAE,MAAM,EAAE,CAAC;QAC1B,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,YAAY,CAAC,EAAE,IAAI,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,EACD,IAAI,EAAE,CAAC,EAAE,GAAG,gBAAgB,EAAE;IAIhC;;;;;;;;;;;;;;;;;;OAkBG;IACH,eAAe,EAAE,sBAAsB,EAAE,CAAC;IAE1C;;;OAGG;IAEH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IAEH,gBAAgB,CAAC,EAAE,IAAI,CAAC;IAExB;;OAEG;IAEH,YAAY,CAAC,EAAE,IAAI,CAAC;IAGpB,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;OAGG;IAEH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
1
+ {"version":3,"file":"quote_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_response.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAIrE,qBAAa,gBAAgB;gBAEzB,OAAO,EAAE,OAAO,CAAC;QACf,eAAe,EAAE,MAAM,EAAE,CAAC;QAC1B,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,YAAY,CAAC,EAAE,IAAI,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,CAAC;WAmBU,IAAI,CAChB,CAAC,SAAS;QACR,eAAe,EAAE,MAAM,EAAE,CAAC;QAC1B,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,YAAY,CAAC,EAAE,IAAI,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,EACD,GAAG,EAAE,CAAC,GAAG,gBAAgB;IAI3B,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,eAAe,EAAE,MAAM,EAAE,CAAC;QAC1B,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,YAAY,CAAC,EAAE,IAAI,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,EACD,IAAI,EAAE,CAAC,EAAE,GAAG,gBAAgB,EAAE;IAIhC;;;;;;;;;;;;;;;;;;OAkBG;IACH,eAAe,EAAE,sBAAsB,EAAE,CAAC;IAE1C;;;OAGG;IAEH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IAEH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IAEH,gBAAgB,CAAC,EAAE,IAAI,CAAC;IAExB;;OAEG;IAEH,YAAY,CAAC,EAAE,IAAI,CAAC;IAEpB;;OAEG;IAEH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;OAGG;IAEH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;;OAGG;IAEH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -38,7 +38,11 @@ exports.QuoteResponseDto = QuoteResponseDto;
38
38
  __decorate([
39
39
  (0, class_validator_1.IsString)(),
40
40
  __metadata("design:type", String)
41
- ], QuoteResponseDto.prototype, "solverFeeEstimate", void 0);
41
+ ], QuoteResponseDto.prototype, "solverFee", void 0);
42
+ __decorate([
43
+ (0, class_validator_1.IsString)(),
44
+ __metadata("design:type", String)
45
+ ], QuoteResponseDto.prototype, "protocolFee", void 0);
42
46
  __decorate([
43
47
  (0, class_validator_1.IsDate)(),
44
48
  __metadata("design:type", Date)
@@ -55,4 +59,8 @@ __decorate([
55
59
  (0, class_validator_1.IsString)(),
56
60
  __metadata("design:type", String)
57
61
  ], QuoteResponseDto.prototype, "gasFeeEstimate", void 0);
62
+ __decorate([
63
+ (0, class_validator_1.IsString)(),
64
+ __metadata("design:type", String)
65
+ ], QuoteResponseDto.prototype, "solveTime", void 0);
58
66
  //# sourceMappingURL=quote_response.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"quote_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2D;AAE3D,yFAAkF;AAClF,kDAAiD;AAEjD,MAAa,gBAAgB;IAC3B,YACE,OAME;QAEF,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAE7B,IAAI,OAAO,CAAC,eAAe,IAAI,OAAO,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAClE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBACxD,IACE,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,YAAY,+DAA4B,EAClE,CAAC;oBACD,IAAI,CAAC,eAAe,GAAG,+DAA4B,CAAC,QAAQ,CAC1D,OAAO,CAAC,eAAe,CACxB,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,eAAe,GAAG,EAAE,CAAC;QAC5B,CAAC;IACH,CAAC;IAEM,MAAM,CAAC,IAAI,CAQhB,GAAM;QACN,OAAO,IAAI,gBAAgB,CAAC,GAAG,CAAC,CAAC;IACnC,CAAC;IAED,MAAM,CAAC,QAAQ,CAQb,IAAS;QACT,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;CAmDF;AApGD,4CAoGC;AAvBC;IADC,IAAA,0BAAQ,GAAE;;2DACgB;AAM3B;IADC,IAAA,wBAAM,GAAE;8BACU,IAAI;0DAAC;AAMxB;IADC,IAAA,wBAAM,GAAE;8BACM,IAAI;sDAAC;AAGpB;IADC,IAAA,wBAAM,GAAE;;wDACe;AAOxB;IADC,IAAA,0BAAQ,GAAE;;wDACa"}
1
+ {"version":3,"file":"quote_response.dto.js","sourceRoot":"","sources":["../../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ACQ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plutonlabs/sdk",
3
- "version": "0.0.49-beta",
3
+ "version": "0.0.51-beta",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [