@swapkit/api-sdk-typescript 6.2.2-nightly.20260923210838 → 6.3.0-nightly.20260924121608
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 +28 -0
- package/dist/index.d.ts +28 -0
- package/package.json +1 -1
- package/src/types.ts +28 -0
package/dist/index.d.cts
CHANGED
|
@@ -653,6 +653,10 @@ type TrackTransactionResponse = {
|
|
|
653
653
|
failReason?: string;
|
|
654
654
|
failTargetAddress?: string;
|
|
655
655
|
refundReason?: string;
|
|
656
|
+
/**
|
|
657
|
+
* True when the provider executed the swap in privacy mode (e.g. NEAR Confidential Intents). Consumers displaying the transaction publicly should redact destination details. Omitted otherwise
|
|
658
|
+
*/
|
|
659
|
+
privacyMode?: boolean;
|
|
656
660
|
targetAddress?: string;
|
|
657
661
|
};
|
|
658
662
|
payload?: {
|
|
@@ -761,6 +765,10 @@ type TrackTransactionResponse = {
|
|
|
761
765
|
failReason?: string;
|
|
762
766
|
failTargetAddress?: string;
|
|
763
767
|
refundReason?: string;
|
|
768
|
+
/**
|
|
769
|
+
* True when the provider executed the swap in privacy mode (e.g. NEAR Confidential Intents). Consumers displaying the transaction publicly should redact destination details. Omitted otherwise
|
|
770
|
+
*/
|
|
771
|
+
privacyMode?: boolean;
|
|
764
772
|
targetAddress?: string;
|
|
765
773
|
};
|
|
766
774
|
payload?: {
|
|
@@ -900,6 +908,10 @@ type TrackLedgerSwapResponse = {
|
|
|
900
908
|
failReason?: string;
|
|
901
909
|
failTargetAddress?: string;
|
|
902
910
|
refundReason?: string;
|
|
911
|
+
/**
|
|
912
|
+
* True when the provider executed the swap in privacy mode (e.g. NEAR Confidential Intents). Consumers displaying the transaction publicly should redact destination details. Omitted otherwise
|
|
913
|
+
*/
|
|
914
|
+
privacyMode?: boolean;
|
|
903
915
|
targetAddress?: string;
|
|
904
916
|
};
|
|
905
917
|
payload?: {
|
|
@@ -1008,6 +1020,10 @@ type TrackLedgerSwapResponse = {
|
|
|
1008
1020
|
failReason?: string;
|
|
1009
1021
|
failTargetAddress?: string;
|
|
1010
1022
|
refundReason?: string;
|
|
1023
|
+
/**
|
|
1024
|
+
* True when the provider executed the swap in privacy mode (e.g. NEAR Confidential Intents). Consumers displaying the transaction publicly should redact destination details. Omitted otherwise
|
|
1025
|
+
*/
|
|
1026
|
+
privacyMode?: boolean;
|
|
1011
1027
|
targetAddress?: string;
|
|
1012
1028
|
};
|
|
1013
1029
|
payload?: {
|
|
@@ -1121,6 +1137,10 @@ type InsertTrackedTransactionRequest = {
|
|
|
1121
1137
|
failReason?: string;
|
|
1122
1138
|
failTargetAddress?: string;
|
|
1123
1139
|
refundReason?: string;
|
|
1140
|
+
/**
|
|
1141
|
+
* True when the provider executed the swap in privacy mode (e.g. NEAR Confidential Intents). Consumers displaying the transaction publicly should redact destination details. Omitted otherwise
|
|
1142
|
+
*/
|
|
1143
|
+
privacyMode?: boolean;
|
|
1124
1144
|
targetAddress?: string;
|
|
1125
1145
|
};
|
|
1126
1146
|
payload?: {
|
|
@@ -2552,6 +2572,10 @@ type TrackTransactionResponses = {
|
|
|
2552
2572
|
failReason?: string;
|
|
2553
2573
|
failTargetAddress?: string;
|
|
2554
2574
|
refundReason?: string;
|
|
2575
|
+
/**
|
|
2576
|
+
* True when the provider executed the swap in privacy mode (e.g. NEAR Confidential Intents). Consumers displaying the transaction publicly should redact destination details. Omitted otherwise
|
|
2577
|
+
*/
|
|
2578
|
+
privacyMode?: boolean;
|
|
2555
2579
|
targetAddress?: string;
|
|
2556
2580
|
};
|
|
2557
2581
|
payload?: {
|
|
@@ -2660,6 +2684,10 @@ type TrackTransactionResponses = {
|
|
|
2660
2684
|
failReason?: string;
|
|
2661
2685
|
failTargetAddress?: string;
|
|
2662
2686
|
refundReason?: string;
|
|
2687
|
+
/**
|
|
2688
|
+
* True when the provider executed the swap in privacy mode (e.g. NEAR Confidential Intents). Consumers displaying the transaction publicly should redact destination details. Omitted otherwise
|
|
2689
|
+
*/
|
|
2690
|
+
privacyMode?: boolean;
|
|
2663
2691
|
targetAddress?: string;
|
|
2664
2692
|
};
|
|
2665
2693
|
payload?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -653,6 +653,10 @@ type TrackTransactionResponse = {
|
|
|
653
653
|
failReason?: string;
|
|
654
654
|
failTargetAddress?: string;
|
|
655
655
|
refundReason?: string;
|
|
656
|
+
/**
|
|
657
|
+
* True when the provider executed the swap in privacy mode (e.g. NEAR Confidential Intents). Consumers displaying the transaction publicly should redact destination details. Omitted otherwise
|
|
658
|
+
*/
|
|
659
|
+
privacyMode?: boolean;
|
|
656
660
|
targetAddress?: string;
|
|
657
661
|
};
|
|
658
662
|
payload?: {
|
|
@@ -761,6 +765,10 @@ type TrackTransactionResponse = {
|
|
|
761
765
|
failReason?: string;
|
|
762
766
|
failTargetAddress?: string;
|
|
763
767
|
refundReason?: string;
|
|
768
|
+
/**
|
|
769
|
+
* True when the provider executed the swap in privacy mode (e.g. NEAR Confidential Intents). Consumers displaying the transaction publicly should redact destination details. Omitted otherwise
|
|
770
|
+
*/
|
|
771
|
+
privacyMode?: boolean;
|
|
764
772
|
targetAddress?: string;
|
|
765
773
|
};
|
|
766
774
|
payload?: {
|
|
@@ -900,6 +908,10 @@ type TrackLedgerSwapResponse = {
|
|
|
900
908
|
failReason?: string;
|
|
901
909
|
failTargetAddress?: string;
|
|
902
910
|
refundReason?: string;
|
|
911
|
+
/**
|
|
912
|
+
* True when the provider executed the swap in privacy mode (e.g. NEAR Confidential Intents). Consumers displaying the transaction publicly should redact destination details. Omitted otherwise
|
|
913
|
+
*/
|
|
914
|
+
privacyMode?: boolean;
|
|
903
915
|
targetAddress?: string;
|
|
904
916
|
};
|
|
905
917
|
payload?: {
|
|
@@ -1008,6 +1020,10 @@ type TrackLedgerSwapResponse = {
|
|
|
1008
1020
|
failReason?: string;
|
|
1009
1021
|
failTargetAddress?: string;
|
|
1010
1022
|
refundReason?: string;
|
|
1023
|
+
/**
|
|
1024
|
+
* True when the provider executed the swap in privacy mode (e.g. NEAR Confidential Intents). Consumers displaying the transaction publicly should redact destination details. Omitted otherwise
|
|
1025
|
+
*/
|
|
1026
|
+
privacyMode?: boolean;
|
|
1011
1027
|
targetAddress?: string;
|
|
1012
1028
|
};
|
|
1013
1029
|
payload?: {
|
|
@@ -1121,6 +1137,10 @@ type InsertTrackedTransactionRequest = {
|
|
|
1121
1137
|
failReason?: string;
|
|
1122
1138
|
failTargetAddress?: string;
|
|
1123
1139
|
refundReason?: string;
|
|
1140
|
+
/**
|
|
1141
|
+
* True when the provider executed the swap in privacy mode (e.g. NEAR Confidential Intents). Consumers displaying the transaction publicly should redact destination details. Omitted otherwise
|
|
1142
|
+
*/
|
|
1143
|
+
privacyMode?: boolean;
|
|
1124
1144
|
targetAddress?: string;
|
|
1125
1145
|
};
|
|
1126
1146
|
payload?: {
|
|
@@ -2552,6 +2572,10 @@ type TrackTransactionResponses = {
|
|
|
2552
2572
|
failReason?: string;
|
|
2553
2573
|
failTargetAddress?: string;
|
|
2554
2574
|
refundReason?: string;
|
|
2575
|
+
/**
|
|
2576
|
+
* True when the provider executed the swap in privacy mode (e.g. NEAR Confidential Intents). Consumers displaying the transaction publicly should redact destination details. Omitted otherwise
|
|
2577
|
+
*/
|
|
2578
|
+
privacyMode?: boolean;
|
|
2555
2579
|
targetAddress?: string;
|
|
2556
2580
|
};
|
|
2557
2581
|
payload?: {
|
|
@@ -2660,6 +2684,10 @@ type TrackTransactionResponses = {
|
|
|
2660
2684
|
failReason?: string;
|
|
2661
2685
|
failTargetAddress?: string;
|
|
2662
2686
|
refundReason?: string;
|
|
2687
|
+
/**
|
|
2688
|
+
* True when the provider executed the swap in privacy mode (e.g. NEAR Confidential Intents). Consumers displaying the transaction publicly should redact destination details. Omitted otherwise
|
|
2689
|
+
*/
|
|
2690
|
+
privacyMode?: boolean;
|
|
2663
2691
|
targetAddress?: string;
|
|
2664
2692
|
};
|
|
2665
2693
|
payload?: {
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -343,6 +343,10 @@ export type TrackTransactionResponse = {
|
|
|
343
343
|
failReason?: string;
|
|
344
344
|
failTargetAddress?: string;
|
|
345
345
|
refundReason?: string;
|
|
346
|
+
/**
|
|
347
|
+
* True when the provider executed the swap in privacy mode (e.g. NEAR Confidential Intents). Consumers displaying the transaction publicly should redact destination details. Omitted otherwise
|
|
348
|
+
*/
|
|
349
|
+
privacyMode?: boolean;
|
|
346
350
|
targetAddress?: string;
|
|
347
351
|
};
|
|
348
352
|
payload?: {
|
|
@@ -451,6 +455,10 @@ export type TrackTransactionResponse = {
|
|
|
451
455
|
failReason?: string;
|
|
452
456
|
failTargetAddress?: string;
|
|
453
457
|
refundReason?: string;
|
|
458
|
+
/**
|
|
459
|
+
* True when the provider executed the swap in privacy mode (e.g. NEAR Confidential Intents). Consumers displaying the transaction publicly should redact destination details. Omitted otherwise
|
|
460
|
+
*/
|
|
461
|
+
privacyMode?: boolean;
|
|
454
462
|
targetAddress?: string;
|
|
455
463
|
};
|
|
456
464
|
payload?: {
|
|
@@ -591,6 +599,10 @@ export type TrackLedgerSwapResponse = {
|
|
|
591
599
|
failReason?: string;
|
|
592
600
|
failTargetAddress?: string;
|
|
593
601
|
refundReason?: string;
|
|
602
|
+
/**
|
|
603
|
+
* True when the provider executed the swap in privacy mode (e.g. NEAR Confidential Intents). Consumers displaying the transaction publicly should redact destination details. Omitted otherwise
|
|
604
|
+
*/
|
|
605
|
+
privacyMode?: boolean;
|
|
594
606
|
targetAddress?: string;
|
|
595
607
|
};
|
|
596
608
|
payload?: {
|
|
@@ -699,6 +711,10 @@ export type TrackLedgerSwapResponse = {
|
|
|
699
711
|
failReason?: string;
|
|
700
712
|
failTargetAddress?: string;
|
|
701
713
|
refundReason?: string;
|
|
714
|
+
/**
|
|
715
|
+
* True when the provider executed the swap in privacy mode (e.g. NEAR Confidential Intents). Consumers displaying the transaction publicly should redact destination details. Omitted otherwise
|
|
716
|
+
*/
|
|
717
|
+
privacyMode?: boolean;
|
|
702
718
|
targetAddress?: string;
|
|
703
719
|
};
|
|
704
720
|
payload?: {
|
|
@@ -813,6 +829,10 @@ export type InsertTrackedTransactionRequest = {
|
|
|
813
829
|
failReason?: string;
|
|
814
830
|
failTargetAddress?: string;
|
|
815
831
|
refundReason?: string;
|
|
832
|
+
/**
|
|
833
|
+
* True when the provider executed the swap in privacy mode (e.g. NEAR Confidential Intents). Consumers displaying the transaction publicly should redact destination details. Omitted otherwise
|
|
834
|
+
*/
|
|
835
|
+
privacyMode?: boolean;
|
|
816
836
|
targetAddress?: string;
|
|
817
837
|
};
|
|
818
838
|
payload?: {
|
|
@@ -2296,6 +2316,10 @@ export type TrackTransactionResponses = {
|
|
|
2296
2316
|
failReason?: string;
|
|
2297
2317
|
failTargetAddress?: string;
|
|
2298
2318
|
refundReason?: string;
|
|
2319
|
+
/**
|
|
2320
|
+
* True when the provider executed the swap in privacy mode (e.g. NEAR Confidential Intents). Consumers displaying the transaction publicly should redact destination details. Omitted otherwise
|
|
2321
|
+
*/
|
|
2322
|
+
privacyMode?: boolean;
|
|
2299
2323
|
targetAddress?: string;
|
|
2300
2324
|
};
|
|
2301
2325
|
payload?: {
|
|
@@ -2404,6 +2428,10 @@ export type TrackTransactionResponses = {
|
|
|
2404
2428
|
failReason?: string;
|
|
2405
2429
|
failTargetAddress?: string;
|
|
2406
2430
|
refundReason?: string;
|
|
2431
|
+
/**
|
|
2432
|
+
* True when the provider executed the swap in privacy mode (e.g. NEAR Confidential Intents). Consumers displaying the transaction publicly should redact destination details. Omitted otherwise
|
|
2433
|
+
*/
|
|
2434
|
+
privacyMode?: boolean;
|
|
2407
2435
|
targetAddress?: string;
|
|
2408
2436
|
};
|
|
2409
2437
|
payload?: {
|