From 45c1f159d4a7ffd1dc867c52012719db30446eca Mon Sep 17 00:00:00 2001 From: Yury-Fridlyand Date: Tue, 1 Oct 2024 12:54:58 -0700 Subject: [PATCH] Node: Fix imports for `Script` and `ClusterScanCursor`. (#2320) Fix imports for `ClusterScanCursor`. Signed-off-by: Yury-Fridlyand --- node/src/GlideClusterClient.ts | 3 +-- node/tests/ScanTest.test.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/node/src/GlideClusterClient.ts b/node/src/GlideClusterClient.ts index 8671bd5534..92f8c439ee 100644 --- a/node/src/GlideClusterClient.ts +++ b/node/src/GlideClusterClient.ts @@ -2,8 +2,7 @@ * Copyright Valkey GLIDE Project Contributors - SPDX Identifier: Apache-2.0 */ -import { ClusterScanCursor } from "glide-rs"; -import { Script } from "index"; +import { ClusterScanCursor, Script } from "glide-rs"; import * as net from "net"; import { BaseClient, diff --git a/node/tests/ScanTest.test.ts b/node/tests/ScanTest.test.ts index faf0ac739c..e1ccb9bb06 100644 --- a/node/tests/ScanTest.test.ts +++ b/node/tests/ScanTest.test.ts @@ -3,9 +3,9 @@ */ import { afterAll, afterEach, beforeAll, describe } from "@jest/globals"; -import { ClusterScanCursor } from "glide-rs"; import { v4 as uuidv4 } from "uuid"; import { + ClusterScanCursor, Decoder, GlideClient, GlideClusterClient,