@swapkit/api-sdk-typescript 1.1.0-nightly.20260709214304 → 1.1.0
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/index.d.cts +12 -0
- package/dist/index.d.ts +12 -0
- package/package.json +1 -1
- package/src/types.ts +12 -0
package/dist/index.d.cts
CHANGED
|
@@ -1079,6 +1079,10 @@ type GetQuoteResponse = {
|
|
|
1079
1079
|
* Quote ID
|
|
1080
1080
|
*/
|
|
1081
1081
|
quoteId: string;
|
|
1082
|
+
/**
|
|
1083
|
+
* Quote creation timestamp (ISO 8601)
|
|
1084
|
+
*/
|
|
1085
|
+
createdAt: string;
|
|
1082
1086
|
routes: Array<{
|
|
1083
1087
|
/**
|
|
1084
1088
|
* Asset to sell
|
|
@@ -1669,6 +1673,14 @@ type ExecuteSwapResponse = {
|
|
|
1669
1673
|
* The unique swap ID for tracking
|
|
1670
1674
|
*/
|
|
1671
1675
|
swapId: string;
|
|
1676
|
+
/**
|
|
1677
|
+
* Swap creation timestamp (ISO 8601)
|
|
1678
|
+
*/
|
|
1679
|
+
createdAt: string;
|
|
1680
|
+
/**
|
|
1681
|
+
* Creation timestamp of the underlying quote (ISO 8601)
|
|
1682
|
+
*/
|
|
1683
|
+
quoteCreatedAt: string;
|
|
1672
1684
|
/**
|
|
1673
1685
|
* Optional approval transaction if ERC-20 approval is required before swap
|
|
1674
1686
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -1079,6 +1079,10 @@ type GetQuoteResponse = {
|
|
|
1079
1079
|
* Quote ID
|
|
1080
1080
|
*/
|
|
1081
1081
|
quoteId: string;
|
|
1082
|
+
/**
|
|
1083
|
+
* Quote creation timestamp (ISO 8601)
|
|
1084
|
+
*/
|
|
1085
|
+
createdAt: string;
|
|
1082
1086
|
routes: Array<{
|
|
1083
1087
|
/**
|
|
1084
1088
|
* Asset to sell
|
|
@@ -1669,6 +1673,14 @@ type ExecuteSwapResponse = {
|
|
|
1669
1673
|
* The unique swap ID for tracking
|
|
1670
1674
|
*/
|
|
1671
1675
|
swapId: string;
|
|
1676
|
+
/**
|
|
1677
|
+
* Swap creation timestamp (ISO 8601)
|
|
1678
|
+
*/
|
|
1679
|
+
createdAt: string;
|
|
1680
|
+
/**
|
|
1681
|
+
* Creation timestamp of the underlying quote (ISO 8601)
|
|
1682
|
+
*/
|
|
1683
|
+
quoteCreatedAt: string;
|
|
1672
1684
|
/**
|
|
1673
1685
|
* Optional approval transaction if ERC-20 approval is required before swap
|
|
1674
1686
|
*/
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -774,6 +774,10 @@ export type GetQuoteResponse = {
|
|
|
774
774
|
* Quote ID
|
|
775
775
|
*/
|
|
776
776
|
quoteId: string;
|
|
777
|
+
/**
|
|
778
|
+
* Quote creation timestamp (ISO 8601)
|
|
779
|
+
*/
|
|
780
|
+
createdAt: string;
|
|
777
781
|
routes: Array<{
|
|
778
782
|
/**
|
|
779
783
|
* Asset to sell
|
|
@@ -1366,6 +1370,14 @@ export type ExecuteSwapResponse = {
|
|
|
1366
1370
|
* The unique swap ID for tracking
|
|
1367
1371
|
*/
|
|
1368
1372
|
swapId: string;
|
|
1373
|
+
/**
|
|
1374
|
+
* Swap creation timestamp (ISO 8601)
|
|
1375
|
+
*/
|
|
1376
|
+
createdAt: string;
|
|
1377
|
+
/**
|
|
1378
|
+
* Creation timestamp of the underlying quote (ISO 8601)
|
|
1379
|
+
*/
|
|
1380
|
+
quoteCreatedAt: string;
|
|
1369
1381
|
/**
|
|
1370
1382
|
* Optional approval transaction if ERC-20 approval is required before swap
|
|
1371
1383
|
*/
|