@drift-labs/sdk 2.34.1-beta.7 → 2.34.1-beta.8
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/types.d.ts +3 -0
- package/lib/types.js +1 -0
- package/package.json +1 -1
- package/src/types.ts +1 -0
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.34.1-beta.
|
|
1
|
+
2.34.1-beta.8
|
package/lib/types.d.ts
CHANGED
package/lib/types.js
CHANGED
|
@@ -248,6 +248,7 @@ exports.PostOnlyParams = PostOnlyParams;
|
|
|
248
248
|
PostOnlyParams.NONE = { none: {} };
|
|
249
249
|
PostOnlyParams.MUST_POST_ONLY = { mustPostOnly: {} }; // Tx fails if order can't be post only
|
|
250
250
|
PostOnlyParams.TRY_POST_ONLY = { tryPostOnly: {} }; // Tx succeeds and order not placed if can't be post only
|
|
251
|
+
PostOnlyParams.SLIDE = { slide: {} }; // Modify price to be post only if can't be post only
|
|
251
252
|
class ModifyOrderPolicy {
|
|
252
253
|
}
|
|
253
254
|
exports.ModifyOrderPolicy = ModifyOrderPolicy;
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -899,6 +899,7 @@ export class PostOnlyParams {
|
|
|
899
899
|
static readonly NONE = { none: {} };
|
|
900
900
|
static readonly MUST_POST_ONLY = { mustPostOnly: {} }; // Tx fails if order can't be post only
|
|
901
901
|
static readonly TRY_POST_ONLY = { tryPostOnly: {} }; // Tx succeeds and order not placed if can't be post only
|
|
902
|
+
static readonly SLIDE = { slide: {} }; // Modify price to be post only if can't be post only
|
|
902
903
|
}
|
|
903
904
|
|
|
904
905
|
export type NecessaryOrderParams = {
|