@naturalcycles/redis-lib 3.3.0 → 3.3.1

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.
@@ -13,7 +13,7 @@ import { RedisKeyValueDBCfg } from './redisKeyValueDB';
13
13
  * Once the available Redis version reaches 7.4.0+,
14
14
  * this implementation can take over for RedisKeyValueDB.
15
15
  */
16
- export declare class RedishHashKeyValueDB implements CommonKeyValueDB, AsyncDisposable {
16
+ export declare class RedisHashKeyValueDB implements CommonKeyValueDB, AsyncDisposable {
17
17
  cfg: RedisKeyValueDBCfg;
18
18
  constructor(cfg: RedisKeyValueDBCfg);
19
19
  support: {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RedishHashKeyValueDB = void 0;
3
+ exports.RedisHashKeyValueDB = void 0;
4
4
  const db_lib_1 = require("@naturalcycles/db-lib");
5
5
  /**
6
6
  * RedisHashKeyValueDB is a KeyValueDB implementation that uses hash fields to simulate tables.
@@ -14,7 +14,7 @@ const db_lib_1 = require("@naturalcycles/db-lib");
14
14
  * Once the available Redis version reaches 7.4.0+,
15
15
  * this implementation can take over for RedisKeyValueDB.
16
16
  */
17
- class RedishHashKeyValueDB {
17
+ class RedisHashKeyValueDB {
18
18
  constructor(cfg) {
19
19
  this.cfg = cfg;
20
20
  this.support = {
@@ -102,4 +102,4 @@ class RedishHashKeyValueDB {
102
102
  await this.cfg.client.del([table]);
103
103
  }
104
104
  }
105
- exports.RedishHashKeyValueDB = RedishHashKeyValueDB;
105
+ exports.RedisHashKeyValueDB = RedisHashKeyValueDB;
package/package.json CHANGED
@@ -40,7 +40,7 @@
40
40
  "engines": {
41
41
  "node": ">=20.13"
42
42
  },
43
- "version": "3.3.0",
43
+ "version": "3.3.1",
44
44
  "description": "Redis implementation of CommonKeyValueDB interface",
45
45
  "author": "Natural Cycles Team",
46
46
  "license": "MIT"
@@ -21,7 +21,7 @@ import { RedisKeyValueDBCfg } from './redisKeyValueDB'
21
21
  * Once the available Redis version reaches 7.4.0+,
22
22
  * this implementation can take over for RedisKeyValueDB.
23
23
  */
24
- export class RedishHashKeyValueDB implements CommonKeyValueDB, AsyncDisposable {
24
+ export class RedisHashKeyValueDB implements CommonKeyValueDB, AsyncDisposable {
25
25
  constructor(public cfg: RedisKeyValueDBCfg) {}
26
26
 
27
27
  support = {