@drift-labs/sdk 2.43.0-beta.18 → 2.43.0-beta.19
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/VERSION +1 -1
- package/lib/driftClient.js +10 -10
- package/package.json +1 -1
- package/src/driftClient.ts +10 -10
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.43.0-beta.
|
|
1
|
+
2.43.0-beta.19
|
package/lib/driftClient.js
CHANGED
|
@@ -2639,12 +2639,12 @@ class DriftClient {
|
|
|
2639
2639
|
oraclePriceOffset: newOraclePriceOffset || null,
|
|
2640
2640
|
triggerPrice: newTriggerPrice || null,
|
|
2641
2641
|
triggerCondition: newTriggerCondition || null,
|
|
2642
|
-
auctionDuration: auctionDuration ||
|
|
2643
|
-
auctionStartPrice: auctionStartPrice ||
|
|
2644
|
-
auctionEndPrice: auctionEndPrice ||
|
|
2645
|
-
reduceOnly: reduceOnly ||
|
|
2642
|
+
auctionDuration: auctionDuration || 0,
|
|
2643
|
+
auctionStartPrice: auctionStartPrice || numericConstants_1.ZERO,
|
|
2644
|
+
auctionEndPrice: auctionEndPrice || numericConstants_1.ZERO,
|
|
2645
|
+
reduceOnly: reduceOnly || false,
|
|
2646
2646
|
postOnly: postOnly || null,
|
|
2647
|
-
immediateOrCancel: immediateOrCancel ||
|
|
2647
|
+
immediateOrCancel: immediateOrCancel || false,
|
|
2648
2648
|
policy: policy || null,
|
|
2649
2649
|
maxTs: maxTs || null,
|
|
2650
2650
|
};
|
|
@@ -2693,12 +2693,12 @@ class DriftClient {
|
|
|
2693
2693
|
oraclePriceOffset: newOraclePriceOffset || null,
|
|
2694
2694
|
triggerPrice: newTriggerPrice || null,
|
|
2695
2695
|
triggerCondition: newTriggerCondition || null,
|
|
2696
|
-
auctionDuration: auctionDuration ||
|
|
2697
|
-
auctionStartPrice: auctionStartPrice ||
|
|
2698
|
-
auctionEndPrice: auctionEndPrice ||
|
|
2699
|
-
reduceOnly: reduceOnly ||
|
|
2696
|
+
auctionDuration: auctionDuration || 0,
|
|
2697
|
+
auctionStartPrice: auctionStartPrice || numericConstants_1.ZERO,
|
|
2698
|
+
auctionEndPrice: auctionEndPrice || numericConstants_1.ZERO,
|
|
2699
|
+
reduceOnly: reduceOnly || false,
|
|
2700
2700
|
postOnly: postOnly || null,
|
|
2701
|
-
immediateOrCancel: immediateOrCancel ||
|
|
2701
|
+
immediateOrCancel: immediateOrCancel || false,
|
|
2702
2702
|
policy: policy || null,
|
|
2703
2703
|
maxTs: maxTs || null,
|
|
2704
2704
|
};
|
package/package.json
CHANGED
package/src/driftClient.ts
CHANGED
|
@@ -4649,12 +4649,12 @@ export class DriftClient {
|
|
|
4649
4649
|
oraclePriceOffset: newOraclePriceOffset || null,
|
|
4650
4650
|
triggerPrice: newTriggerPrice || null,
|
|
4651
4651
|
triggerCondition: newTriggerCondition || null,
|
|
4652
|
-
auctionDuration: auctionDuration ||
|
|
4653
|
-
auctionStartPrice: auctionStartPrice ||
|
|
4654
|
-
auctionEndPrice: auctionEndPrice ||
|
|
4655
|
-
reduceOnly: reduceOnly ||
|
|
4652
|
+
auctionDuration: auctionDuration || 0,
|
|
4653
|
+
auctionStartPrice: auctionStartPrice || ZERO,
|
|
4654
|
+
auctionEndPrice: auctionEndPrice || ZERO,
|
|
4655
|
+
reduceOnly: reduceOnly || false,
|
|
4656
4656
|
postOnly: postOnly || null,
|
|
4657
|
-
immediateOrCancel: immediateOrCancel ||
|
|
4657
|
+
immediateOrCancel: immediateOrCancel || false,
|
|
4658
4658
|
policy: policy || null,
|
|
4659
4659
|
maxTs: maxTs || null,
|
|
4660
4660
|
};
|
|
@@ -4767,12 +4767,12 @@ export class DriftClient {
|
|
|
4767
4767
|
oraclePriceOffset: newOraclePriceOffset || null,
|
|
4768
4768
|
triggerPrice: newTriggerPrice || null,
|
|
4769
4769
|
triggerCondition: newTriggerCondition || null,
|
|
4770
|
-
auctionDuration: auctionDuration ||
|
|
4771
|
-
auctionStartPrice: auctionStartPrice ||
|
|
4772
|
-
auctionEndPrice: auctionEndPrice ||
|
|
4773
|
-
reduceOnly: reduceOnly ||
|
|
4770
|
+
auctionDuration: auctionDuration || 0,
|
|
4771
|
+
auctionStartPrice: auctionStartPrice || ZERO,
|
|
4772
|
+
auctionEndPrice: auctionEndPrice || ZERO,
|
|
4773
|
+
reduceOnly: reduceOnly || false,
|
|
4774
4774
|
postOnly: postOnly || null,
|
|
4775
|
-
immediateOrCancel: immediateOrCancel ||
|
|
4775
|
+
immediateOrCancel: immediateOrCancel || false,
|
|
4776
4776
|
policy: policy || null,
|
|
4777
4777
|
maxTs: maxTs || null,
|
|
4778
4778
|
};
|