Skip to content

Commit 9299913

Browse files
committed
Merge branch 'master' into mainnet-beta
2 parents 128bdc5 + 721b928 commit 9299913

File tree

5 files changed

+70
-18
lines changed

5 files changed

+70
-18
lines changed

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
FROM public.ecr.aws/docker/library/node:20 AS builder
2-
RUN npm install -g husky
32

43
COPY package.json yarn.lock ./
54

@@ -17,13 +16,12 @@ RUN yarn run build
1716

1817
WORKDIR /app
1918
RUN yarn install
20-
2119
RUN node esbuild.config.js
2220

2321
FROM public.ecr.aws/docker/library/node:20.18.1-alpine
2422
# 'bigint-buffer' native lib for performance
2523
RUN apk add python3 make g++ --virtual .build &&\
26-
npm install -C /lib bigint-buffer @triton-one/[email protected] &&\
24+
npm install -C /lib bigint-buffer @triton-one/[email protected] helius-laserstream &&\
2725
apk del .build &&\
2826
rm -rf /root/.cache/ /root/.npm /usr/local/lib/node_modules
2927
COPY --from=builder /app/lib/ ./lib/

drift-common

Submodule drift-common updated 195 files

esbuild.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ const commonConfig = {
1313
format: 'cjs',
1414
external: [
1515
'bigint-buffer',
16-
'@triton-one/yellowstone-grpc'
16+
'@triton-one/yellowstone-grpc',
17+
'helius-laserstream',
1718
]
1819
};
1920

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"main": "lib/index.js",
66
"license": "Apache-2.0",
77
"dependencies": {
8-
"@drift-labs/jit-proxy": "0.21.11",
9-
"@drift-labs/sdk": "2.139.0-beta.1",
8+
"@drift-labs/jit-proxy": "0.21.13",
9+
"@drift-labs/sdk": "2.139.0-beta.3",
1010
"@drift/common": "file:./drift-common/common-ts",
1111
"@opentelemetry/api": "1.7.0",
1212
"@opentelemetry/auto-instrumentations-node": "^0.62.1",

yarn.lock

Lines changed: 64 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -377,21 +377,21 @@
377377
enabled "2.0.x"
378378
kuler "^2.0.0"
379379

380-
"@drift-labs/[email protected].11":
381-
version "0.21.11"
382-
resolved "https://registry.yarnpkg.com/@drift-labs/jit-proxy/-/jit-proxy-0.21.11.tgz#27dc3f3aae998bbefd5771424e6ceadda9ec7cec"
383-
integrity sha512-Z1uUK3EmHmbXoEVrhlNuade48bh4MR/XUMDabZwiJx3NQ4hHf9N0wR+2rIdlRh+eSVuCYFBwYPkV3ObwJ7aGCw==
380+
"@drift-labs/[email protected].13":
381+
version "0.21.13"
382+
resolved "https://registry.yarnpkg.com/@drift-labs/jit-proxy/-/jit-proxy-0.21.13.tgz#064b0ca19c944cead545ac2746749b3c74e0b353"
383+
integrity sha512-o1M1voPC5TScA2hiKBsf1bYNVLpCTFoHIDRZqxCAvnYNZmqetG+TieFjXGbe2jyEMR7v6op7s30xQEQDsW4eEA==
384384
dependencies:
385385
"@coral-xyz/anchor" "0.29.0"
386-
"@drift-labs/sdk" "2.139.0-beta.1"
386+
"@drift-labs/sdk" "2.139.0-beta.3"
387387
"@solana/web3.js" "1.98.0"
388388
tweetnacl-util "^0.15.1"
389389
typescript "5.4.5"
390390

391-
"@drift-labs/[email protected].1":
392-
version "2.139.0-beta.1"
393-
resolved "https://registry.yarnpkg.com/@drift-labs/sdk/-/sdk-2.139.0-beta.1.tgz#7649ce4d971b7bef74048787d94f6563bf20e12d"
394-
integrity sha512-Ft5DzbhKIzFz2J0H+VokNQCNXdvQ8dCVPE90m/JXMQQG5WSfwBqCV82ofR0JssFjQ8w5b6qTuRKJAW7zAVP6Hg==
391+
"@drift-labs/[email protected].3":
392+
version "2.139.0-beta.3"
393+
resolved "https://registry.yarnpkg.com/@drift-labs/sdk/-/sdk-2.139.0-beta.3.tgz#0730287bde6e794c2a4eaa5acd1934465124079c"
394+
integrity sha512-zEfSgG+QockYicWcy6b75VVxLmn4iy8ks80kBMh3GZt8TthTulcBpw4Le/crW90qqEK32mEXpp/Ihf3yGbnnMg==
395395
dependencies:
396396
"@coral-xyz/anchor" "0.29.0"
397397
"@coral-xyz/anchor-30" "npm:@coral-xyz/[email protected]"
@@ -409,6 +409,7 @@
409409
"@triton-one/yellowstone-grpc" "1.3.0"
410410
anchor-bankrun "0.3.0"
411411
gill "^0.10.2"
412+
helius-laserstream "0.1.8"
412413
nanoid "3.3.4"
413414
node-cache "5.1.2"
414415
rpc-websockets "7.5.1"
@@ -452,7 +453,7 @@
452453
"@drift/common@file:./drift-common/common-ts":
453454
version "1.0.0"
454455
dependencies:
455-
"@drift-labs/sdk" "file:../../../.cache/yarn/v6/[email protected]8775e019-04b6-41fa-9f98-9864aaa16f79-1758576037430/node_modules/@drift/protocol/sdk"
456+
"@drift-labs/sdk" "file:../../Library/Caches/Yarn/v6/[email protected]2a9b9b32-4816-42b8-bd5f-b725e7e06a8c-1758647394602/node_modules/@drift/protocol/sdk"
456457
"@jest/globals" "29.3.1"
457458
"@slack/web-api" "6.4.0"
458459
"@solana/spl-token" "0.3.8"
@@ -2985,6 +2986,13 @@
29852986
pg-protocol "*"
29862987
pg-types "^2.2.0"
29872988

2989+
"@types/protobufjs@^6.0.0":
2990+
version "6.0.0"
2991+
resolved "https://registry.yarnpkg.com/@types/protobufjs/-/protobufjs-6.0.0.tgz#aeabb43f9507bb19c8adfb479584c151082353e4"
2992+
integrity sha512-A27RDExpAf3rdDjIrHKiJK6x8kqqJ4CmoChwtipfhVAn1p7+wviQFFP7dppn8FslSbHtQeVPvi8wNKkDjSYjHw==
2993+
dependencies:
2994+
protobufjs "*"
2995+
29882996
29892997
version "0.12.0"
29902998
resolved "https://registry.yarnpkg.com/@types/retry/-/retry-0.12.0.tgz#2b35eccfcee7d38cd72ad99232fbd58bffb3c84d"
@@ -4633,6 +4641,51 @@ [email protected]:
46334641
resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f"
46344642
integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==
46354643

4644+
4645+
version "0.1.8"
4646+
resolved "https://registry.yarnpkg.com/helius-laserstream-darwin-arm64/-/helius-laserstream-darwin-arm64-0.1.8.tgz#d78ad15e6cd16dc9379a9a365f9fcb3f958e6c01"
4647+
integrity sha512-p/K2Mi3wZnMxEYSLCvu858VyMvtJFonhdF8cLaMcszFv04WWdsK+hINNZpVRfakypvDfDPbMudEhL1Q9USD5+w==
4648+
4649+
4650+
version "0.1.8"
4651+
resolved "https://registry.yarnpkg.com/helius-laserstream-darwin-x64/-/helius-laserstream-darwin-x64-0.1.8.tgz#e57bc8f03135fd3b5c01a5aebd7b87c42129da50"
4652+
integrity sha512-Hd5irFyfOqQZLdoj5a+OV7vML2YfySSBuKlOwtisMHkUuIXZ4NpAexslDmK7iP5VWRI+lOv9X/tA7BhxW7RGSQ==
4653+
4654+
4655+
version "0.1.8"
4656+
resolved "https://registry.yarnpkg.com/helius-laserstream-linux-arm64-gnu/-/helius-laserstream-linux-arm64-gnu-0.1.8.tgz#1b3c8440804d143f650166842620fc334f9c319b"
4657+
integrity sha512-PlPm1dvOvTGBL1nuzK98Xe40BJq1JWNREXlBHKDVA/B+KCGQnIMJ1s6e1MevSvFE7SOix5i1BxhYIxGioK2GMg==
4658+
4659+
4660+
version "0.1.8"
4661+
resolved "https://registry.yarnpkg.com/helius-laserstream-linux-arm64-musl/-/helius-laserstream-linux-arm64-musl-0.1.8.tgz#28e0645bebc3253d2a136cf0bd13f8cb5256f47b"
4662+
integrity sha512-LFadfMRuTd1zo6RZqLTgHQapo3gJYioS7wFMWFoBOFulG0BpAqHEDNobkxx0002QArw+zX29MQ/5OaOCf8kKTA==
4663+
4664+
4665+
version "0.1.8"
4666+
resolved "https://registry.yarnpkg.com/helius-laserstream-linux-x64-gnu/-/helius-laserstream-linux-x64-gnu-0.1.8.tgz#e59990ca0bcdc27e46f71a8fc2c18fddbe6f07e3"
4667+
integrity sha512-IZWK/OQIe0647QqfYikLb1DFK+nYtXLJiMcpj24qnNVWBOtMXmPc1hL6ebazdEiaKt7fxNd5IiM1RqeaqZAZMw==
4668+
4669+
4670+
version "0.1.8"
4671+
resolved "https://registry.yarnpkg.com/helius-laserstream-linux-x64-musl/-/helius-laserstream-linux-x64-musl-0.1.8.tgz#42aa0919ef266c40f50ac74d6f9d871d4e2e7c9c"
4672+
integrity sha512-riTS6VgxDae1fHOJ2XC/o/v1OZRbEv/3rcoa3NlAOnooDKp5HDgD0zJTcImjQHpYWwGaejx1oX/Ht53lxNoijw==
4673+
4674+
4675+
version "0.1.8"
4676+
resolved "https://registry.yarnpkg.com/helius-laserstream/-/helius-laserstream-0.1.8.tgz#6ee5e0bc9fe2560c03a0d2c9079b9f875c3e6bb7"
4677+
integrity sha512-jXQkwQRWiowbVPGQrGacOkI5shKPhrEixCu93OpoMtL5fs9mnhtD7XKMPi8CX0W8gsqsJjwR4NlaR+EflyANbQ==
4678+
dependencies:
4679+
"@types/protobufjs" "^6.0.0"
4680+
protobufjs "^7.5.3"
4681+
optionalDependencies:
4682+
helius-laserstream-darwin-arm64 "0.1.8"
4683+
helius-laserstream-darwin-x64 "0.1.8"
4684+
helius-laserstream-linux-arm64-gnu "0.1.8"
4685+
helius-laserstream-linux-arm64-musl "0.1.8"
4686+
helius-laserstream-linux-x64-gnu "0.1.8"
4687+
helius-laserstream-linux-x64-musl "0.1.8"
4688+
46364689
https-proxy-agent@^7.0.1:
46374690
version "7.0.6"
46384691
resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz#da8dfeac7da130b05c2ba4b59c9b6cd66611a6b9"
@@ -5683,7 +5736,7 @@ progress@^2.0.0:
56835736
resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"
56845737
integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==
56855738

5686-
protobufjs@^7.2.5, protobufjs@^7.2.6, protobufjs@^7.3.0, protobufjs@^7.4.0:
5739+
protobufjs@*, protobufjs@^7.2.5, protobufjs@^7.2.6, protobufjs@^7.3.0, protobufjs@^7.4.0, protobufjs@^7.5.3:
56875740
version "7.5.4"
56885741
resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.5.4.tgz#885d31fe9c4b37f25d1bb600da30b1c5b37d286a"
56895742
integrity sha512-CvexbZtbov6jW2eXAvLukXjXUW1TzFaivC46BpWc/3BpcCysb5Vffu+B3XHMm8lVEuy2Mm4XGex8hBSg1yapPg==

0 commit comments

Comments
 (0)