@yopdev/dev-server 1.3.0 → 1.3.1

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.
@@ -1,15 +1,4 @@
1
1
  "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
2
  Object.defineProperty(exports, "__esModule", { value: true });
14
3
  exports.mapToLambdaEvent = exports.mapToLambdaSqsRecord = void 0;
15
4
  var logging_1 = require("@yopdev/logging");
@@ -65,7 +54,7 @@ function mapToLambdaEvent(req, requestBody) {
65
54
  requestContext: {
66
55
  accountId: '',
67
56
  apiId: '',
68
- authorizer: __assign({ jwt: { claims: claims } }, claims),
57
+ authorizer: { jwt: { claims: claims }, claims: claims },
69
58
  httpMethod: '',
70
59
  identity: {
71
60
  accessKey: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yopdev/dev-server",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "scripts": {
5
5
  "compile": "tsc",
6
6
  "pretest": "npm run compile",