@misalon/common 1.0.5 → 1.0.7

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
  });
package/build/index.d.ts CHANGED
@@ -8,6 +8,7 @@ export * from './middlewares/current-user';
8
8
  export * from './middlewares/error-handler';
9
9
  export * from './middlewares/require-auth';
10
10
  export * from './middlewares/validate-request';
11
+ export * from './middlewares/admin-auth';
11
12
  export * from './events/base-listener';
12
13
  export * from './events/base-publisher';
13
14
  export * from './events/subjects';
package/build/index.js CHANGED
@@ -24,6 +24,7 @@ __exportStar(require("./middlewares/current-user"), exports);
24
24
  __exportStar(require("./middlewares/error-handler"), exports);
25
25
  __exportStar(require("./middlewares/require-auth"), exports);
26
26
  __exportStar(require("./middlewares/validate-request"), exports);
27
+ __exportStar(require("./middlewares/admin-auth"), exports);
27
28
  __exportStar(require("./events/base-listener"), exports);
28
29
  __exportStar(require("./events/base-publisher"), exports);
29
30
  __exportStar(require("./events/subjects"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@misalon/common",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "files": [