@rxdi/graphql-rabbitmq-subscriptions 0.7.190 → 0.7.191-nightly.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/amqp-pubsub.d.ts +3 -3
- package/dist/child-logger.js +1 -2
- package/package.json +6 -6
package/dist/amqp-pubsub.d.ts
CHANGED
|
@@ -22,6 +22,6 @@ export declare class AmqpPubSub {
|
|
|
22
22
|
asyncIterator<T>(triggers: string | string[], options?: IQueueNameConfig): AsyncIterator<T>;
|
|
23
23
|
private onMessage;
|
|
24
24
|
}
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
25
|
+
export type Path = Array<string | number>;
|
|
26
|
+
export type Trigger = string | Path;
|
|
27
|
+
export type TriggerTransform = (trigger: Trigger, channelOptions?: Partial<IQueueNameConfig>) => string;
|
package/dist/child-logger.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createChildLogger =
|
|
3
|
+
exports.createChildLogger = createChildLogger;
|
|
4
4
|
function createChildLogger(logger, className) {
|
|
5
5
|
return {
|
|
6
6
|
trace: (...message) => process.env.PUBSUB_LOGGING && console.log(...message),
|
|
@@ -8,4 +8,3 @@ function createChildLogger(logger, className) {
|
|
|
8
8
|
debug: (...message) => process.env.PUBSUB_LOGGING && console.log(...message),
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
|
-
exports.createChildLogger = createChildLogger;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxdi/graphql-rabbitmq-subscriptions",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.191-nightly.0",
|
|
4
4
|
"description": "A graphql-subscriptions PubSub Engine using RabbitMQ",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
"lint": "tslint ./src/**/*.ts"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"
|
|
28
|
-
"
|
|
27
|
+
"@rxdi/rabbitmq-pubsub": "^0.7.190",
|
|
28
|
+
"graphql-subscriptions": "^3.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@types/node": "^
|
|
32
|
-
"graphql": "^
|
|
31
|
+
"@types/node": "^25.0.3",
|
|
32
|
+
"graphql": "^16.12.0",
|
|
33
33
|
"tslint": "^5.20.1",
|
|
34
|
-
"typescript": "^
|
|
34
|
+
"typescript": "^5.9.3"
|
|
35
35
|
},
|
|
36
36
|
"typings": "dist/index.d.ts",
|
|
37
37
|
"typescript": {
|