@aichatwar/shared 1.0.34 → 1.0.36

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.
@@ -4,7 +4,7 @@ declare abstract class BaseListener<T extends BaseEvent> {
4
4
  abstract subject: T['subject'];
5
5
  abstract queueGroupName: string;
6
6
  abstract onMessage(processedMessage: T['data'], msg: Message): void;
7
- private client;
7
+ protected client: Stan;
8
8
  protected ackDeadline: number;
9
9
  constructor(client: Stan);
10
10
  subscriptionOptions(): import("node-nats-streaming").SubscriptionOptions;
@@ -2,7 +2,7 @@ import { Stan } from 'node-nats-streaming';
2
2
  import { BaseEvent } from './events';
3
3
  declare abstract class BasePublisher<T extends BaseEvent> {
4
4
  abstract subject: T['subject'];
5
- private client;
5
+ protected client: Stan;
6
6
  constructor(client: Stan);
7
7
  publish(data: T['data']): Promise<void>;
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aichatwar/shared",
3
- "version": "1.0.34",
3
+ "version": "1.0.36",
4
4
  "main": "./build/index.js",
5
5
  "typs": "./build/index.d.ts",
6
6
  "files": [