@drift-labs/jit-proxy 0.15.8 → 0.15.10
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/lib/jitter/baseJitter.js
CHANGED
|
@@ -92,9 +92,7 @@ class BaseJitter {
|
|
|
92
92
|
const signedMsgOrderParams = signedMessage.signedMsgOrderParams;
|
|
93
93
|
if (!signedMsgOrderParams.auctionDuration ||
|
|
94
94
|
!signedMsgOrderParams.auctionStartPrice ||
|
|
95
|
-
!signedMsgOrderParams.auctionEndPrice
|
|
96
|
-
signedMsgOrderParams.auctionStartPrice.eq(sdk_1.ZERO) ||
|
|
97
|
-
signedMsgOrderParams.auctionEndPrice.eq(sdk_1.ZERO)) {
|
|
95
|
+
!signedMsgOrderParams.auctionEndPrice) {
|
|
98
96
|
return;
|
|
99
97
|
}
|
|
100
98
|
if (signedMsgOrderParams.baseAssetAmount.eq(sdk_1.ZERO)) {
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drift-labs/jit-proxy",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.10",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"clean": "rm -rf lib",
|
|
6
6
|
"build": "yarn clean && tsc"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@coral-xyz/anchor": "0.26.0",
|
|
10
|
-
"@drift-labs/sdk": "2.117.0-beta.
|
|
10
|
+
"@drift-labs/sdk": "2.117.0-beta.6",
|
|
11
11
|
"@solana/web3.js": "1.91.7",
|
|
12
12
|
"tweetnacl-util": "^0.15.1"
|
|
13
13
|
},
|
package/src/jitter/baseJitter.ts
CHANGED
|
@@ -218,9 +218,7 @@ export abstract class BaseJitter {
|
|
|
218
218
|
if (
|
|
219
219
|
!signedMsgOrderParams.auctionDuration ||
|
|
220
220
|
!signedMsgOrderParams.auctionStartPrice ||
|
|
221
|
-
!signedMsgOrderParams.auctionEndPrice
|
|
222
|
-
signedMsgOrderParams.auctionStartPrice.eq(ZERO) ||
|
|
223
|
-
signedMsgOrderParams.auctionEndPrice.eq(ZERO)
|
|
221
|
+
!signedMsgOrderParams.auctionEndPrice
|
|
224
222
|
) {
|
|
225
223
|
return;
|
|
226
224
|
}
|