@fedify/redis 1.8.1-dev.1247 → 1.8.1-dev.1257

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/dist/kv.d.ts CHANGED
@@ -9,18 +9,18 @@ import { Redis, RedisKey } from "ioredis";
9
9
  */
10
10
  interface RedisKvStoreOptions {
11
11
  /**
12
- * The prefix to use for all keys in the key-value store in Redis.
12
+ * The prefix to use for all keys in the keyvalue store in Redis.
13
13
  * Defaults to `"fedify::"`.
14
14
  */
15
15
  keyPrefix?: RedisKey;
16
16
  /**
17
- * The codec to use for encoding and decoding values in the key-value store.
17
+ * The codec to use for encoding and decoding values in the keyvalue store.
18
18
  * Defaults to {@link JsonCodec}.
19
19
  */
20
20
  codec?: Codec;
21
21
  }
22
22
  /**
23
- * A key-value store that uses Redis as the underlying storage.
23
+ * A keyvalue store that uses Redis as the underlying storage.
24
24
  *
25
25
  * @example
26
26
  * ```ts ignore
@@ -37,9 +37,9 @@ interface RedisKvStoreOptions {
37
37
  declare class RedisKvStore implements KvStore {
38
38
  #private;
39
39
  /**
40
- * Creates a new Redis key-value store.
40
+ * Creates a new Redis keyvalue store.
41
41
  * @param redis The Redis client to use.
42
- * @param options The options for the key-value store.
42
+ * @param options The options for the keyvalue store.
43
43
  */
44
44
  constructor(redis: Redis, options?: RedisKvStoreOptions);
45
45
  get<T = unknown>(key: KvKey): Promise<T | undefined>;
package/dist/kv.js CHANGED
@@ -6,7 +6,7 @@ import { Buffer } from "node:buffer";
6
6
 
7
7
  //#region kv.ts
8
8
  /**
9
- * A key-value store that uses Redis as the underlying storage.
9
+ * A keyvalue store that uses Redis as the underlying storage.
10
10
  *
11
11
  * @example
12
12
  * ```ts ignore
@@ -26,9 +26,9 @@ var RedisKvStore = class {
26
26
  #codec;
27
27
  #textEncoder = new TextEncoder();
28
28
  /**
29
- * Creates a new Redis key-value store.
29
+ * Creates a new Redis keyvalue store.
30
30
  * @param redis The Redis client to use.
31
- * @param options The options for the key-value store.
31
+ * @param options The options for the keyvalue store.
32
32
  */
33
33
  constructor(redis, options = {}) {
34
34
  this.#redis = redis;
package/dist/mq.d.ts CHANGED
@@ -33,7 +33,7 @@ interface RedisMessageQueueOptions {
33
33
  */
34
34
  lockKey?: RedisKey;
35
35
  /**
36
- * The codec to use for encoding and decoding messages in the key-value store.
36
+ * The codec to use for encoding and decoding messages in the keyvalue store.
37
37
  * Defaults to {@link JsonCodec}.
38
38
  * @default {@link JsonCodec}
39
39
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/redis",
3
- "version": "1.8.1-dev.1247+ea70ce33",
3
+ "version": "1.8.1-dev.1257+0f5c486a",
4
4
  "description": "Redis drivers for Fedify",
5
5
  "keywords": [
6
6
  "fedify",
@@ -62,7 +62,7 @@
62
62
  },
63
63
  "peerDependencies": {
64
64
  "ioredis": "^5.6.1",
65
- "@fedify/fedify": "1.8.1-dev.1247+ea70ce33"
65
+ "@fedify/fedify": "1.8.1-dev.1257+0f5c486a"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@std/async": "npm:@jsr/std__async@^1.0.13",