From 3927271c8266f3f33e81c6c7626a86376a5f07ce Mon Sep 17 00:00:00 2001 From: wphan <6348407+wphan@users.noreply.github.com> Date: Mon, 5 Jan 2026 14:46:23 -0800 Subject: [PATCH] try fix rpc-websockets ci build --- Dockerfile | 2 +- esbuild.config.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index affc790..6aa03d9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN yarn && yarn build FROM public.ecr.aws/docker/library/node:22-alpine RUN apk add python3 make g++ --virtual .build &&\ - npm install -C /lib bigint-buffer @triton-one/yellowstone-grpc@1.3.0 helius-laserstream@0.1.8 &&\ + npm install -C /lib bigint-buffer @triton-one/yellowstone-grpc@1.3.0 helius-laserstream@0.1.8 rpc-websockets &&\ apk del .build COPY --from=builder /app/lib/ ./lib/ diff --git a/esbuild.config.js b/esbuild.config.js index 8132a55..7f3c751 100644 --- a/esbuild.config.js +++ b/esbuild.config.js @@ -14,7 +14,10 @@ const commonConfig = { external: [ 'bigint-buffer', '@triton-one/yellowstone-grpc', - 'helius-laserstream' + 'helius-laserstream', + 'rpc-websockets', + 'rpc-websockets/dist/lib/client', + 'rpc-websockets/dist/lib/client/websocket' ] };