@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 CHANGED
@@ -1 +1 @@
1
- 2.43.0-beta.18
1
+ 2.43.0-beta.19
@@ -2639,12 +2639,12 @@ class DriftClient {
2639
2639
  oraclePriceOffset: newOraclePriceOffset || null,
2640
2640
  triggerPrice: newTriggerPrice || null,
2641
2641
  triggerCondition: newTriggerCondition || null,
2642
- auctionDuration: auctionDuration || null,
2643
- auctionStartPrice: auctionStartPrice || null,
2644
- auctionEndPrice: auctionEndPrice || null,
2645
- reduceOnly: reduceOnly || null,
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 || null,
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 || null,
2697
- auctionStartPrice: auctionStartPrice || null,
2698
- auctionEndPrice: auctionEndPrice || null,
2699
- reduceOnly: reduceOnly || null,
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 || null,
2701
+ immediateOrCancel: immediateOrCancel || false,
2702
2702
  policy: policy || null,
2703
2703
  maxTs: maxTs || null,
2704
2704
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/sdk",
3
- "version": "2.43.0-beta.18",
3
+ "version": "2.43.0-beta.19",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "author": "crispheaney",
@@ -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 || null,
4653
- auctionStartPrice: auctionStartPrice || null,
4654
- auctionEndPrice: auctionEndPrice || null,
4655
- reduceOnly: reduceOnly || null,
4652
+ auctionDuration: auctionDuration || 0,
4653
+ auctionStartPrice: auctionStartPrice || ZERO,
4654
+ auctionEndPrice: auctionEndPrice || ZERO,
4655
+ reduceOnly: reduceOnly || false,
4656
4656
  postOnly: postOnly || null,
4657
- immediateOrCancel: immediateOrCancel || null,
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 || null,
4771
- auctionStartPrice: auctionStartPrice || null,
4772
- auctionEndPrice: auctionEndPrice || null,
4773
- reduceOnly: reduceOnly || null,
4770
+ auctionDuration: auctionDuration || 0,
4771
+ auctionStartPrice: auctionStartPrice || ZERO,
4772
+ auctionEndPrice: auctionEndPrice || ZERO,
4773
+ reduceOnly: reduceOnly || false,
4774
4774
  postOnly: postOnly || null,
4775
- immediateOrCancel: immediateOrCancel || null,
4775
+ immediateOrCancel: immediateOrCancel || false,
4776
4776
  policy: policy || null,
4777
4777
  maxTs: maxTs || null,
4778
4778
  };