From 68573012e35258d21268001c1b6fe98061aeb451 Mon Sep 17 00:00:00 2001 From: Jack Waller Date: Fri, 25 Oct 2024 11:08:28 +1100 Subject: [PATCH] chore: update redis client dependency --- drift-common | 2 +- src/pruner.ts | 2 +- src/publisher.ts | 3 ++- tsconfig.json | 5 ++++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/drift-common b/drift-common index f55c3cf..957d258 160000 --- a/drift-common +++ b/drift-common @@ -1 +1 @@ -Subproject commit f55c3cf0c3524edb71923bbc0bf7de78ee958dae +Subproject commit 957d258575b002be6173af1341838f76154b9e20 diff --git a/src/pruner.ts b/src/pruner.ts index f4b0e42..2b5e2d2 100644 --- a/src/pruner.ts +++ b/src/pruner.ts @@ -1,5 +1,5 @@ import { DriftClient, DriftEnv, UserMap, Wallet } from '@drift-labs/sdk'; -import { RedisClient, RedisClientPrefix } from '@drift/common'; +import { RedisClient, RedisClientPrefix } from '@drift/common/clients'; import { Connection, Keypair } from '@solana/web3.js'; import { sleep } from './utils/utils'; import { logger } from './utils/logger'; diff --git a/src/publisher.ts b/src/publisher.ts index 3c6292c..33c909d 100644 --- a/src/publisher.ts +++ b/src/publisher.ts @@ -27,7 +27,8 @@ import { import { sleep } from './utils/utils'; import { setupEndpoints } from './endpoints'; import { ZSTDDecoder } from 'zstddec'; -import { RedisClient, RedisClientPrefix, COMMON_UI_UTILS } from '@drift/common'; +import { COMMON_UI_UTILS } from '@drift/common'; +import { RedisClient, RedisClientPrefix } from '@drift/common/clients'; import { setGlobalDispatcher, Agent } from 'undici'; setGlobalDispatcher( diff --git a/tsconfig.json b/tsconfig.json index 72c9ac8..7e0e58a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,7 +12,10 @@ "emitDecoratorMetadata": true, "baseUrl": ".", "rootDir": "src", - "outDir": "./lib" + "outDir": "./lib", + "paths": { + "@drift/common/clients": ["./drift-common/common-ts/lib/clients"] + } }, "include": ["src/**/*"], "ts-node": {