@allthings/cloud-toolkit 2.3.0-dev.3 → 2.3.0-dev.5

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.
package/dist/lib.cjs.js CHANGED
@@ -524,7 +524,7 @@ const aws = (request) => {
524
524
  remainingExecutionTime: context.getRemainingTimeInMillis && context.getRemainingTimeInMillis(),
525
525
  requestId: context.awsRequestId,
526
526
  },
527
- sourceIp: requestContext.identity?.sourceIp,
527
+ sourceIp: requestContext.identity.sourceIp,
528
528
  };
529
529
  };
530
530
  const logger$1 = (request, response) => {
package/dist/lib.esm.js CHANGED
@@ -501,7 +501,7 @@ const aws = (request) => {
501
501
  remainingExecutionTime: context.getRemainingTimeInMillis && context.getRemainingTimeInMillis(),
502
502
  requestId: context.awsRequestId,
503
503
  },
504
- sourceIp: requestContext.identity?.sourceIp,
504
+ sourceIp: requestContext.identity.sourceIp,
505
505
  };
506
506
  };
507
507
  const logger$1 = (request, response) => {