bump yarn lock and add initialized guard for market
This commit is contained in:
@@ -86,7 +86,9 @@ export class DLOBSubscriberIO extends DLOBSubscriber {
|
||||
const perpMarket = this.driftClient.getPerpMarketAccount(
|
||||
market.marketIndex
|
||||
);
|
||||
const includeVamm = !isVariant(perpMarket.status, 'ammPaused');
|
||||
const includeVamm =
|
||||
!isVariant(perpMarket.status, 'ammPaused') &&
|
||||
!isVariant(perpMarket.status, 'initialized');
|
||||
|
||||
this.marketArgs.push({
|
||||
marketIndex: market.marketIndex,
|
||||
|
||||
20
yarn.lock
20
yarn.lock
@@ -453,7 +453,7 @@
|
||||
kuler "^2.0.0"
|
||||
|
||||
"@drift-labs/sdk@file:./drift-common/protocol/sdk", "@drift-labs/sdk@file:drift-common/protocol/sdk":
|
||||
version "2.88.0-beta.2"
|
||||
version "2.93.0-beta.0"
|
||||
dependencies:
|
||||
"@coral-xyz/anchor" "0.28.0"
|
||||
"@coral-xyz/anchor-30" "npm:@coral-xyz/anchor@0.30.1"
|
||||
@@ -465,8 +465,9 @@
|
||||
"@pythnetwork/pyth-solana-receiver" "^0.7.0"
|
||||
"@solana/spl-token" "0.3.7"
|
||||
"@solana/web3.js" "1.92.3"
|
||||
"@switchboard-xyz/on-demand" "^1.2.1"
|
||||
"@switchboard-xyz/on-demand" "1.2.1"
|
||||
anchor-bankrun "^0.3.0"
|
||||
node-cache "^5.1.2"
|
||||
rpc-websockets "7.5.1"
|
||||
solana-bankrun "^0.3.0"
|
||||
strict-event-emitter-types "^2.0.0"
|
||||
@@ -476,7 +477,7 @@
|
||||
"@drift/common@file:./drift-common/common-ts":
|
||||
version "1.0.0"
|
||||
dependencies:
|
||||
"@drift-labs/sdk" "file:../../Library/Caches/Yarn/v6/npm-@drift-common-1.0.0-1feb394f-1286-4f02-aa04-2cdc83124014-1722620079611/node_modules/@drift/protocol/sdk"
|
||||
"@drift-labs/sdk" "file:../../Library/Caches/Yarn/v6/npm-@drift-common-1.0.0-e6d021ea-be53-435b-9d93-28103a3b1f1d-1723581999652/node_modules/@drift/protocol/sdk"
|
||||
"@jest/globals" "^29.3.1"
|
||||
"@slack/web-api" "^6.4.0"
|
||||
"@solana/spl-token" "^0.3.8"
|
||||
@@ -2109,10 +2110,10 @@
|
||||
lodash "^4.17.21"
|
||||
protobufjs "^7.2.6"
|
||||
|
||||
"@switchboard-xyz/on-demand@^1.2.1":
|
||||
version "1.2.15"
|
||||
resolved "https://registry.yarnpkg.com/@switchboard-xyz/on-demand/-/on-demand-1.2.15.tgz#aae9e0e99700f713b0324ad3f4b1b4249007dcf4"
|
||||
integrity sha512-CgeXeqdZh78FUnzs0oAyZcye7OQkaf5DNSqDDE7Sh62jKKtu+Bd1zcYu0MIRKVlCwg4Zk8R7lYRqel3jOKnCHg==
|
||||
"@switchboard-xyz/on-demand@1.2.1":
|
||||
version "1.2.1"
|
||||
resolved "https://registry.yarnpkg.com/@switchboard-xyz/on-demand/-/on-demand-1.2.1.tgz#47b6b6dfcc95c19a83a6a41f7805250eac6148ac"
|
||||
integrity sha512-rzF8u+7hClsAYjVk+MGzkGsTqLYRmeN0aOgtvTXpvYScNyQh72+ht45lkiSHJ3/vvTuGCbnEZrbc+ZY51gl4pQ==
|
||||
dependencies:
|
||||
"@coral-xyz/anchor-30" "npm:@coral-xyz/anchor@0.30.1"
|
||||
"@solana/web3.js" "^1.95.0"
|
||||
@@ -3044,6 +3045,11 @@ borsh@^0.7.0:
|
||||
bs58 "^4.0.0"
|
||||
text-encoding-utf-8 "^1.0.2"
|
||||
|
||||
bottleneck@^2.19.5:
|
||||
version "2.19.5"
|
||||
resolved "https://registry.yarnpkg.com/bottleneck/-/bottleneck-2.19.5.tgz#5df0b90f59fd47656ebe63c78a98419205cadd91"
|
||||
integrity sha512-VHiNCbI1lKdl44tGrhNfU3lup0Tj/ZBMJB5/2ZbNXRCPuRCO7ed2mgcK4r17y+KB2EfuYuRaVlwNbAeaWGSpbw==
|
||||
|
||||
brace-expansion@^1.1.7:
|
||||
version "1.1.11"
|
||||
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
|
||||
|
||||
Reference in New Issue
Block a user