@fedify/redis 1.8.1-dev.1251 → 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/codec.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Temporal } from "@js-temporal/polyfill";
2
2
  import { Buffer } from "node:buffer";
3
3
 
4
- //#region src/codec.d.ts
4
+ //#region codec.d.ts
5
5
  /**
6
6
  * Encode and decodes JavaScript objects to and from binary data.
7
7
  */
package/dist/codec.js CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  import { Buffer } from "node:buffer";
5
5
 
6
- //#region src/codec.ts
6
+ //#region codec.ts
7
7
  /**
8
8
  * An error that occurs when encoding or decoding data.
9
9
  */
package/dist/kv.d.ts CHANGED
@@ -3,24 +3,24 @@ import { Codec } from "./codec.js";
3
3
  import { KvKey, KvStore, KvStoreSetOptions } from "@fedify/fedify";
4
4
  import { Redis, RedisKey } from "ioredis";
5
5
 
6
- //#region src/kv.d.ts
6
+ //#region kv.d.ts
7
7
  /**
8
8
  * Options for {@link RedisKvStore} class.
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
@@ -4,9 +4,9 @@
4
4
  import { JsonCodec } from "./codec.js";
5
5
  import { Buffer } from "node:buffer";
6
6
 
7
- //#region src/kv.ts
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
@@ -3,7 +3,7 @@ import { Codec } from "./codec.js";
3
3
  import { MessageQueue, MessageQueueEnqueueOptions, MessageQueueListenOptions } from "@fedify/fedify";
4
4
  import { Redis, RedisKey } from "ioredis";
5
5
 
6
- //#region src/mq.d.ts
6
+ //#region mq.d.ts
7
7
  /**
8
8
  * Options for {@link RedisMessageQueue} class.
9
9
  */
@@ -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/dist/mq.js CHANGED
@@ -4,7 +4,7 @@
4
4
  import { JsonCodec } from "./codec.js";
5
5
  import { getLogger } from "@logtape/logtape";
6
6
 
7
- //#region src/mq.ts
7
+ //#region mq.ts
8
8
  const logger = getLogger([
9
9
  "fedify",
10
10
  "redis",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/redis",
3
- "version": "1.8.1-dev.1251+8ad2dda9",
3
+ "version": "1.8.1-dev.1257+0f5c486a",
4
4
  "description": "Redis drivers for Fedify",
5
5
  "keywords": [
6
6
  "fedify",
@@ -16,7 +16,7 @@
16
16
  "repository": {
17
17
  "type": "git",
18
18
  "url": "git+https://github.com/fedify-dev/fedify.git",
19
- "directory": "packages/redis"
19
+ "directory": "redis"
20
20
  },
21
21
  "bugs": {
22
22
  "url": "https://github.com/fedify-dev/fedify/issues"
@@ -62,7 +62,7 @@
62
62
  },
63
63
  "peerDependencies": {
64
64
  "ioredis": "^5.6.1",
65
- "@fedify/fedify": "1.8.1-dev.1251+8ad2dda9"
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",