@plutonlabs/sdk 0.0.47-beta → 0.0.49-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.
- package/dist/modules/network/domain/enums/provider_protocol_type.enum.d.ts +2 -1
- package/dist/modules/network/domain/enums/provider_protocol_type.enum.d.ts.map +1 -1
- package/dist/modules/network/domain/enums/provider_protocol_type.enum.js +1 -0
- package/dist/modules/network/domain/enums/provider_protocol_type.enum.js.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts +8 -3
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.js +5 -1
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.js.map +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"provider_protocol_type.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/provider_protocol_type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB;IAC9B,QAAQ,IAAI;IACZ,SAAS,IAAA;IACT,aAAa,IAAA;IACb,aAAa,IAAA;
|
1
|
+
{"version":3,"file":"provider_protocol_type.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/provider_protocol_type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,oBAAoB;IAC9B,QAAQ,IAAI;IACZ,SAAS,IAAA;IACT,aAAa,IAAA;IACb,aAAa,IAAA;IACb,UAAU,IAAA;CACX"}
|
@@ -7,5 +7,6 @@ var ProviderProtocolType;
|
|
7
7
|
ProviderProtocolType[ProviderProtocolType["WEBSOCKET"] = 2] = "WEBSOCKET";
|
8
8
|
ProviderProtocolType[ProviderProtocolType["TON_CENTER_V2"] = 3] = "TON_CENTER_V2";
|
9
9
|
ProviderProtocolType[ProviderProtocolType["TON_CENTER_V3"] = 4] = "TON_CENTER_V3";
|
10
|
+
ProviderProtocolType[ProviderProtocolType["TON_API_V1"] = 5] = "TON_API_V1";
|
10
11
|
})(ProviderProtocolType || (exports.ProviderProtocolType = ProviderProtocolType = {}));
|
11
12
|
//# sourceMappingURL=provider_protocol_type.enum.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"provider_protocol_type.enum.js","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/provider_protocol_type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
1
|
+
{"version":3,"file":"provider_protocol_type.enum.js","sourceRoot":"","sources":["../../../../../src/modules/network/domain/enums/provider_protocol_type.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAMX;AAND,WAAY,oBAAoB;IAC9B,uEAAY,CAAA;IACZ,yEAAS,CAAA;IACT,iFAAa,CAAA;IACb,iFAAa,CAAA;IACb,2EAAU,CAAA;AACZ,CAAC,EANW,oBAAoB,oCAApB,oBAAoB,QAM/B"}
|
@@ -42,10 +42,10 @@ export declare class QuoteResponseDto {
|
|
42
42
|
*/
|
43
43
|
intentResponses: QuoteIntentResponseDto[];
|
44
44
|
/**
|
45
|
-
* @description The estimated fee for the transaction, calculated
|
46
|
-
* @example
|
45
|
+
* @description The estimated fee for the transaction, calculated from solver
|
46
|
+
* @example 1000000 (for a fee estimate of 1 USDT)
|
47
47
|
*/
|
48
|
-
|
48
|
+
solverFeeEstimate?: string;
|
49
49
|
/**
|
50
50
|
* @description Expiry date of initiation
|
51
51
|
*/
|
@@ -55,5 +55,10 @@ export declare class QuoteResponseDto {
|
|
55
55
|
*/
|
56
56
|
redeemExpiry?: Date;
|
57
57
|
quoteRequestId?: string;
|
58
|
+
/**
|
59
|
+
* @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
|
+
* @example 5000000000000000 (for a fee estimate of 0.005 ETH)
|
61
|
+
*/
|
62
|
+
gasFeeEstimate?: string;
|
58
63
|
}
|
59
64
|
//# 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,
|
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,MAA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
40
40
|
__metadata("design:type", String)
|
41
|
-
], QuoteResponseDto.prototype, "
|
41
|
+
], QuoteResponseDto.prototype, "solverFeeEstimate", void 0);
|
42
42
|
__decorate([
|
43
43
|
(0, class_validator_1.IsDate)(),
|
44
44
|
__metadata("design:type", Date)
|
@@ -51,4 +51,8 @@ __decorate([
|
|
51
51
|
(0, class_validator_1.IsUUID)(),
|
52
52
|
__metadata("design:type", String)
|
53
53
|
], QuoteResponseDto.prototype, "quoteRequestId", void 0);
|
54
|
+
__decorate([
|
55
|
+
(0, class_validator_1.IsString)(),
|
56
|
+
__metadata("design:type", String)
|
57
|
+
], QuoteResponseDto.prototype, "gasFeeEstimate", void 0);
|
54
58
|
//# 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;
|
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"}
|