@imqueue/rpc 3.5.0 → 3.5.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imqueue/rpc",
3
- "version": "3.5.0",
3
+ "version": "3.5.2",
4
4
  "description": "Type-safe RPC framework for Node.js & TypeScript microservices over a Redis message queue — self-describing services generate their own strongly-typed clients (@imqueue framework)",
5
5
  "keywords": [
6
6
  "redis",
@@ -51,7 +51,7 @@
51
51
  "author": "imqueue.com <support@imqueue.com> (https://imqueue.com)",
52
52
  "license": "GPL-3.0-only",
53
53
  "dependencies": {
54
- "@imqueue/core": "^3.2.4",
54
+ "@imqueue/core": "^3.3.0",
55
55
  "acorn": "^8.17.0",
56
56
  "typescript": "^7.0.2"
57
57
  },
@@ -32,7 +32,11 @@
32
32
  */
33
33
  export interface ICacheConstructor {
34
34
  /**
35
+ * Constructs a cache adapter instance, ready to be initialized.
36
+ *
35
37
  * @param name - legacy, and never supplied by the registry
38
+ * @returns an uninitialized adapter — {@link ICache.init} must be called
39
+ * before use
36
40
  */
37
41
  new (name?: string): ICache;
38
42
  }
@@ -23,8 +23,12 @@
23
23
  */
24
24
  import { type ILogger } from '@imqueue/core';
25
25
  /**
26
- * Names of the {@link ILogger} methods {@link logged} can use to record a caught
26
+ * Names of the `ILogger` methods {@link logged} can use to record a caught
27
27
  * error.
28
+ *
29
+ * @remarks
30
+ * `ILogger` is declared by `@imqueue/core` and is not re-exported here — import it
31
+ * from that package if you need the type. A plain `console` satisfies it.
28
32
  */
29
33
  export type LoggedLogLevel = 'info' | 'log' | 'warn' | 'error';
30
34
  /**
@@ -32,7 +36,7 @@ export type LoggedLogLevel = 'info' | 'log' | 'warn' | 'error';
32
36
  */
33
37
  export interface LoggedDecoratorOptions {
34
38
  /**
35
- * Which {@link ILogger} method records the error.
39
+ * Which `ILogger` method records the error.
36
40
  *
37
41
  * @defaultValue 'error'
38
42
  *