Skip to content

Commit

Permalink
fix sdk import
Browse files Browse the repository at this point in the history
  • Loading branch information
NourAlharithi committed Oct 21, 2024
1 parent 40d71ac commit 7fbbfb7
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ts/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"dependencies": {
"@coral-xyz/anchor": "^0.26.0",
"@drift-labs/sdk": "2.97.0-beta.22",
"@drift-labs/sdk": "2.97.0-beta.27",
"@solana/web3.js": "1.91.7"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion ts/sdk/src/jitProxyClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
import { IDL, JitProxy } from './types/jit_proxy';
import { PublicKey, TransactionInstruction } from '@solana/web3.js';
import { Program } from '@coral-xyz/anchor';
import { TxSigAndSlot } from '@drift-labs/sdk/lib/tx/types';
import { TxSigAndSlot } from '@drift-labs/sdk';

export type JitIxParams = {
takerKey: PublicKey;
Expand Down
25 changes: 21 additions & 4 deletions ts/sdk/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,15 @@
bn.js "^5.1.2"
buffer-layout "^1.2.0"

"@drift-labs/[email protected].22":
version "2.97.0-beta.22"
resolved "https://registry.yarnpkg.com/@drift-labs/sdk/-/sdk-2.97.0-beta.22.tgz#d6af59a189b062fbf8b49f5b5bc8d79655132b07"
integrity sha512-ZvZ0EL1CGO67WPQxQFxcTzWVRSfvYzD4XOageJ4LMT+U7W46jwg7+eNqSzKtwKYSyvb1RsXIFwZrquR39N7mwQ==
"@drift-labs/[email protected].27":
version "2.97.0-beta.27"
resolved "https://registry.yarnpkg.com/@drift-labs/sdk/-/sdk-2.97.0-beta.27.tgz#e68e833f6b00b390dd707e6f9b4619445bce9536"
integrity sha512-TqU/opNmTt48pmYjiOZiW3rt/X6Wbbreuds80TrPSwt3XrXBgeUhkmBZAjg+fyJIOwQGTLEm1clz0h2Iwh3Wuw==
dependencies:
"@coral-xyz/anchor" "0.28.0"
"@coral-xyz/anchor-30" "npm:@coral-xyz/[email protected]"
"@ellipsis-labs/phoenix-sdk" "^1.4.2"
"@grpc/grpc-js" "^1.8.0"
"@openbook-dex/openbook-v2" "0.2.10"
"@project-serum/serum" "^0.13.38"
"@pythnetwork/client" "2.5.3"
Expand All @@ -173,6 +174,7 @@
"@solana/spl-token" "0.3.7"
"@solana/web3.js" "1.92.3"
"@switchboard-xyz/on-demand" "1.2.42"
"@triton-one/yellowstone-grpc" "0.6.0"
anchor-bankrun "^0.3.0"
node-cache "^5.1.2"
rpc-websockets "7.5.1"
Expand All @@ -196,6 +198,14 @@
borsh "^0.7.0"
bs58 "^5.0.0"

"@grpc/grpc-js@^1.8.0":
version "1.12.2"
resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.12.2.tgz#97eda82dd49bb9c24eaf6434ea8d7de446e95aac"
integrity sha512-bgxdZmgTrJZX50OjyVwz3+mNEnCTNkh3cIqGPWVNeW9jX6bn1ZkU80uPd+67/ZpIJIjRQ9qaHCjhavyoWYxumg==
dependencies:
"@grpc/proto-loader" "^0.7.13"
"@js-sdsl/ordered-map" "^4.4.2"

"@grpc/grpc-js@^1.8.13":
version "1.10.9"
resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.10.9.tgz#468cc1549a3fe37b760a16745fb7685d91f4f10c"
Expand Down Expand Up @@ -874,6 +884,13 @@
js-yaml "^4.1.0"
protobufjs "^7.2.6"

"@triton-one/[email protected]":
version "0.6.0"
resolved "https://registry.yarnpkg.com/@triton-one/yellowstone-grpc/-/yellowstone-grpc-0.6.0.tgz#9e6376cec8a42284c23dc195df2c3423c87c4f27"
integrity sha512-rgdZM2N3U9/d/QKOI5PP+9rSHUl2oSI5Uwzvuss8y/mtTaHFjbOMpXpQXviIeDkusOa+mef4wLYrbjEZCwTXiw==
dependencies:
"@grpc/grpc-js" "^1.8.0"

"@types/bn.js@^5.1.0":
version "5.1.5"
resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.5.tgz#2e0dacdcce2c0f16b905d20ff87aedbc6f7b4bf0"
Expand Down

0 comments on commit 7fbbfb7

Please sign in to comment.