@btravstack/amqp-client 0.23.0 → 0.25.0
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/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ export type AmqpClientSettings = {
|
|
|
9
9
|
readonly connectTimeoutMs?: number;
|
|
10
10
|
};
|
|
11
11
|
/** Bind a typed AMQP client to an application port for the lifetime of the DI scope. */
|
|
12
|
-
export declare const amqpClient: <C extends AnyAmqpContract, Settings extends AmqpClientSettings, const ClientId extends string, const SettingsId extends string>(port: PortClassOf<ClientId, TypedAmqpClient<C>>, contract: C, settings: PortClassOf<SettingsId, Settings>) => Provider<import("@btravstack/di").PortInstance<ClientId, TypedAmqpClient<C>>, ConnectionError, import("@btravstack/di").PortInstance<SettingsId, Settings> | import("@btravstack/di").Scope
|
|
12
|
+
export declare const amqpClient: <C extends AnyAmqpContract, Settings extends AmqpClientSettings, const ClientId extends string, const SettingsId extends string>(port: PortClassOf<ClientId, TypedAmqpClient<C>>, contract: C, settings: PortClassOf<SettingsId, Settings>) => Provider<import("@btravstack/di").PortInstance<ClientId, TypedAmqpClient<C>>, ConnectionError, import("@btravstack/di").PortInstance<SettingsId, Settings> | import("@btravstack/di").Scope> & {
|
|
13
13
|
readonly port: PortClassOf<ClientId, TypedAmqpClient<C>>;
|
|
14
14
|
};
|
|
15
15
|
//#endregion
|
package/dist/index.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ export type AmqpClientSettings = {
|
|
|
9
9
|
readonly connectTimeoutMs?: number;
|
|
10
10
|
};
|
|
11
11
|
/** Bind a typed AMQP client to an application port for the lifetime of the DI scope. */
|
|
12
|
-
export declare const amqpClient: <C extends AnyAmqpContract, Settings extends AmqpClientSettings, const ClientId extends string, const SettingsId extends string>(port: PortClassOf<ClientId, TypedAmqpClient<C>>, contract: C, settings: PortClassOf<SettingsId, Settings>) => Provider<import("@btravstack/di").PortInstance<ClientId, TypedAmqpClient<C>>, ConnectionError, import("@btravstack/di").PortInstance<SettingsId, Settings> | import("@btravstack/di").Scope
|
|
12
|
+
export declare const amqpClient: <C extends AnyAmqpContract, Settings extends AmqpClientSettings, const ClientId extends string, const SettingsId extends string>(port: PortClassOf<ClientId, TypedAmqpClient<C>>, contract: C, settings: PortClassOf<SettingsId, Settings>) => Provider<import("@btravstack/di").PortInstance<ClientId, TypedAmqpClient<C>>, ConnectionError, import("@btravstack/di").PortInstance<SettingsId, Settings> | import("@btravstack/di").Scope> & {
|
|
13
13
|
readonly port: PortClassOf<ClientId, TypedAmqpClient<C>>;
|
|
14
14
|
};
|
|
15
15
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@btravstack/amqp-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"description": "Scoped DI binding for @amqp-contract/client",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Benoit TRAVERS <benoit.travers.fr@gmail.com>",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@amqp-contract/client": "3.0.0-beta.11",
|
|
35
|
-
"@btravstack/di": "0.
|
|
35
|
+
"@btravstack/di": "0.25.0",
|
|
36
36
|
"@btravstack/tsconfig": "0.4.0",
|
|
37
37
|
"@opentelemetry/api": "1.9.1",
|
|
38
38
|
"@types/node": "26.6.4",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@amqp-contract/client": "^3.0.0-beta.11",
|
|
48
|
-
"@btravstack/di": "^0.
|
|
48
|
+
"@btravstack/di": "^0.25.0",
|
|
49
49
|
"@opentelemetry/api": "^1",
|
|
50
50
|
"unthrown": "^5.12.0"
|
|
51
51
|
},
|