@ajayjbtickets/common 1.0.45 → 1.0.46
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 +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -204,7 +204,7 @@ declare abstract class Listener<T extends Event> {
|
|
|
204
204
|
abstract queueGroupName: string;
|
|
205
205
|
abstract onMessage(data: T["data"], msg: Message): void;
|
|
206
206
|
protected ackWait: number;
|
|
207
|
-
|
|
207
|
+
protected client: Stan;
|
|
208
208
|
constructor(client: Stan);
|
|
209
209
|
subscriptionOptions(): node_nats_streaming.SubscriptionOptions;
|
|
210
210
|
listen(): void;
|
|
@@ -213,7 +213,7 @@ declare abstract class Listener<T extends Event> {
|
|
|
213
213
|
|
|
214
214
|
declare abstract class Publisher<T extends Event> {
|
|
215
215
|
abstract subject: T["subject"];
|
|
216
|
-
|
|
216
|
+
protected client: Stan;
|
|
217
217
|
constructor(client: Stan);
|
|
218
218
|
publish(data: T["data"]): Promise<string>;
|
|
219
219
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -204,7 +204,7 @@ declare abstract class Listener<T extends Event> {
|
|
|
204
204
|
abstract queueGroupName: string;
|
|
205
205
|
abstract onMessage(data: T["data"], msg: Message): void;
|
|
206
206
|
protected ackWait: number;
|
|
207
|
-
|
|
207
|
+
protected client: Stan;
|
|
208
208
|
constructor(client: Stan);
|
|
209
209
|
subscriptionOptions(): node_nats_streaming.SubscriptionOptions;
|
|
210
210
|
listen(): void;
|
|
@@ -213,7 +213,7 @@ declare abstract class Listener<T extends Event> {
|
|
|
213
213
|
|
|
214
214
|
declare abstract class Publisher<T extends Event> {
|
|
215
215
|
abstract subject: T["subject"];
|
|
216
|
-
|
|
216
|
+
protected client: Stan;
|
|
217
217
|
constructor(client: Stan);
|
|
218
218
|
publish(data: T["data"]): Promise<string>;
|
|
219
219
|
}
|