sdk-aws-lambda 0.8.1 → 0.8.2
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/access/sdks/lambda/genLambdaSdk.js.map +1 -1
- package/dist/access/sdks/lambda/sdkLambdaInvoke.js.map +1 -1
- package/dist/contract/cli/asGenArgs.js.map +1 -1
- package/dist/contract/cli/gen.js.map +1 -1
- package/dist/domain.objects/DomainObjectCaptured.d.ts +3 -1
- package/dist/domain.objects/DomainObjectCaptured.js.map +1 -1
- package/dist/domain.objects/GeneratedFile.js.map +1 -1
- package/dist/domain.objects/HttpStatusCode.js.map +1 -1
- package/dist/domain.objects/LambdaCredentialsAbsentError.js.map +1 -1
- package/dist/domain.objects/LambdaDomainObjectNotCapturableError.js.map +1 -1
- package/dist/domain.objects/LambdaDomainObjectRefUnbindableError.js.map +1 -1
- package/dist/domain.objects/LambdaEndpoint.d.ts +2 -2
- package/dist/domain.objects/LambdaEndpoint.js.map +1 -1
- package/dist/domain.objects/LambdaEndpointError.d.ts +1 -1
- package/dist/domain.objects/LambdaEndpointError.js.map +1 -1
- package/dist/domain.objects/LambdaEndpointErrorResponseBody.d.ts +2 -2
- package/dist/domain.objects/LambdaEndpointErrorResponseBody.js.map +1 -1
- package/dist/domain.objects/LambdaEndpointRefusedError.js.map +1 -1
- package/dist/domain.objects/LambdaEndpointSchema.d.ts +3 -1
- package/dist/domain.objects/LambdaEventSchemaSource.d.ts +1 -1
- package/dist/domain.objects/LambdaFunctionNotFoundError.js.map +1 -1
- package/dist/domain.objects/LambdaIntrospectionBlockedError.js.map +1 -1
- package/dist/domain.objects/LambdaIntrospectionNotSupportedError.js.map +1 -1
- package/dist/domain.objects/LambdaServiceNotFoundError.js.map +1 -1
- package/dist/domain.objects/TrailExidHeader.d.ts +1 -1
- package/dist/domain.operations/asLambdaEndpoint/asLambdaEndpoint.js.map +1 -1
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.asExampleUuid.js.map +1 -1
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.constants.d.ts +1 -1
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.constants.js +1 -1
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.constants.js.map +1 -1
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.d.ts +10 -36
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.fromApiGateway.js +1 -1
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.fromApiGateway.js.map +1 -1
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.fromKinesis.js.map +1 -1
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.fromS3.js.map +1 -1
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.fromSns.js.map +1 -1
- package/dist/domain.operations/asLambdaEvent/asLambdaEvent.fromSqs.js.map +1 -1
- package/dist/domain.operations/asLambdaEventSchema/asLambdaEventPayloadSchema.js +1 -1
- package/dist/domain.operations/asLambdaEventSchema/asLambdaEventPayloadSchema.js.map +1 -1
- package/dist/domain.operations/asLambdaEventSchema/asLambdaEventSchema.fromKinesis.js +2 -2
- package/dist/domain.operations/asLambdaEventSchema/asLambdaEventSchema.fromKinesis.js.map +1 -1
- package/dist/domain.operations/asLambdaEventSchema/asLambdaEventSchema.fromSns.js +2 -2
- package/dist/domain.operations/asLambdaEventSchema/asLambdaEventSchema.fromSns.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/askLambdaEndpoint.d.ts +4 -44
- package/dist/domain.operations/askLambdaEndpoint/askLambdaEndpoint.viaApiGateway.js +1 -1
- package/dist/domain.operations/askLambdaEndpoint/askLambdaEndpoint.viaApiGateway.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/askLambdaEndpoint.viaInvoke.js +2 -2
- package/dist/domain.operations/askLambdaEndpoint/askLambdaEndpoint.viaInvoke.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/cache/asAskLambdaCacheKeyOfRefusal.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/cache/asCacheWithoutSet.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/cache/asCachedExecutor.d.ts +1 -1
- package/dist/domain.operations/askLambdaEndpoint/cache/asCachedExecutor.js +1 -1
- package/dist/domain.operations/askLambdaEndpoint/cache/asCachedExecutor.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/cache/getAskLambdaCacheKey.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/error/getStatusCodeHint.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/invoke/executeHttpRequest.d.ts +1 -1
- package/dist/domain.operations/askLambdaEndpoint/invoke/executeHttpRequest.js +1 -1
- package/dist/domain.operations/askLambdaEndpoint/invoke/executeHttpRequest.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/invoke/executeLambdaInvocation.js +2 -2
- package/dist/domain.operations/askLambdaEndpoint/invoke/executeLambdaInvocation.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/asErrorFromHttpResponse.js +3 -3
- package/dist/domain.operations/askLambdaEndpoint/serde/asErrorFromHttpResponse.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/asHeadersRecord.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/asHttpMethod.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/asHttpRequestBody.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/asHttpRequestHeaders.js +2 -2
- package/dist/domain.operations/askLambdaEndpoint/serde/asHttpRequestHeaders.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/asLambdaEndpointRefusal.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/getIsHttpThrottle.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/getLambdaPayload.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/getOneBodyFromHttpText.js +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/getOneBodyFromHttpText.js.map +1 -1
- package/dist/domain.operations/askLambdaEndpoint/serde/getOneCorrelationIdFromBody.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/asContextLogTrail.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.d.ts +6 -4
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asApiGatewayRequestEventUnified.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asApiGatewayResponseOnwire.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asApiGatewayResponseOnwireJson.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asApiGatewayResponseSchema.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asCorsHeadersWithTrail.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/asHeaderKeysLowercased.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/genLambdaEndpoint.forApiGateway.d.ts +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/genLambdaEndpoint.forApiGateway.js +9 -9
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/genLambdaEndpoint.forApiGateway.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/getAllResponseOnwireKeysFound.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/getCorsOrigin.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/getIsV1ApiGatewayRequestEvent.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/getIsV2ApiGatewayRequestEvent.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/isApiGatewayResponse.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/middleware/genApiGatewayRequestEventNormalizationMiddleware.js +2 -2
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/middleware/genApiGatewayRequestEventNormalizationMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/middleware/genContentTypeCoherenceMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/middleware/genZodInputValidationMiddleware.d.ts +15 -2
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/middleware/genZodInputValidationMiddleware.js +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forApiGateway/middleware/genZodInputValidationMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/genLambdaEndpoint.forAsk.d.ts +2 -2
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/genLambdaEndpoint.forAsk.js +9 -9
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/genLambdaEndpoint.forAsk.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/middleware/genAskEventOnwireCaptureMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/middleware/genLambdaEventRefusedLogMiddleware.js +3 -3
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/middleware/genLambdaEventRefusedLogMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/middleware/genZodEventValidationMiddleware.js +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/middleware/genZodEventValidationMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/middleware/getAllLambdaEventIds.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forAsk/middleware/logLambdaEventRefused.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/asSqsBatchResponse.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/asSqsEventDecoded.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/asSqsHeadersOnwire.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/asSqsRecordDecoded.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/asSqsRecordIds.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/genLambdaEndpoint.forSqs.d.ts +4 -2
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/genLambdaEndpoint.forSqs.perBatch.d.ts +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/genLambdaEndpoint.forSqs.perBatch.js +3 -3
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/genLambdaEndpoint.forSqs.perBatch.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/genLambdaEndpoint.forSqs.perRecord.d.ts +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/genLambdaEndpoint.forSqs.perRecord.js +4 -4
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/genLambdaEndpoint.forSqs.perRecord.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/genSqsEndpointMiddlewares.d.ts +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/genSqsEndpointMiddlewares.js +3 -3
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/genSqsEndpointMiddlewares.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/getAllSqsIdsRetried.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/getAllSqsIdsUnclaimable.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/getAllSqsSuccessRefsMalformed.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/getIsSqsEvent.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/isSqsSuccessRef.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/logSqsRecordInvalid.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/logSqsRecordRefused.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/setSqsRecordValidated.js +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/setSqsRecordValidated.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/setSqsRecordsValidated.js +1 -1
- package/dist/domain.operations/genLambdaEndpoint/genLambdaEndpoint.forSqs/setSqsRecordsValidated.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/asCallerFault.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/asContextTrailed.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/asLogMethodOfFailure.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/genConstraintErrorMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/genInternalServiceErrorMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/genIntrospectionMiddleware.getJsonSchemaFromZod.d.ts +4 -2
- package/dist/domain.operations/genLambdaEndpoint/middleware/genIntrospectionMiddleware.getJsonSchemaFromZod.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/genIntrospectionMiddleware.isIntrospectionInput.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/genIntrospectionMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/genIoLoggerMiddleware.d.ts +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/genIoLoggerMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/genTrailMiddleware.js +2 -2
- package/dist/domain.operations/genLambdaEndpoint/middleware/genTrailMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/genZodOutputValidationMiddleware.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/getErrorResponseBody.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/getIsConstraintError.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/getIsFrozenMutatorRefusal.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/getUnwrappedEventWithExid.d.ts +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/getUnwrappedEventWithExid.js +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/getUnwrappedEventWithExid.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/getValidatedInput.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/getValidatedOutput.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/getValidationError.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/middleware/getZodIssuesSummary.js.map +1 -1
- package/dist/domain.operations/genLambdaEndpoint/setEventFrozen.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/asServiceSymbols/asServiceSymbols.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.file/asBarrelFileSource.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.file/asMechanismsFileSource.js +1 -1
- package/dist/domain.operations/genServiceSdk/gen.file/asMechanismsFileSource.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.file/asResourcesFileSource.js +2 -2
- package/dist/domain.operations/genServiceSdk/gen.file/asResourcesFileSource.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.file/formatTypescript.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.file/setGeneratedFilesBatch.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.mechanism/asMechanismFnSource.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.mechanism/getTypescriptFromJsonSchema.d.ts +3 -1
- package/dist/domain.operations/genServiceSdk/gen.mechanism/getTypescriptFromJsonSchema.js +1 -1
- package/dist/domain.operations/genServiceSdk/gen.mechanism/getTypescriptFromJsonSchema.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.resource/asDomainObjectPragma.d.ts +3 -1
- package/dist/domain.operations/genServiceSdk/gen.resource/asDomainObjectPragma.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.resource/asResourceClassSource.js +1 -1
- package/dist/domain.operations/genServiceSdk/gen.resource/asResourceClassSource.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.resource/assertAllDomainObjectRefsBind.js +1 -1
- package/dist/domain.operations/genServiceSdk/gen.resource/assertAllDomainObjectRefsBind.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/gen.resource/getAllDomainObjectsFromContracts.js +1 -1
- package/dist/domain.operations/genServiceSdk/gen.resource/getAllDomainObjectsFromContracts.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/genServiceSdk.js +1 -1
- package/dist/domain.operations/genServiceSdk/genServiceSdk.js.map +1 -1
- package/dist/domain.operations/genServiceSdk/getAllJsonSchemaNodes.js.map +1 -1
- package/dist/domain.operations/getAllLambdaContracts/getAllLambdaContracts.js +5 -27
- package/dist/domain.operations/getAllLambdaContracts/getAllLambdaContracts.js.map +1 -1
- package/dist/domain.operations/getAllLambdaContracts/lambdaContract/asContractRecord.js.map +1 -1
- package/dist/domain.operations/getAllLambdaContracts/lambdaFunction/getAllLambdaFunctionsByPrefix.js.map +1 -1
- package/dist/domain.operations/getAllLambdaContracts/lambdaFunction/sdkLambdaGetAllFunctions.js.map +1 -1
- package/dist/domain.operations/getOneLambdaContract/asLambdaEndpointSchema.js.map +1 -1
- package/dist/domain.operations/getOneLambdaContract/getOneLambdaContract.js +3 -25
- package/dist/domain.operations/getOneLambdaContract/getOneLambdaContract.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/context/getExidFromContext.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/context/getLogForExidExtraction.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/context/getOneTrailExid.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/error/asErrorFromPeerRefusal.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/error/getIsContempErrorTagged.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/error/getIsLambdaErrorResponse.d.ts +1 -1
- package/dist/domain.operations/lambdaEndpointWire/error/getIsLambdaErrorResponse.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/error/getLambdaErrorMetadata.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/error/getStackTraceString.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/error/throwIfCredentialsError.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/asHeadersWithoutKey.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/asTrailExidHeaders.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/getIsWrappedPayload.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/getOneLambdaEventSchemaSource.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/getOneTrailCarrierOfEvent.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/getOneTrailCarrierOfHandler.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/getOneTrailExidFromHeaders.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/isEventDeclaredAsApiGateway.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/isTrailExid.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/isTrailExidHeaderMalformed.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/setEventDeclaredAsApiGateway.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/setHandlerTrailCarrier.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/frame/setLambdaEventSchemaSource.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/getParsedResponse.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/serde/asUnprefixedErrorMessage.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/serde/getDecodedPayload.js.map +1 -1
- package/dist/domain.operations/lambdaEndpointWire/serde/getParsedJson.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/context/asLambdaContext.d.ts +1 -1
- package/dist/domain.operations/runLambdaEndpoint/context/asLambdaContext.js +1 -1
- package/dist/domain.operations/runLambdaEndpoint/context/asLambdaContext.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/dialect/asLambdaEndpointDialect.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/dialect/asLambdaEndpointOutput.d.ts +2 -1
- package/dist/domain.operations/runLambdaEndpoint/dialect/asLambdaEndpointOutput.js +2 -1
- package/dist/domain.operations/runLambdaEndpoint/dialect/asLambdaEndpointOutput.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/dialect/isLambdaEndpointErrorEnvelope.d.ts +1 -1
- package/dist/domain.operations/runLambdaEndpoint/dialect/isLambdaEndpointErrorEnvelope.js +1 -1
- package/dist/domain.operations/runLambdaEndpoint/dialect/isLambdaEndpointErrorEnvelope.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/error/isErrorLike.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/guard/assertEventIsGiven.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/guard/assertHandlerIsRunnable.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/local/asLocalRunIdentity.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/local/getOneHandlerFromServerlessYml.js +19 -30
- package/dist/domain.operations/runLambdaEndpoint/local/getOneHandlerFromServerlessYml.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/runLambdaEndpoint.d.ts +4 -23
- package/dist/domain.operations/runLambdaEndpoint/runLambdaEndpoint.onReferenced.d.ts +1 -1
- package/dist/domain.operations/runLambdaEndpoint/runLambdaEndpoint.onReferenced.js +2 -2
- package/dist/domain.operations/runLambdaEndpoint/runLambdaEndpoint.onReferenced.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/runLambdaEndpoint.onSerialized.js +6 -6
- package/dist/domain.operations/runLambdaEndpoint/runLambdaEndpoint.onSerialized.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/serde/asCarriedPayload.js +3 -3
- package/dist/domain.operations/runLambdaEndpoint/serde/asCarriedPayload.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/serde/asErrorTypeOfErrorLike.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/serde/asFramedPayload.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/serde/asWireFunctionErrorPayload.js +1 -1
- package/dist/domain.operations/runLambdaEndpoint/serde/asWireFunctionErrorPayload.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/serde/asWirePayload.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/serde/asWireStripped.js +1 -1
- package/dist/domain.operations/runLambdaEndpoint/serde/asWireStripped.js.map +1 -1
- package/dist/domain.operations/runLambdaEndpoint/serde/getOneTrailWithExid.js +1 -1
- package/dist/domain.operations/runLambdaEndpoint/serde/getOneTrailWithExid.js.map +1 -1
- package/package.json +53 -32
package/package.json
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
"name": "sdk-aws-lambda",
|
|
3
3
|
"author": "ehmpathy",
|
|
4
4
|
"description": "a simple and opinionated sdk for aws lambda. define endpoints, ask endpoints, auto-propagate trace-ids.",
|
|
5
|
-
"
|
|
5
|
+
"private": false,
|
|
6
|
+
"version": "0.8.2",
|
|
6
7
|
"repository": "ehmpathy/sdk-aws-lambda",
|
|
7
8
|
"homepage": "https://github.com/ehmpathy/sdk-aws-lambda",
|
|
8
9
|
"keywords": [
|
|
@@ -34,33 +35,38 @@
|
|
|
34
35
|
"fix:format": "npm run fix:format:biome",
|
|
35
36
|
"fix:lint": "biome check --write",
|
|
36
37
|
"fix": "npm run fix:format && npm run fix:lint",
|
|
37
|
-
"build:clean": "
|
|
38
|
-
"build:
|
|
38
|
+
"build:clean:bun": "rm -f ./bin/*.bc",
|
|
39
|
+
"build:clean:tsc": "(chmod -R u+w dist 2>/dev/null || true) && rm -rf dist/",
|
|
40
|
+
"build:clean": "npm run build:clean:tsc && npm run build:clean:bun",
|
|
41
|
+
"build:compile:tsc": "tsc -p ./tsconfig.build.json && tsc-alias -p ./tsconfig.build.json",
|
|
42
|
+
"build:compile": "npm run build:compile:tsc && npm run build:compile:bun --if-present",
|
|
39
43
|
"build": "npm run build:clean && npm run build:compile && npm run build:complete --if-present",
|
|
40
|
-
"
|
|
44
|
+
"build:ifstale": "set -eu && if [ -f dist/.build.stamp ] && [ -z \"$(find src assets package.json pnpm-lock.yaml tsconfig.json tsconfig.build.json app.json app.config.ts -newer dist/.build.stamp -type f ! -name '*.test.ts' ! -name '*.test.tsx' ! -name '*.snap' -print -quit 2>/dev/null)\" ]; then echo '👌 dist is fresh, build skipped'; else npm run build && touch dist/.build.stamp; fi",
|
|
45
|
+
"test:commits": "LAST_TAG=$(git describe --tags --abbrev=0 @^ 2> /dev/null || git rev-list --max-parents=0 HEAD) && commitlint --from \"${LAST_TAG:-}\" --to HEAD --verbose",
|
|
41
46
|
"test:types": "tsc -p ./tsconfig.json --noEmit",
|
|
42
47
|
"test:format:biome": "biome format",
|
|
43
48
|
"test:format": "npm run test:format:biome",
|
|
44
|
-
"test:lint:deps": "
|
|
49
|
+
"test:lint:deps": "depcheck -c ./.depcheckrc.yml",
|
|
45
50
|
"test:lint:biome": "biome check --diagnostic-level=error",
|
|
46
51
|
"test:lint:biome:all": "biome check",
|
|
47
|
-
"test:lint": "npm run test:lint:biome && npm run test:lint:deps",
|
|
48
|
-
"test:unit": "jest -c ./jest.unit.config.ts --forceExit --verbose --passWithNoTests $([ \"${THOROUGH:-}\" != \"true\" ] && echo '--changedSince=origin/main') $([ \"${RESNAP:-}\" = \"true\" ] && echo '--updateSnapshot')",
|
|
49
|
-
"test:integration": "jest -c ./jest.integration.config.ts --forceExit --verbose --passWithNoTests $([ \"${THOROUGH:-}\" != \"true\" ] && echo '--changedSince=origin/main') $([ \"${RESNAP:-}\" = \"true\" ] && echo '--updateSnapshot')",
|
|
50
|
-
"test:acceptance:locally": "npm run build && LOCALLY=true jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests $([ \"${RESNAP:-}\" = \"true\" ] && echo '--updateSnapshot')",
|
|
51
|
-
"test": "npm run test:commits && npm run test:types && npm run test:format && npm run test:lint && npm run test:unit && npm run test:integration && npm run test:acceptance:locally",
|
|
52
|
-
"test:acceptance": "npm run build && jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests $([ \"${RESNAP:-}\" = \"true\" ] && echo '--updateSnapshot')",
|
|
52
|
+
"test:lint": "npm run test:lint:biome && npm run test:lint:cycles && npm run test:lint:deps",
|
|
53
|
+
"test:unit": "set -eu && jest -c ./jest.unit.config.ts --forceExit --verbose --passWithNoTests $([ -n \"${CI:-}\" ] && echo '--ci') $([ \"${THOROUGH:-}\" != \"true\" ] && echo '--changedSince=origin/main') $([ \"${RESNAP:-}\" = \"true\" ] && echo '--updateSnapshot')",
|
|
54
|
+
"test:integration": "set -eu && jest -c ./jest.integration.config.ts --forceExit --verbose --passWithNoTests $([ -n \"${CI:-}\" ] && echo '--ci') $([ \"${THOROUGH:-}\" != \"true\" ] && echo '--changedSince=origin/main') $([ \"${RESNAP:-}\" = \"true\" ] && echo '--updateSnapshot')",
|
|
55
|
+
"test:acceptance:locally": "set -eu && npm run build:ifstale && LOCALLY=true jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests $([ \"${RESNAP:-}\" = \"true\" ] && echo '--updateSnapshot')",
|
|
56
|
+
"test": "set -eu && npm run test:commits && npm run test:types && npm run test:format && npm run test:lint && npm run test:unit && npm run test:integration && npm run test:acceptance:locally",
|
|
57
|
+
"test:acceptance": "set -eu && npm run build && jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests $([ -n \"${CI:-}\" ] && echo '--ci') $([ \"${RESNAP:-}\" = \"true\" ] && echo '--updateSnapshot')",
|
|
53
58
|
"prepush": "npm run test && npm run build",
|
|
54
59
|
"prepublish": "npm run build",
|
|
55
60
|
"preversion": "npm run prepush",
|
|
56
61
|
"postversion": "git push origin HEAD --tags --no-verify",
|
|
57
62
|
"prepare:husky": "husky install && chmod ug+x .husky/*",
|
|
58
63
|
"prepare:rhachet": "rhachet init --keys --hooks --roles mechanic behaver driver reviewer librarian ergonomist architect dispatcher learner achiever telepath operator observer deployer playwright enroller",
|
|
59
|
-
"prepare": "if [ -e .git ] && [ -z $CI ]; then npm run prepare:husky && npm run prepare:rhachet; fi",
|
|
60
|
-
"upgrade:rhachet": "rhachet upgrade"
|
|
64
|
+
"prepare": "if [ -e .git ] && [ -z \"${CI:-}\" ]; then npm run prepare:husky && npm run prepare:rhachet; fi",
|
|
65
|
+
"upgrade:rhachet": "rhachet upgrade",
|
|
66
|
+
"test:lint:cycles": "EXCL=$(node -p \"(require('yaml').parse(require('fs').readFileSync('.dpdmrc.yaml','utf8'))?.exclude ?? []).join('|')\") && dpdm --no-warning --no-tree --transform --exit-code circular:1 --exclude \"$EXCL\" 'src/**/!(*.test).ts'"
|
|
61
67
|
},
|
|
62
68
|
"dependencies": {
|
|
63
|
-
"@aws-sdk/client-lambda": "3.
|
|
69
|
+
"@aws-sdk/client-lambda": "3.1183.0",
|
|
64
70
|
"@biomejs/biome": "2.3.8",
|
|
65
71
|
"@ehmpathy/error-fns": "^1.3.7",
|
|
66
72
|
"@middy/core": "4.7.0",
|
|
@@ -69,18 +75,20 @@
|
|
|
69
75
|
"@middy/http-response-serializer": "4.7.0",
|
|
70
76
|
"@middy/http-security-headers": "4.7.0",
|
|
71
77
|
"domain-objects": "0.34.0",
|
|
72
|
-
"helpful-errors": "1.7.
|
|
78
|
+
"helpful-errors": "1.7.5",
|
|
73
79
|
"sdk-environment": "0.1.5",
|
|
74
|
-
"sdk-logs": "0.9.
|
|
75
|
-
"simple-in-memory-cache": "0.
|
|
80
|
+
"sdk-logs": "0.9.2",
|
|
81
|
+
"simple-in-memory-cache": "0.5.1",
|
|
76
82
|
"type-fns": "1.21.5",
|
|
77
|
-
"with-simple-cache": "0.
|
|
78
|
-
"yaml": "2.9.
|
|
83
|
+
"with-simple-cache": "0.17.3",
|
|
84
|
+
"yaml": "2.9.1",
|
|
79
85
|
"zod": "4.4.3"
|
|
80
86
|
},
|
|
81
87
|
"devDependencies": {
|
|
88
|
+
"@biomejs/biome": "2.3.8",
|
|
82
89
|
"@commitlint/cli": "19.5.0",
|
|
83
90
|
"@commitlint/config-conventional": "19.5.0",
|
|
91
|
+
"@jest/globals": "30.2.0",
|
|
84
92
|
"@swc/core": "1.15.3",
|
|
85
93
|
"@swc/jest": "0.2.39",
|
|
86
94
|
"@tsconfig/node20": "20.1.5",
|
|
@@ -92,37 +100,50 @@
|
|
|
92
100
|
"archiver": "8.0.0",
|
|
93
101
|
"cz-conventional-changelog": "3.3.0",
|
|
94
102
|
"declapract": "^0.13.27",
|
|
95
|
-
"declapract-typescript-ehmpathy": "^0.
|
|
96
|
-
"declastruct": "1.
|
|
103
|
+
"declapract-typescript-ehmpathy": "^0.51.2",
|
|
104
|
+
"declastruct": "1.9.2",
|
|
97
105
|
"declastruct-aws": "^1.5.2",
|
|
98
|
-
"declastruct-github": "1.
|
|
106
|
+
"declastruct-github": "1.8.0",
|
|
99
107
|
"depcheck": "1.4.3",
|
|
108
|
+
"dpdm": "4.0.1",
|
|
100
109
|
"esbuild": "0.28.1",
|
|
101
110
|
"esbuild-register": "3.6.0",
|
|
102
111
|
"husky": "8.0.3",
|
|
103
112
|
"iso-time": "1.11.7",
|
|
104
113
|
"jest": "30.2.0",
|
|
105
|
-
"rhachet": "1.
|
|
114
|
+
"rhachet": "1.55.1",
|
|
106
115
|
"rhachet-brains-anthropic": "0.4.3",
|
|
107
116
|
"rhachet-brains-fireworksai": "0.2.3",
|
|
108
|
-
"rhachet-brains-openrouter": "0.
|
|
117
|
+
"rhachet-brains-openrouter": "0.2.0",
|
|
109
118
|
"rhachet-brains-xai": "0.3.3",
|
|
110
|
-
"rhachet-roles-bhrain": "0.
|
|
111
|
-
"rhachet-roles-bhrowser": "0.
|
|
112
|
-
"rhachet-roles-bhuild": "0.
|
|
113
|
-
"rhachet-roles-ehmpathy": "1.
|
|
119
|
+
"rhachet-roles-bhrain": "0.45.0",
|
|
120
|
+
"rhachet-roles-bhrowser": "0.3.0",
|
|
121
|
+
"rhachet-roles-bhuild": "0.26.0",
|
|
122
|
+
"rhachet-roles-ehmpathy": "1.46.0",
|
|
114
123
|
"rhachet-roles-ghlitch": "0.4.0",
|
|
115
124
|
"rhachet-roles-rhachet": "0.1.7",
|
|
116
|
-
"
|
|
125
|
+
"sdk-logs": "0.9.2",
|
|
126
|
+
"test-fns": "1.17.0",
|
|
117
127
|
"tsc-alias": "1.8.10",
|
|
118
128
|
"tsx": "4.20.6",
|
|
119
|
-
"typescript": "
|
|
120
|
-
"yalc": "1.0.0-pre.53"
|
|
129
|
+
"typescript": "7.0.2",
|
|
130
|
+
"yalc": "1.0.0-pre.53",
|
|
131
|
+
"yaml": "2.9.1"
|
|
121
132
|
},
|
|
122
133
|
"config": {
|
|
123
134
|
"commitizen": {
|
|
124
135
|
"path": "./node_modules/cz-conventional-changelog"
|
|
125
136
|
}
|
|
126
137
|
},
|
|
127
|
-
"packageManager": "pnpm@10.
|
|
138
|
+
"packageManager": "pnpm@10.34.5",
|
|
139
|
+
"pnpm": {
|
|
140
|
+
"allowUnusedPatches": true,
|
|
141
|
+
"ignorePatchFailures": true,
|
|
142
|
+
"patchedDependencies": {
|
|
143
|
+
"@middy/core@4.7.0": "patches/@middy__core@4.7.0.patch",
|
|
144
|
+
"@middy/http-cors@4.7.0": "patches/@middy__http-cors@4.7.0.patch",
|
|
145
|
+
"@middy/http-response-serializer@4.7.0": "patches/@middy__http-response-serializer@4.7.0.patch",
|
|
146
|
+
"@middy/http-security-headers@4.7.0": "patches/@middy__http-security-headers@4.7.0.patch"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
128
149
|
}
|