@kite-01/sdk 2.2.0 → 2.3.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 CHANGED
@@ -723,6 +723,20 @@ type Transfer = {
723
723
  path: Array<string>;
724
724
  } | null;
725
725
  implementation: string;
726
+ } | {
727
+ id: string;
728
+ token: string;
729
+ amount: string;
730
+ settle: string;
731
+ min_out: string;
732
+ route: string;
733
+ recipient: string;
734
+ fees: Array<{
735
+ recipient: string;
736
+ amount: string;
737
+ }>;
738
+ refund: string;
739
+ expires_at: string;
726
740
  };
727
741
  status: 'Created' | 'AwaitingDeposit' | 'DepositReceived' | 'Processing' | 'x402Settled' | 'Cancelled' | 'Refunded' | 'Failed' | 'Settled';
728
742
  settlementBlockchainHash: string | null;
@@ -844,6 +858,20 @@ type TransferDetails = {
844
858
  path: Array<string>;
845
859
  } | null;
846
860
  implementation: string;
861
+ } | {
862
+ id: string;
863
+ token: string;
864
+ amount: string;
865
+ settle: string;
866
+ min_out: string;
867
+ route: string;
868
+ recipient: string;
869
+ fees: Array<{
870
+ recipient: string;
871
+ amount: string;
872
+ }>;
873
+ refund: string;
874
+ expires_at: string;
847
875
  };
848
876
  status: 'Created' | 'AwaitingDeposit' | 'DepositReceived' | 'Processing' | 'x402Settled' | 'Cancelled' | 'Refunded' | 'Failed' | 'Settled';
849
877
  settlementBlockchainHash: string | null;
@@ -933,6 +961,20 @@ type TransferListItem = {
933
961
  path: Array<string>;
934
962
  } | null;
935
963
  implementation: string;
964
+ } | {
965
+ id: string;
966
+ token: string;
967
+ amount: string;
968
+ settle: string;
969
+ min_out: string;
970
+ route: string;
971
+ recipient: string;
972
+ fees: Array<{
973
+ recipient: string;
974
+ amount: string;
975
+ }>;
976
+ refund: string;
977
+ expires_at: string;
936
978
  };
937
979
  status: 'Created' | 'AwaitingDeposit' | 'DepositReceived' | 'Processing' | 'x402Settled' | 'Cancelled' | 'Refunded' | 'Failed' | 'Settled';
938
980
  settlementBlockchainHash: string | null;
@@ -1033,6 +1075,20 @@ type CreatedTransfer = {
1033
1075
  path: Array<string>;
1034
1076
  } | null;
1035
1077
  implementation: string;
1078
+ } | {
1079
+ id: string;
1080
+ token: string;
1081
+ amount: string;
1082
+ settle: string;
1083
+ min_out: string;
1084
+ route: string;
1085
+ recipient: string;
1086
+ fees: Array<{
1087
+ recipient: string;
1088
+ amount: string;
1089
+ }>;
1090
+ refund: string;
1091
+ expires_at: string;
1036
1092
  };
1037
1093
  status: 'Created' | 'AwaitingDeposit' | 'DepositReceived' | 'Processing' | 'x402Settled' | 'Cancelled' | 'Refunded' | 'Failed' | 'Settled';
1038
1094
  settlementBlockchainHash: string | null;
