@valkey/valkey-glide 1.3.5-rc10 → 1.3.5-rc12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -29,24 +29,18 @@ The release of Valkey GLIDE was tested on the following platforms:
29
29
 
30
30
  ### Linux GNU
31
31
 
32
- Tests are actively running on **Ubuntu 24**, but the package is being build for any linux using **glibc 2.17** or higher.
33
- Manual tests have been done on:
34
-
35
- - Fedora 39
36
- - Ubuntu 22.04
37
- - Amazon Linux 2
38
- - Debian 12.
32
+ Linux with **glibc 2.17** or higher.
39
33
 
40
34
  ### MacOS (Darwin)
41
35
 
42
36
  MacOS Apple Silicon/aarch_64 and x86_64/amd64.
43
37
 
44
38
  - Full tests are running on MacOS 15.0 arm64/aarch64
45
- - Minimal tests are running on: MacOS 13.5 x86*64/amd64 *(We do not recommend using MacOS Intel for production, It is supported for development purposes)\_
39
+ - Minimal tests are running on: MacOS 13.5 x86*64/amd64*(We do not recommend using MacOS Intel for production, It is supported for development purposes)\_
46
40
 
47
41
  ### Alpine
48
42
 
49
- All alpine versions that are using _musl libc_ 1.2.3 (All Alpine non deprecated alpine versions) or higher should be supported.
43
+ All alpine versions that are using *musl libc* 1.2.3 (All Alpine non deprecated alpine versions) or higher should be supported.
50
44
  Tests are running on:
51
45
 
52
46
  - node:alpine (x86_64/amd64 and arm64/aarch64)
@@ -72,7 +66,7 @@ npm i @valkey/valkey-glide
72
66
 
73
67
  ## Basic Examples
74
68
 
75
- #### Standalone Mode
69
+ #### Standalone Mode:
76
70
 
77
71
  ```typescript
78
72
  import { GlideClient, GlideClusterClient, Logger } from "@valkey/valkey-glide";
@@ -99,7 +93,7 @@ const get_response = await client.get("foo");
99
93
  console.log(`Get response is = ${get_response}`);
100
94
  ```
101
95
 
102
- #### Cluster Mode
96
+ #### Cluster Mode:
103
97
 
104
98
  ```typescript
105
99
  import { GlideClient, GlideClusterClient, Logger } from "@valkey/valkey-glide";
@@ -1,15 +1,9 @@
1
1
  import { Buffer, Writer } from "protobufjs/minimal";
2
- import { Script } from "../build-ts/native";
3
- import { command_request, connection_request, response } from "../build-ts/ProtobufMessage";
4
- import { AggregationType, BaseScanOptions, BatchOptions, BitFieldGet, // eslint-disable-line @typescript-eslint/no-unused-vars
2
+ import { AggregationType, BaseScanOptions, BitFieldGet, // eslint-disable-line @typescript-eslint/no-unused-vars
5
3
  BitFieldSubCommands, // eslint-disable-line @typescript-eslint/no-unused-vars
6
- BitOffsetOptions, BitwiseOperation, Boundary, ClusterBatchOptions, // eslint-disable-line @typescript-eslint/no-unused-vars
7
- ExpireOptions, GeoAddOptions, // eslint-disable-line @typescript-eslint/no-unused-vars
8
- GeoSearchResultOptions, GeoSearchShape, GeoSearchStoreResultOptions, GeoUnit, GeospatialData, HScanOptions, InsertPosition, KeyWeight, LPosOptions, ListDirection, // eslint-disable-line @typescript-eslint/no-unused-vars
9
- RangeByIndex, RangeByLex, RangeByScore, RestoreOptions, ScoreFilter, SearchOrigin, SetOptions, SortOptions, StreamAddOptions, StreamClaimOptions, StreamGroupOptions, StreamPendingOptions, StreamReadGroupOptions, StreamReadOptions, StreamTrimOptions, TimeUnit, ZAddOptions, ZScanOptions } from "./Commands";
10
- import { ConnectionError, RequestError, ValkeyError } from "./Errors";
11
- import { GlideClientConfiguration } from "./GlideClient";
12
- import { GlideClusterClientConfiguration, Routes } from "./GlideClusterClient";
4
+ BitOffsetOptions, BitwiseOperation, Boundary, ConnectionError, ExpireOptions, GeoAddOptions, // eslint-disable-line @typescript-eslint/no-unused-vars
5
+ GeoSearchResultOptions, GeoSearchShape, GeoSearchStoreResultOptions, GeoUnit, GeospatialData, GlideClientConfiguration, GlideClusterClientConfiguration, HScanOptions, InsertPosition, KeyWeight, LPosOptions, ListDirection, RangeByIndex, RangeByLex, RangeByScore, RequestError, RestoreOptions, Routes, ScoreFilter, Script, SearchOrigin, SetOptions, SortOptions, StreamAddOptions, StreamClaimOptions, StreamGroupOptions, StreamPendingOptions, StreamReadGroupOptions, StreamReadOptions, StreamTrimOptions, TimeUnit, ValkeyError, ZAddOptions, ZScanOptions } from ".";
6
+ import { command_request, connection_request, response } from "../build-ts/ProtobufMessage";
13
7
  type PromiseFunction = (value?: any) => void;
14
8
  type ErrorFunction = (error: ValkeyError) => void;
15
9
  export type ReturnTypeRecord = {
@@ -334,7 +328,6 @@ export interface PubSubMsg {
334
328
  channel: GlideString;
335
329
  pattern?: GlideString | null;
336
330
  }
337
- export type WritePromiseOptions = BaseOptions | (BaseOptions & (ClusterBatchOptions | BatchOptions));
338
331
  /**
339
332
  * Base client interface for GLIDE
340
333
  */
@@ -355,6 +348,7 @@ export declare class BaseClient {
355
348
  protected configurePubsub(options: GlideClusterClientConfiguration | GlideClientConfiguration, configuration: connection_request.IConnectionRequest): void;
356
349
  private handleReadData;
357
350
  protected toProtobufRoute(route: Routes | undefined): command_request.Routes | undefined;
351
+ private dropCommandSpan;
358
352
  processResponse(message: response.Response): void;
359
353
  processPush(response: response.Response): void;
360
354
  protected getCallbackIndex(): number;