Skip to content

Commit 1bbd9bd

Browse files
committed
sdk: fix modify order post only
1 parent 1e72974 commit 1bbd9bd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

sdk/src/driftClient.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ import {
6464
ProtectedMakerModeConfig,
6565
SignedMsgOrderParamsDelegateMessage,
6666
TokenProgramFlag,
67+
PostOnlyParams,
6768
} from './types';
6869
import driftIDL from './idl/drift.json';
6970

@@ -6968,7 +6969,7 @@ export class DriftClient {
69686969
auctionStartPrice?: BN;
69696970
auctionEndPrice?: BN;
69706971
reduceOnly?: boolean;
6971-
postOnly?: boolean;
6972+
postOnly?: PostOnlyParams;
69726973
bitFlags?: number;
69736974
maxTs?: BN;
69746975
policy?: number;
@@ -7022,7 +7023,7 @@ export class DriftClient {
70227023
auctionStartPrice?: BN;
70237024
auctionEndPrice?: BN;
70247025
reduceOnly?: boolean;
7025-
postOnly?: boolean;
7026+
postOnly?: PostOnlyParams;
70267027
bitFlags?: number;
70277028
maxTs?: BN;
70287029
policy?: number;
@@ -7097,7 +7098,7 @@ export class DriftClient {
70977098
auctionStartPrice?: BN;
70987099
auctionEndPrice?: BN;
70997100
reduceOnly?: boolean;
7100-
postOnly?: boolean;
7101+
postOnly?: PostOnlyParams;
71017102
bitFlags?: number;
71027103
policy?: ModifyOrderPolicy;
71037104
maxTs?: BN;
@@ -7145,7 +7146,7 @@ export class DriftClient {
71457146
auctionStartPrice?: BN;
71467147
auctionEndPrice?: BN;
71477148
reduceOnly?: boolean;
7148-
postOnly?: boolean;
7149+
postOnly?: PostOnlyParams;
71497150
bitFlags?: number;
71507151
policy?: ModifyOrderPolicy;
71517152
maxTs?: BN;

0 commit comments

Comments
 (0)