@@ -1153,7 +1209,7 @@ type SystemInfo = {
1153
1209
  version: string;
1154
1210
  demo: boolean;
1155
1211
  operators: Array<{
1156
- chainType: 'Evm' | 'Near' | 'Stellar';
1212
+ chainType: 'Evm' | 'Near' | 'Stellar' | 'Gno';
1157
1213
  address: string;
1158
1214
  }>;
1159
1215
  chains: Array<{
@@ -1286,9 +1342,10 @@ type Checkout = {
1286
1342
  id: string;
1287
1343
  caip2Id: string;
1288
1344
  name: string;
1289
- chainType: 'Evm' | 'Near' | 'Stellar';
1345
+ chainType: 'Evm' | 'Near' | 'Stellar' | 'Gno';
1290
1346
  chainId: number | null;
1291
1347
  testnet: boolean;
1348
+ beta: boolean;
1292
1349
  icon: string;
1293
1350
  nativeCurrency: {
1294
1351
  name: string;
package/dist/index.d.ts CHANGED
@@ -723,6 +723,20 @@ type Transfer = {
723
723
  path: Array<string>;
724
724
  } | null;
725
725
  implementation: string;
726
+ } | {
727
+ id: string;
728
+ token: string;
729
+ amount: string;
730
+ settle: string;
731
+ min_out: string;
732
+ route: string;
733
+ recipient: string;
734
+ fees: Array<{
735
+ recipient: string;
736
+ amount: string;
737
+ }>;
738
+ refund: string;
739
+ expires_at: string;
726
740
  };
727
741
  status: 'Created' | 'AwaitingDeposit' | 'DepositReceived' | 'Processing' | 'x402Settled' | 'Cancelled' | 'Refunded' | 'Failed' | 'Settled';
728
742
  settlementBlockchainHash: string | null;
@@ -844,6 +858,20 @@ type TransferDetails = {
844
858
  path: Array<string>;
845
859
  } | null;
846
860
  implementation: string;
861
+ } | {
862
+ id: string;
863
+ token: string;
864
+ amount: string;
865
+ settle: string;
866
+ min_out: string;
867
+ route: string;
868
+ recipient: string;
869
+ fees: Array<{
870
+ recipient: string;
871
+ amount: string;
872
+ }>;
873
+ refund: string;
874
+ expires_at: string;
847
875
  };
848
876
  status: 'Created' | 'AwaitingDeposit' | 'DepositReceived' | 'Processing' | 'x402Settled' | 'Cancelled' | 'Refunded' | 'Failed' | 'Settled';
849
877
  settlementBlockchainHash: string | null;
@@ -933,6 +961,20 @@ type TransferListItem = {
933
961
  path: Array<string>;
934
962
  } | null;
935
963
  implementation: string;
964
+ } | {
965
+ id: string;
966
+ token: string;
967
+ amount: string;
968
+ settle: string;
969
+ min_out: string;
970
+ route: string;
971
+ recipient: string;
972
+ fees: Array<{
973
+ recipient: string;
974
+ amount: string;
975
+ }>;
976
+ refund: string;
977
+ expires_at: string;
936
978
  };
937
979
  status: 'Created' | 'AwaitingDeposit' | 'DepositReceived' | 'Processing' | 'x402Settled' | 'Cancelled' | 'Refunded' | 'Failed' | 'Settled';
938
980
  settlementBlockchainHash: string | null;
@@ -1033,6 +1075,20 @@ type CreatedTransfer = {
1033
1075
  path: Array<string>;
1034
1076
  } | null;
1035
1077
  implementation: string;
1078
+ } | {
1079
+ id: string;
1080
+ token: string;
1081
+ amount: string;
1082
+ settle: string;
1083
+ min_out: string;
1084
+ route: string;
1085
+ recipient: string;
1086
+ fees: Array<{
1087
+ recipient: string;
1088
+ amount: string;
1089
+ }>;
1090
+ refund: string;
1091
+ expires_at: string;
1036
1092
  };
1037
1093
  status: 'Created' | 'AwaitingDeposit' | 'DepositReceived' | 'Processing' | 'x402Settled' | 'Cancelled' | 'Refunded' | 'Failed' | 'Settled';
1038
1094
  settlementBlockchainHash: string | null;
@@ -1153,7 +1209,7 @@ type SystemInfo = {
1153
1209
  version: string;
1154
1210
  demo: boolean;
1155
1211
  operators: Array<{
1156
- chainType: 'Evm' | 'Near' | 'Stellar';
1212
+ chainType: 'Evm' | 'Near' | 'Stellar' | 'Gno';
1157
1213
  address: string;
1158
1214
  }>;
1159
1215
  chains: Array<{
@@ -1286,9 +1342,10 @@ type Checkout = {
1286
1342
  id: string;
1287
1343
  caip2Id: string;
1288
1344
  name: string;
1289
- chainType: 'Evm' | 'Near' | 'Stellar';
1345
+ chainType: 'Evm' | 'Near' | 'Stellar' | 'Gno';
1290
1346
  chainId: number | null;
1291
1347
  testnet: boolean;
1348
+ beta: boolean;
1292
1349
  icon: string;
1293
1350
  nativeCurrency: {
1294
1351
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kite-01/sdk",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "Server-side client for the Kite payments API",
5
5
  "license": "MIT",
6
6
  "repository": {