@nightlylabs/dex-sdk 0.1.63 → 0.1.65

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.cjs CHANGED
@@ -743,6 +743,11 @@ var OrderStatus = /* @__PURE__ */ ((OrderStatus2) => {
743
743
  OrderStatus2["Executed"] = "Executed";
744
744
  return OrderStatus2;
745
745
  })(OrderStatus || {});
746
+ var TransferAction = /* @__PURE__ */ ((TransferAction2) => {
747
+ TransferAction2["Sent"] = "Sent";
748
+ TransferAction2["Received"] = "Received";
749
+ return TransferAction2;
750
+ })(TransferAction || {});
746
751
  var AdminEndpoints = /* @__PURE__ */ ((AdminEndpoints2) => {
747
752
  AdminEndpoints2["Placeholder"] = "/admin/placeholder";
748
753
  return AdminEndpoints2;
@@ -808,11 +813,6 @@ var SpotMarketStatus = /* @__PURE__ */ ((SpotMarketStatus2) => {
808
813
  SpotMarketStatus2["Live"] = "live";
809
814
  return SpotMarketStatus2;
810
815
  })(SpotMarketStatus || {});
811
- var TransferAction = /* @__PURE__ */ ((TransferAction2) => {
812
- TransferAction2["Sent"] = "Sent";
813
- TransferAction2["Received"] = "Received";
814
- return TransferAction2;
815
- })(TransferAction || {});
816
816
  var UserStatus = /* @__PURE__ */ ((UserStatus2) => {
817
817
  UserStatus2["Active"] = "Active";
818
818
  UserStatus2["Locked"] = "Locked";
package/dist/index.d.cts CHANGED
@@ -740,9 +740,14 @@ interface GetUserTransferHistoryRequest {
740
740
  newerTimestampMs?: string;
741
741
  paginationCursor?: PaginationCursor;
742
742
  }
743
+ declare enum TransferAction {
744
+ Sent = "Sent",
745
+ Received = "Received"
746
+ }
743
747
  interface HistoricalUserTransfer {
744
- senderId: string;
745
- receiverId: string;
748
+ userId: string;
749
+ userTransferRole: TransferAction;
750
+ secondPartyUserId: string;
746
751
  tokenAddress: string;
747
752
  amount: string;
748
753
  timestamp: string;
@@ -874,8 +879,9 @@ interface OpenBoxesRequest {
874
879
  userId: string;
875
880
  boxId: string;
876
881
  amount: string;
877
- apiKey: string;
878
- signature: string;
882
+ apiKeyAddress: string;
883
+ apiKeyPublicKeyBs58: string;
884
+ signatureBs58: string;
879
885
  }
880
886
  interface OpenBoxesResponse {
881
887
  txHash: string;
@@ -1123,10 +1129,6 @@ type Topic = {
1123
1129
  type: "Liquidations";
1124
1130
  content?: undefined;
1125
1131
  };
1126
- declare enum TransferAction {
1127
- Sent = "Sent",
1128
- Received = "Received"
1129
- }
1130
1132
  declare enum UserStatus {
1131
1133
  Active = "Active",
1132
1134
  Locked = "Locked"
package/dist/index.d.ts CHANGED
@@ -740,9 +740,14 @@ interface GetUserTransferHistoryRequest {
740
740
  newerTimestampMs?: string;
741
741
  paginationCursor?: PaginationCursor;
742
742
  }
743
+ declare enum TransferAction {
744
+ Sent = "Sent",
745
+ Received = "Received"
746
+ }
743
747
  interface HistoricalUserTransfer {
744
- senderId: string;
745
- receiverId: string;
748
+ userId: string;
749
+ userTransferRole: TransferAction;
750
+ secondPartyUserId: string;
746
751
  tokenAddress: string;
747
752
  amount: string;
748
753
  timestamp: string;
@@ -874,8 +879,9 @@ interface OpenBoxesRequest {
874
879
  userId: string;
875
880
  boxId: string;
876
881
  amount: string;
877
- apiKey: string;
878
- signature: string;
882
+ apiKeyAddress: string;
883
+ apiKeyPublicKeyBs58: string;
884
+ signatureBs58: string;
879
885
  }
880
886
  interface OpenBoxesResponse {
881
887
  txHash: string;
@@ -1123,10 +1129,6 @@ type Topic = {
1123
1129
  type: "Liquidations";
1124
1130
  content?: undefined;
1125
1131
  };
1126
- declare enum TransferAction {
1127
- Sent = "Sent",
1128
- Received = "Received"
1129
- }
1130
1132
  declare enum UserStatus {
1131
1133
  Active = "Active",
1132
1134
  Locked = "Locked"
package/dist/index.js CHANGED
@@ -692,6 +692,11 @@ var OrderStatus = /* @__PURE__ */ ((OrderStatus2) => {
692
692
  OrderStatus2["Executed"] = "Executed";
693
693
  return OrderStatus2;
694
694
  })(OrderStatus || {});
695
+ var TransferAction = /* @__PURE__ */ ((TransferAction2) => {
696
+ TransferAction2["Sent"] = "Sent";
697
+ TransferAction2["Received"] = "Received";
698
+ return TransferAction2;
699
+ })(TransferAction || {});
695
700
  var AdminEndpoints = /* @__PURE__ */ ((AdminEndpoints2) => {
696
701
  AdminEndpoints2["Placeholder"] = "/admin/placeholder";
697
702
  return AdminEndpoints2;
@@ -757,11 +762,6 @@ var SpotMarketStatus = /* @__PURE__ */ ((SpotMarketStatus2) => {
757
762
  SpotMarketStatus2["Live"] = "live";
758
763
  return SpotMarketStatus2;
759
764
  })(SpotMarketStatus || {});
760
- var TransferAction = /* @__PURE__ */ ((TransferAction2) => {
761
- TransferAction2["Sent"] = "Sent";
762
- TransferAction2["Received"] = "Received";
763
- return TransferAction2;
764
- })(TransferAction || {});
765
765
  var UserStatus = /* @__PURE__ */ ((UserStatus2) => {
766
766
  UserStatus2["Active"] = "Active";
767
767
  UserStatus2["Locked"] = "Locked";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nightlylabs/dex-sdk",
3
- "version": "0.1.63",
3
+ "version": "0.1.65",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {