@misalon/common 1.0.6 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ var Publisher = /** @class */ (function () {
12
12
  if (err) {
13
13
  return reject(err);
14
14
  }
15
- console.log('Event published to subject', _this.subject);
15
+ console.log('Event published to subject', _this.subject, ' here is our data ', data);
16
16
  resolve();
17
17
  });
18
18
  });
@@ -11,6 +11,7 @@ export interface SalonServiceCreatedEvent {
11
11
  description?: string;
12
12
  isActive: boolean;
13
13
  userId: string;
14
+ version: number;
14
15
  createdAt: string;
15
16
  updatedAt: string;
16
17
  };
@@ -11,6 +11,8 @@ export interface SalonServiceUpdatedEvent {
11
11
  description?: string;
12
12
  isActive: boolean;
13
13
  userId: string;
14
+ version: number;
15
+ appointmentId?: string;
14
16
  updatedAt: string;
15
17
  };
16
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@misalon/common",
3
- "version": "1.0.6",
3
+ "version": "1.0.9",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "files": [