@nightlylabs/dex-sdk 0.1.63 → 0.1.64
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 +5 -5
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +5 -5
- package/package.json +1 -1
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
|
@@ -80,8 +80,7 @@ declare enum BoxRewardTier {
|
|
|
80
80
|
}
|
|
81
81
|
interface BoxReward {
|
|
82
82
|
tier: string;
|
|
83
|
-
|
|
84
|
-
tokenAmount?: string;
|
|
83
|
+
usdcAmount?: string;
|
|
85
84
|
pointsAmount?: string;
|
|
86
85
|
badgeType?: BoxRewardTier;
|
|
87
86
|
}
|
|
@@ -740,9 +739,14 @@ interface GetUserTransferHistoryRequest {
|
|
|
740
739
|
newerTimestampMs?: string;
|
|
741
740
|
paginationCursor?: PaginationCursor;
|
|
742
741
|
}
|
|
742
|
+
declare enum TransferAction {
|
|
743
|
+
Sent = "Sent",
|
|
744
|
+
Received = "Received"
|
|
745
|
+
}
|
|
743
746
|
interface HistoricalUserTransfer {
|
|
744
|
-
|
|
745
|
-
|
|
747
|
+
userId: string;
|
|
748
|
+
userTransferRole: TransferAction;
|
|
749
|
+
secondPartyUserId: string;
|
|
746
750
|
tokenAddress: string;
|
|
747
751
|
amount: string;
|
|
748
752
|
timestamp: string;
|
|
@@ -1123,10 +1127,6 @@ type Topic = {
|
|
|
1123
1127
|
type: "Liquidations";
|
|
1124
1128
|
content?: undefined;
|
|
1125
1129
|
};
|
|
1126
|
-
declare enum TransferAction {
|
|
1127
|
-
Sent = "Sent",
|
|
1128
|
-
Received = "Received"
|
|
1129
|
-
}
|
|
1130
1130
|
declare enum UserStatus {
|
|
1131
1131
|
Active = "Active",
|
|
1132
1132
|
Locked = "Locked"
|
package/dist/index.d.ts
CHANGED
|
@@ -80,8 +80,7 @@ declare enum BoxRewardTier {
|
|
|
80
80
|
}
|
|
81
81
|
interface BoxReward {
|
|
82
82
|
tier: string;
|
|
83
|
-
|
|
84
|
-
tokenAmount?: string;
|
|
83
|
+
usdcAmount?: string;
|
|
85
84
|
pointsAmount?: string;
|
|
86
85
|
badgeType?: BoxRewardTier;
|
|
87
86
|
}
|
|
@@ -740,9 +739,14 @@ interface GetUserTransferHistoryRequest {
|
|
|
740
739
|
newerTimestampMs?: string;
|
|
741
740
|
paginationCursor?: PaginationCursor;
|
|
742
741
|
}
|
|
742
|
+
declare enum TransferAction {
|
|
743
|
+
Sent = "Sent",
|
|
744
|
+
Received = "Received"
|
|
745
|
+
}
|
|
743
746
|
interface HistoricalUserTransfer {
|
|
744
|
-
|
|
745
|
-
|
|
747
|
+
userId: string;
|
|
748
|
+
userTransferRole: TransferAction;
|
|
749
|
+
secondPartyUserId: string;
|
|
746
750
|
tokenAddress: string;
|
|
747
751
|
amount: string;
|
|
748
752
|
timestamp: string;
|
|
@@ -1123,10 +1127,6 @@ type Topic = {
|
|
|
1123
1127
|
type: "Liquidations";
|
|
1124
1128
|
content?: undefined;
|
|
1125
1129
|
};
|
|
1126
|
-
declare enum TransferAction {
|
|
1127
|
-
Sent = "Sent",
|
|
1128
|
-
Received = "Received"
|
|
1129
|
-
}
|
|
1130
1130
|
declare enum UserStatus {
|
|
1131
1131
|
Active = "Active",
|
|
1132
1132
|
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";
|