@drift-labs/sdk 2.104.0-beta.26 → 2.104.0-beta.28

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/README.md CHANGED
@@ -273,4 +273,3 @@ Unless you explicitly state otherwise, any contribution intentionally submitted
273
273
  for inclusion in Drift SDK by you, as defined in the Apache-2.0 license, shall be
274
274
  licensed as above, without any additional terms or conditions.
275
275
 
276
-
package/VERSION CHANGED
@@ -1 +1 @@
1
- 2.104.0-beta.26
1
+ 2.104.0-beta.28
@@ -72,7 +72,7 @@ exports.TriggerOrderNode = TriggerOrderNode;
72
72
  // We'll use the swift uuid for the order id since it's not yet on-chain
73
73
  class SwiftOrderNode extends OrderNode {
74
74
  constructor(order, userAccount) {
75
- super(order, userAccount, true);
75
+ super(order, userAccount, false, true);
76
76
  }
77
77
  getSortValue(order) {
78
78
  return order.slot;
@@ -72,7 +72,7 @@ exports.TriggerOrderNode = TriggerOrderNode;
72
72
  // We'll use the swift uuid for the order id since it's not yet on-chain
73
73
  class SwiftOrderNode extends OrderNode {
74
74
  constructor(order, userAccount) {
75
- super(order, userAccount, true);
75
+ super(order, userAccount, false, true);
76
76
  }
77
77
  getSortValue(order) {
78
78
  return order.slot;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/sdk",
3
- "version": "2.104.0-beta.26",
3
+ "version": "2.104.0-beta.28",
4
4
  "main": "lib/node/index.js",
5
5
  "types": "lib/node/index.d.ts",
6
6
  "browser": "./lib/browser/index.js",
@@ -139,7 +139,7 @@ export class SwiftOrderNode extends OrderNode {
139
139
  previous?: SwiftOrderNode;
140
140
 
141
141
  constructor(order: Order, userAccount: string) {
142
- super(order, userAccount, true);
142
+ super(order, userAccount, false, true);
143
143
  }
144
144
 
145
145
  getSortValue(order: Order): BN {