@nightlylabs/dex-sdk 0.3.21 → 0.3.23
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 +6 -0
- package/dist/index.d.ts +6 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4716,12 +4716,14 @@ interface WsLiquidatedBorrow {
|
|
|
4716
4716
|
token: string;
|
|
4717
4717
|
shares: string;
|
|
4718
4718
|
liqPenaltyInUsd: string;
|
|
4719
|
+
historicalSharePrice: string;
|
|
4719
4720
|
}
|
|
4720
4721
|
interface WsLiquidatedLend {
|
|
4721
4722
|
token: string;
|
|
4722
4723
|
shares: string;
|
|
4723
4724
|
debtReductionInUsd: string;
|
|
4724
4725
|
liqPenaltyInUsd: string;
|
|
4726
|
+
historicalSharePrice: string;
|
|
4725
4727
|
}
|
|
4726
4728
|
interface WsLiquidatedCollateral {
|
|
4727
4729
|
token: string;
|
|
@@ -4731,6 +4733,7 @@ interface WsLiquidatedCollateral {
|
|
|
4731
4733
|
}
|
|
4732
4734
|
interface GlobalLiquidation {
|
|
4733
4735
|
userId: string;
|
|
4736
|
+
liquidationId: string;
|
|
4734
4737
|
liquidationValue: string;
|
|
4735
4738
|
unpaidDebtInUsd: string;
|
|
4736
4739
|
liquidatedPositions: WsLiquidatedPosition[];
|
|
@@ -4749,6 +4752,7 @@ interface WsPartialLiquidatedPosition {
|
|
|
4749
4752
|
}
|
|
4750
4753
|
interface GlobalPartialLiquidation {
|
|
4751
4754
|
userId: string;
|
|
4755
|
+
liquidationId: string;
|
|
4752
4756
|
liquidationValue: string;
|
|
4753
4757
|
liquidatedPositions: WsPartialLiquidatedPosition[];
|
|
4754
4758
|
}
|
|
@@ -4760,6 +4764,7 @@ interface Lend {
|
|
|
4760
4764
|
}
|
|
4761
4765
|
interface Liquidation {
|
|
4762
4766
|
userId: string;
|
|
4767
|
+
liquidationId: string;
|
|
4763
4768
|
liquidationValue: string;
|
|
4764
4769
|
unpaidDebtInUsd: string;
|
|
4765
4770
|
liquidatedPositions: WsLiquidatedPosition[];
|
|
@@ -4808,6 +4813,7 @@ interface OracleUpdates {
|
|
|
4808
4813
|
}
|
|
4809
4814
|
interface PartialLiquidation {
|
|
4810
4815
|
userId: string;
|
|
4816
|
+
liquidationId: string;
|
|
4811
4817
|
liquidationValue: string;
|
|
4812
4818
|
liquidatedPositions: WsPartialLiquidatedPosition[];
|
|
4813
4819
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -4716,12 +4716,14 @@ interface WsLiquidatedBorrow {
|
|
|
4716
4716
|
token: string;
|
|
4717
4717
|
shares: string;
|
|
4718
4718
|
liqPenaltyInUsd: string;
|
|
4719
|
+
historicalSharePrice: string;
|
|
4719
4720
|
}
|
|
4720
4721
|
interface WsLiquidatedLend {
|
|
4721
4722
|
token: string;
|
|
4722
4723
|
shares: string;
|
|
4723
4724
|
debtReductionInUsd: string;
|
|
4724
4725
|
liqPenaltyInUsd: string;
|
|
4726
|
+
historicalSharePrice: string;
|
|
4725
4727
|
}
|
|
4726
4728
|
interface WsLiquidatedCollateral {
|
|
4727
4729
|
token: string;
|
|
@@ -4731,6 +4733,7 @@ interface WsLiquidatedCollateral {
|
|
|
4731
4733
|
}
|
|
4732
4734
|
interface GlobalLiquidation {
|
|
4733
4735
|
userId: string;
|
|
4736
|
+
liquidationId: string;
|
|
4734
4737
|
liquidationValue: string;
|
|
4735
4738
|
unpaidDebtInUsd: string;
|
|
4736
4739
|
liquidatedPositions: WsLiquidatedPosition[];
|
|
@@ -4749,6 +4752,7 @@ interface WsPartialLiquidatedPosition {
|
|
|
4749
4752
|
}
|
|
4750
4753
|
interface GlobalPartialLiquidation {
|
|
4751
4754
|
userId: string;
|
|
4755
|
+
liquidationId: string;
|
|
4752
4756
|
liquidationValue: string;
|
|
4753
4757
|
liquidatedPositions: WsPartialLiquidatedPosition[];
|
|
4754
4758
|
}
|
|
@@ -4760,6 +4764,7 @@ interface Lend {
|
|
|
4760
4764
|
}
|
|
4761
4765
|
interface Liquidation {
|
|
4762
4766
|
userId: string;
|
|
4767
|
+
liquidationId: string;
|
|
4763
4768
|
liquidationValue: string;
|
|
4764
4769
|
unpaidDebtInUsd: string;
|
|
4765
4770
|
liquidatedPositions: WsLiquidatedPosition[];
|
|
@@ -4808,6 +4813,7 @@ interface OracleUpdates {
|
|
|
4808
4813
|
}
|
|
4809
4814
|
interface PartialLiquidation {
|
|
4810
4815
|
userId: string;
|
|
4816
|
+
liquidationId: string;
|
|
4811
4817
|
liquidationValue: string;
|
|
4812
4818
|
liquidatedPositions: WsPartialLiquidatedPosition[];
|
|
4813
4819
|
}
|