@aldb2b/common 1.0.352 → 1.0.353

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,10 +4,10 @@ exports.GetUser = void 0;
4
4
  const common_1 = require("@nestjs/common");
5
5
  exports.GetUser = common_1.createParamDecorator((data, ctx) => {
6
6
  const req = ctx.switchToHttp().getRequest();
7
- const { id, email, role, type, company, contactId, language, meetingHubEvent } = req.headers;
7
+ const { id, email, role, type, company, contactId, language, meetingHubEvent, firstname, lastname, eventStatus } = req.headers;
8
8
  if (!id || !email || !role || !type) {
9
9
  throw new common_1.BadRequestException('Invalid header');
10
10
  }
11
- return { id, email, role, type, company, contactId, language, meetingHubEvent };
11
+ return { id, email, role, type, company, contactId, language, meetingHubEvent, firstname, lastname, eventStatus };
12
12
  });
13
13
  //# sourceMappingURL=get-user-decorator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-decorator.js","sourceRoot":"","sources":["../../src/decorators/get-user-decorator.ts"],"names":[],"mappings":";;;AAAA,2CAIuB;AAGV,QAAA,OAAO,GAAG,6BAAoB,CACzC,CAAC,IAAI,EAAE,GAAqB,EAAc,EAAE;IAC1C,MAAM,GAAG,GAAG,GAAG,CAAC,YAAY,EAAE,CAAC,UAAU,EAAE,CAAA;IAC3C,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,eAAe,EAAE,GAAG,GAAG,CAAC,OAAO,CAAA;IAC5F,IAAI,CAAC,EAAE,IAAI,CAAC,KAAK,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,EAAE;QACnC,MAAM,IAAI,4BAAmB,CAAC,gBAAgB,CAAC,CAAA;KAChD;IACD,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,eAAe,EAAE,CAAA;AACjF,CAAC,CACF,CAAA"}
1
+ {"version":3,"file":"get-user-decorator.js","sourceRoot":"","sources":["../../src/decorators/get-user-decorator.ts"],"names":[],"mappings":";;;AAAA,2CAIuB;AAGV,QAAA,OAAO,GAAG,6BAAoB,CACzC,CAAC,IAAI,EAAE,GAAqB,EAAc,EAAE;IAC1C,MAAM,GAAG,GAAG,GAAG,CAAC,YAAY,EAAE,CAAC,UAAU,EAAE,CAAA;IAC3C,MAAM,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,GAAG,CAAC,OAAO,CAAA;IAC9H,IAAI,CAAC,EAAE,IAAI,CAAC,KAAK,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,EAAE;QACnC,MAAM,IAAI,4BAAmB,CAAC,gBAAgB,CAAC,CAAA;KAChD;IACD,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,eAAe,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAA;AACnH,CAAC,CACF,CAAA"}
@@ -3432,7 +3432,7 @@
3432
3432
  "affectsGlobalScope": false
3433
3433
  },
3434
3434
  "../src/decorators/get-user-decorator.ts": {
3435
- "version": "2cbf7b5291199d232d97b50422809d31bf3baa798b674b015b8226bad429651f",
3435
+ "version": "2cbb5690c758e40f00f1c758bdf43ac2e8c6623b99e4c63cbb00deb62e1876f5",
3436
3436
  "signature": "2edbd67ef5c8b5f94d7abaea90ab48657ff66e5277a1409c425ff253daa65751",
3437
3437
  "affectsGlobalScope": false
3438
3438
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aldb2b/common",
3
- "version": "1.0.352",
3
+ "version": "1.0.353",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",