@drift-labs/jit-proxy 0.17.44 → 0.17.46

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.
@@ -126,7 +126,8 @@ class BaseJitter {
126
126
  auctionStartPrice: signedMsgOrderParams.auctionStartPrice,
127
127
  auctionEndPrice: signedMsgOrderParams.auctionEndPrice,
128
128
  immediateOrCancel: (signedMsgOrderParams.bitFlags &
129
- sdk_1.OrderParamsBitFlag.ImmediateOrCancel) !== 0,
129
+ sdk_1.OrderParamsBitFlag.ImmediateOrCancel) !==
130
+ 0,
130
131
  bitFlags: signedMsgOrderParams.bitFlags,
131
132
  direction: signedMsgOrderParams.direction,
132
133
  postOnly: false,
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@drift-labs/jit-proxy",
3
- "version": "0.17.44",
3
+ "version": "0.17.46",
4
4
  "scripts": {
5
5
  "clean": "rm -rf lib",
6
6
  "build": "yarn clean && tsc"
7
7
  },
8
8
  "dependencies": {
9
- "@coral-xyz/anchor": "0.26.0",
9
+ "@coral-xyz/anchor": "0.29.0",
10
10
  "@drift-labs/sdk": "2.123.0-beta.0",
11
11
  "@solana/web3.js": "1.91.7",
12
12
  "tweetnacl-util": "^0.15.1"
@@ -194,7 +194,7 @@ export class JitProxyClient {
194
194
  };
195
195
 
196
196
  return this.program.methods
197
- .jit(jitParams)
197
+ .jit(jitParams as any)
198
198
  .accounts({
199
199
  taker: takerKey,
200
200
  takerStats: takerStatsKey,
@@ -256,7 +256,7 @@ export class JitProxyClient {
256
256
  };
257
257
 
258
258
  return this.program.methods
259
- .jitSignedMsg(jitSignedMsgParams)
259
+ .jitSignedMsg(jitSignedMsgParams as any)
260
260
  .accounts({
261
261
  taker: takerKey,
262
262
  takerStats: takerStatsKey,
@@ -303,7 +303,7 @@ export class JitProxyClient {
303
303
  });
304
304
 
305
305
  return this.program.methods
306
- .checkOrderConstraints(orderConstraints)
306
+ .checkOrderConstraints(orderConstraints as any)
307
307
  .accounts({
308
308
  user: await this.driftClient.getUserAccountPublicKey(subAccountId),
309
309
  })
@@ -275,7 +275,8 @@ export abstract class BaseJitter {
275
275
  auctionEndPrice: signedMsgOrderParams.auctionEndPrice,
276
276
  immediateOrCancel:
277
277
  (signedMsgOrderParams.bitFlags &
278
- OrderParamsBitFlag.ImmediateOrCancel) !== 0,
278
+ OrderParamsBitFlag.ImmediateOrCancel) !==
279
+ 0,
279
280
  bitFlags: signedMsgOrderParams.bitFlags,
280
281
  direction: signedMsgOrderParams.direction,
281
282
  postOnly: false,