@gemeentenijmegen/webapp 1.1.6 → 1.1.7
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/.jsii +13 -13
- package/assets/webapp/auth/auth.lambda/index.js +10 -10
- package/assets/webapp/login/login.lambda/index.js +10 -10
- package/assets/webapp/logout/logout.lambda/index.js +10 -10
- package/lib/webapp/Criticality.js +1 -1
- package/lib/webapp/Webapp.js +1 -1
- package/lib/webapp/Webpage.js +1 -1
- package/lib/webapp/auth/auth-function.js +2 -2
- package/lib/webapp/login/login-function.js +2 -2
- package/lib/webapp/logout/logout-function.js +2 -2
- package/lib/webapp/util/Files.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js +11 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-cjs/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/commands/TransactWriteItemsCommand.js +7 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/endpoint/ruleset.js +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchExecuteStatementCommand.d.ts +2 -3
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchGetItemCommand.d.ts +6 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/BatchWriteItemCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DeleteItemCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteStatementCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ExecuteTransactionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/GetItemCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/PutItemCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/QueryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +3 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/ScanCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TagResourceCommand.d.ts +11 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactGetItemsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/TransactWriteItemsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UntagResourceCommand.d.ts +11 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/commands/UpdateItemCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/models/models_0.d.ts +73 -41
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-dynamodb/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/client-dynamodb/package.json +13 -13
- package/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +20 -20
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +20 -20
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/client-s3/package.json +17 -17
- package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-secrets-manager/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/client-secrets-manager/package.json +13 -13
- package/node_modules/@aws-sdk/client-ssm/README.md +16 -0
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js +333 -71
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/SSM.js +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetAccessTokenCommand.js +23 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterTargetWithMaintenanceWindowCommand.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterTaskWithMaintenanceWindowCommand.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartAccessRequestCommand.js +22 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/commands/index.js +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_0.js +24 -4
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js +57 -27
- package/node_modules/@aws-sdk/client-ssm/dist-es/models/models_2.js +50 -16
- package/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js +94 -6
- package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +14 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateDocumentCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +1 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeOpsItemsCommand.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAccessTokenCommand.d.ts +94 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAutomationExecutionCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDocumentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsItemCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentsCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendAutomationSignalCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAccessRequestCommand.d.ts +105 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsItemCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +31 -51
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +163 -348
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts +413 -21
- package/node_modules/@aws-sdk/client-ssm/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts +34 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +12 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowScheduleCommand.d.ts +4 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetAccessTokenCommand.d.ts +50 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAccessRequestCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts +20 -14
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +61 -58
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts +81 -9
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/client-ssm/package.json +13 -13
- package/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/client-sso/package.json +12 -12
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +33 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js +16 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.js +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts +8 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts +1 -0
- package/node_modules/@aws-sdk/core/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +2 -2
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +3 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +4 -0
- package/node_modules/@aws-sdk/nested-clients/package.json +12 -12
- package/node_modules/@aws-sdk/s3-request-presigner/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/README.md +8 -2
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js +55 -22
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-es/SignatureV4MultiRegion.js +62 -25
- package/node_modules/@aws-sdk/signature-v4-multi-region/dist-types/SignatureV4MultiRegion.d.ts +5 -1
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +6 -3
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +19 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +19 -0
- package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +19 -0
- package/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/.jsii +18 -5
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/lib/index.js +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/.jsii +211 -11
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/index.d.ts +1 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/index.js +2 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/bedrock-inference-helper.d.ts +38 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/bedrock-inference-helper.js +110 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-defaults.d.ts +19 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-defaults.js +26 -23
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/dynamodb-table-helper.js +3 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/utils.d.ts +1 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/utils.js +5 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/vpc-helper.d.ts +2 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/lib/vpc-helper.js +13 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/package.json +3 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/bedrock-inference-helper.test.d.ts +13 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/bedrock-inference-helper.test.js +211 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/node_modules/@aws-solutions-constructs/core/test/dynamo-table.test.js +89 -9
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/package.json +6 -6
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/cdk.out +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/integ.json +3 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.assets.json +6 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddb-deployFunctionWithExistingVpc.template.json +3 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/lamddbdeployFunctionWithExistingVpcIntegDefaultTestDeployAssertEE08E38E.assets.json +2 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/manifest.json +3 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithExistingVpc.js.snapshot/tree.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/cdk.out +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/integ.json +3 -2
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.assets.json +6 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddb-deployFunctionWithVpc.template.json +3 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/lamddbdeployFunctionWithVpcIntegDefaultTestDeployAssert0AB8275C.assets.json +2 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/manifest.json +3 -3
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-deployFunctionWithVpc.js.snapshot/tree.json +1 -1
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.d.ts +13 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js +44 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/asset.a0c6248ec595d3ceec1177aa5ac5b494fdf4c66f1b88aa48086befd44f193d8c/index.js +21 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/cdk.out +1 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/integ.json +13 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/lamddb-point-in-time-recovery.assets.json +34 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/lamddb-point-in-time-recovery.template.json +253 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/lamddbpointintimerecoveryIntegDefaultTestDeployAssertB0CCD339.assets.json +20 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/lamddbpointintimerecoveryIntegDefaultTestDeployAssertB0CCD339.template.json +36 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/manifest.json +314 -0
- package/node_modules/@aws-solutions-constructs/aws-lambda-dynamodb/test/integ.lamddb-point-in-time-recovery.js.snapshot/tree.json +1 -0
- package/node_modules/@gemeentenijmegen/apiclient/node_modules/@gemeentenijmegen/utils/package.json +7 -7
- package/node_modules/@gemeentenijmegen/apiclient/package.json +9 -9
- package/node_modules/@gemeentenijmegen/apigateway-http/README.md +15 -3
- package/node_modules/@gemeentenijmegen/apigateway-http/lib/V1/Response.d.ts +19 -0
- package/node_modules/@gemeentenijmegen/apigateway-http/lib/V1/Response.js +85 -0
- package/node_modules/@gemeentenijmegen/apigateway-http/lib/V2/Response.d.ts +1 -0
- package/node_modules/@gemeentenijmegen/apigateway-http/lib/V2/Response.js +10 -10
- package/node_modules/@gemeentenijmegen/apigateway-http/package.json +6 -6
- package/node_modules/@gemeentenijmegen/session/package.json +4 -4
- package/node_modules/@gemeentenijmegen/utils/lib/Storage.d.ts +8 -0
- package/node_modules/@gemeentenijmegen/utils/lib/Storage.js +39 -3
- package/node_modules/@gemeentenijmegen/utils/package.json +8 -7
- package/node_modules/@smithy/core/dist-cjs/index.js +27 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +1 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js +4 -1
- package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +4 -1
- package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/resolveAuthOptions.js +20 -0
- package/node_modules/@smithy/core/dist-es/submodules/cbor/parseCborBody.js +3 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/resolveAuthOptions.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/resolveAuthOptions.d.ts +10 -0
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/package.json +4 -4
- package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +22 -1
- package/node_modules/@smithy/service-error-classification/dist-es/index.js +15 -0
- package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +5 -0
- package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts +5 -0
- package/node_modules/@smithy/service-error-classification/package.json +1 -1
- package/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4Base.js +1 -0
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +196 -92
- package/node_modules/@smithy/signature-v4/dist-cjs/signature-v4a-container.js +1 -0
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4.js +17 -73
- package/node_modules/@smithy/signature-v4/dist-es/SignatureV4Base.js +73 -0
- package/node_modules/@smithy/signature-v4/dist-es/index.js +4 -0
- package/node_modules/@smithy/signature-v4/dist-es/signature-v4a-container.js +3 -0
- package/node_modules/@smithy/signature-v4/dist-types/SignatureV4.d.ts +3 -59
- package/node_modules/@smithy/signature-v4/dist-types/SignatureV4Base.d.ts +69 -0
- package/node_modules/@smithy/signature-v4/dist-types/index.d.ts +4 -0
- package/node_modules/@smithy/signature-v4/dist-types/signature-v4a-container.d.ts +24 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4.d.ts +3 -59
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/SignatureV4Base.d.ts +69 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/index.d.ts +4 -0
- package/node_modules/@smithy/signature-v4/dist-types/ts3.4/signature-v4a-container.d.ts +24 -0
- package/node_modules/@smithy/signature-v4/package.json +1 -1
- package/node_modules/@smithy/smithy-client/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +2 -2
- package/node_modules/@types/aws-lambda/README.md +1 -1
- package/node_modules/@types/aws-lambda/handler.d.ts +95 -0
- package/node_modules/@types/aws-lambda/package.json +3 -3
- package/node_modules/axios/CHANGELOG.md +27 -0
- package/node_modules/axios/README.md +5 -5
- package/node_modules/axios/dist/axios.js +32 -16
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +2 -2
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +31 -13
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +31 -13
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +2 -2
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +32 -14
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +2 -2
- package/node_modules/axios/index.d.ts +4 -2
- package/node_modules/axios/lib/adapters/fetch.js +1 -1
- package/node_modules/axios/lib/core/Axios.js +1 -1
- package/node_modules/axios/lib/core/AxiosHeaders.js +15 -3
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/formDataToStream.js +1 -1
- package/node_modules/axios/lib/utils.js +12 -6
- package/node_modules/axios/package.json +4 -4
- package/node_modules/dotenv/CHANGELOG.md +18 -2
- package/node_modules/dotenv/README-es.md +7 -25
- package/node_modules/dotenv/README.md +23 -22
- package/node_modules/dotenv/lib/main.js +4 -5
- package/node_modules/dotenv/package.json +2 -1
- package/package.json +18 -18
- /package/node_modules/{mime-db → form-data/node_modules/mime-db}/HISTORY.md +0 -0
- /package/node_modules/{mime-db → form-data/node_modules/mime-db}/LICENSE +0 -0
- /package/node_modules/{mime-db → form-data/node_modules/mime-db}/README.md +0 -0
- /package/node_modules/{mime-db → form-data/node_modules/mime-db}/db.json +0 -0
- /package/node_modules/{mime-db → form-data/node_modules/mime-db}/index.js +0 -0
- /package/node_modules/{mime-db → form-data/node_modules/mime-db}/package.json +0 -0
- /package/node_modules/{mime-types → form-data/node_modules/mime-types}/HISTORY.md +0 -0
- /package/node_modules/{mime-types → form-data/node_modules/mime-types}/LICENSE +0 -0
- /package/node_modules/{mime-types → form-data/node_modules/mime-types}/README.md +0 -0
- /package/node_modules/{mime-types → form-data/node_modules/mime-types}/index.js +0 -0
- /package/node_modules/{mime-types → form-data/node_modules/mime-types}/package.json +0 -0
|
@@ -1,61 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventSigner, EventSigningArguments, FormattedEvent, HttpRequest, MessageSigner, RequestPresigner, RequestPresigningArguments, RequestSigner, RequestSigningArguments, SignableMessage, SignedMessage, SigningArguments, StringSigner } from "@smithy/types";
|
|
2
|
+
import { SignatureV4Base, SignatureV4CryptoInit, SignatureV4Init } from "./SignatureV4Base";
|
|
2
3
|
/**
|
|
3
4
|
* @public
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
/**
|
|
7
|
-
* The service signing name.
|
|
8
|
-
*/
|
|
9
|
-
service: string;
|
|
10
|
-
/**
|
|
11
|
-
* The region name or a function that returns a promise that will be
|
|
12
|
-
* resolved with the region name.
|
|
13
|
-
*/
|
|
14
|
-
region: string | Provider<string>;
|
|
15
|
-
/**
|
|
16
|
-
* The credentials with which the request should be signed or a function
|
|
17
|
-
* that returns a promise that will be resolved with credentials.
|
|
18
|
-
*/
|
|
19
|
-
credentials: AwsCredentialIdentity | Provider<AwsCredentialIdentity>;
|
|
20
|
-
/**
|
|
21
|
-
* A constructor function for a hash object that will calculate SHA-256 HMAC
|
|
22
|
-
* checksums.
|
|
23
|
-
*/
|
|
24
|
-
sha256: ChecksumConstructor | HashConstructor;
|
|
25
|
-
/**
|
|
26
|
-
* Whether to uri-escape the request URI path as part of computing the
|
|
27
|
-
* canonical request string. This is required for every AWS service, except
|
|
28
|
-
* Amazon S3, as of late 2017.
|
|
29
|
-
*
|
|
30
|
-
* @default [true]
|
|
31
|
-
*/
|
|
32
|
-
uriEscapePath?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Whether to calculate a checksum of the request body and include it as
|
|
35
|
-
* either a request header (when signing) or as a query string parameter
|
|
36
|
-
* (when presigning). This is required for AWS Glacier and Amazon S3 and optional for
|
|
37
|
-
* every other AWS service as of late 2017.
|
|
38
|
-
*
|
|
39
|
-
* @default [true]
|
|
40
|
-
*/
|
|
41
|
-
applyChecksum?: boolean;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @public
|
|
45
|
-
*/
|
|
46
|
-
export interface SignatureV4CryptoInit {
|
|
47
|
-
sha256: ChecksumConstructor | HashConstructor;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* @public
|
|
51
|
-
*/
|
|
52
|
-
export declare class SignatureV4 implements RequestPresigner, RequestSigner, StringSigner, EventSigner, MessageSigner {
|
|
53
|
-
private readonly service;
|
|
54
|
-
private readonly regionProvider;
|
|
55
|
-
private readonly credentialProvider;
|
|
56
|
-
private readonly sha256;
|
|
57
|
-
private readonly uriEscapePath;
|
|
58
|
-
private readonly applyChecksum;
|
|
6
|
+
export declare class SignatureV4 extends SignatureV4Base implements RequestPresigner, RequestSigner, StringSigner, EventSigner, MessageSigner {
|
|
59
7
|
private readonly headerFormatter;
|
|
60
8
|
constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath, }: SignatureV4Init & SignatureV4CryptoInit);
|
|
61
9
|
presign(originalRequest: HttpRequest, options?: RequestPresigningArguments): Promise<HttpRequest>;
|
|
@@ -67,10 +15,6 @@ export declare class SignatureV4 implements RequestPresigner, RequestSigner, Str
|
|
|
67
15
|
signMessage(signableMessage: SignableMessage, { signingDate, signingRegion, signingService }: SigningArguments): Promise<SignedMessage>;
|
|
68
16
|
private signString;
|
|
69
17
|
private signRequest;
|
|
70
|
-
private createCanonicalRequest;
|
|
71
|
-
private createStringToSign;
|
|
72
|
-
private getCanonicalPath;
|
|
73
18
|
private getSignature;
|
|
74
19
|
private getSigningKey;
|
|
75
|
-
private validateResolvedCredentials;
|
|
76
20
|
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { AwsCredentialIdentity, ChecksumConstructor, DateInput, HashConstructor, HeaderBag, HttpRequest, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface SignatureV4Init {
|
|
6
|
+
/**
|
|
7
|
+
* The service signing name.
|
|
8
|
+
*/
|
|
9
|
+
service: string;
|
|
10
|
+
/**
|
|
11
|
+
* The region name or a function that returns a promise that will be
|
|
12
|
+
* resolved with the region name.
|
|
13
|
+
*/
|
|
14
|
+
region: string | Provider<string>;
|
|
15
|
+
/**
|
|
16
|
+
* The credentials with which the request should be signed or a function
|
|
17
|
+
* that returns a promise that will be resolved with credentials.
|
|
18
|
+
*/
|
|
19
|
+
credentials: AwsCredentialIdentity | Provider<AwsCredentialIdentity>;
|
|
20
|
+
/**
|
|
21
|
+
* A constructor function for a hash object that will calculate SHA-256 HMAC
|
|
22
|
+
* checksums.
|
|
23
|
+
*/
|
|
24
|
+
sha256?: ChecksumConstructor | HashConstructor;
|
|
25
|
+
/**
|
|
26
|
+
* Whether to uri-escape the request URI path as part of computing the
|
|
27
|
+
* canonical request string. This is required for every AWS service, except
|
|
28
|
+
* Amazon S3, as of late 2017.
|
|
29
|
+
*
|
|
30
|
+
* @default [true]
|
|
31
|
+
*/
|
|
32
|
+
uriEscapePath?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Whether to calculate a checksum of the request body and include it as
|
|
35
|
+
* either a request header (when signing) or as a query string parameter
|
|
36
|
+
* (when presigning). This is required for AWS Glacier and Amazon S3 and optional for
|
|
37
|
+
* every other AWS service as of late 2017.
|
|
38
|
+
*
|
|
39
|
+
* @default [true]
|
|
40
|
+
*/
|
|
41
|
+
applyChecksum?: boolean;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export interface SignatureV4CryptoInit {
|
|
47
|
+
sha256: ChecksumConstructor | HashConstructor;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
export declare abstract class SignatureV4Base {
|
|
53
|
+
protected readonly service: string;
|
|
54
|
+
protected readonly regionProvider: Provider<string>;
|
|
55
|
+
protected readonly credentialProvider: Provider<AwsCredentialIdentity>;
|
|
56
|
+
protected readonly sha256: ChecksumConstructor | HashConstructor;
|
|
57
|
+
private readonly uriEscapePath;
|
|
58
|
+
protected readonly applyChecksum: boolean;
|
|
59
|
+
protected constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath, }: SignatureV4Init & SignatureV4CryptoInit);
|
|
60
|
+
protected createCanonicalRequest(request: HttpRequest, canonicalHeaders: HeaderBag, payloadHash: string): string;
|
|
61
|
+
protected createStringToSign(longDate: string, credentialScope: string, canonicalRequest: string, algorithmIdentifier: string): Promise<string>;
|
|
62
|
+
private getCanonicalPath;
|
|
63
|
+
protected validateResolvedCredentials(credentials: unknown): void;
|
|
64
|
+
protected formatDate(now: DateInput): {
|
|
65
|
+
longDate: string;
|
|
66
|
+
shortDate: string;
|
|
67
|
+
};
|
|
68
|
+
protected getCanonicalHeaderList(headers: object): string;
|
|
69
|
+
}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
export * from "./SignatureV4";
|
|
2
|
+
export * from "./constants";
|
|
2
3
|
export { getCanonicalHeaders } from "./getCanonicalHeaders";
|
|
3
4
|
export { getCanonicalQuery } from "./getCanonicalQuery";
|
|
4
5
|
export { getPayloadHash } from "./getPayloadHash";
|
|
5
6
|
export { moveHeadersToQuery } from "./moveHeadersToQuery";
|
|
6
7
|
export { prepareRequest } from "./prepareRequest";
|
|
7
8
|
export * from "./credentialDerivation";
|
|
9
|
+
export { SignatureV4Init, SignatureV4CryptoInit, SignatureV4Base } from "./SignatureV4Base";
|
|
10
|
+
export { hasHeader } from "./headerUtil";
|
|
11
|
+
export * from "./signature-v4a-container";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { RequestSigner } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export type OptionalSigV4aSigner = {
|
|
6
|
+
/**
|
|
7
|
+
* This constructor is not typed so as not to require a type import
|
|
8
|
+
* from the signature-v4a package.
|
|
9
|
+
*
|
|
10
|
+
* The true type is SignatureV4a from @smithy/signature-v4a.
|
|
11
|
+
*/
|
|
12
|
+
new (options: any): RequestSigner;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* \@smithy/signature-v4a will install the constructor in this
|
|
18
|
+
* container if it's installed.
|
|
19
|
+
*
|
|
20
|
+
* This avoids a runtime-require being interpreted statically by bundlers.
|
|
21
|
+
*/
|
|
22
|
+
export declare const signatureV4aContainer: {
|
|
23
|
+
SignatureV4a: null | OptionalSigV4aSigner;
|
|
24
|
+
};
|
|
@@ -1,61 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventSigner, EventSigningArguments, FormattedEvent, HttpRequest, MessageSigner, RequestPresigner, RequestPresigningArguments, RequestSigner, RequestSigningArguments, SignableMessage, SignedMessage, SigningArguments, StringSigner } from "@smithy/types";
|
|
2
|
+
import { SignatureV4Base, SignatureV4CryptoInit, SignatureV4Init } from "./SignatureV4Base";
|
|
2
3
|
/**
|
|
3
4
|
* @public
|
|
4
5
|
*/
|
|
5
|
-
export
|
|
6
|
-
/**
|
|
7
|
-
* The service signing name.
|
|
8
|
-
*/
|
|
9
|
-
service: string;
|
|
10
|
-
/**
|
|
11
|
-
* The region name or a function that returns a promise that will be
|
|
12
|
-
* resolved with the region name.
|
|
13
|
-
*/
|
|
14
|
-
region: string | Provider<string>;
|
|
15
|
-
/**
|
|
16
|
-
* The credentials with which the request should be signed or a function
|
|
17
|
-
* that returns a promise that will be resolved with credentials.
|
|
18
|
-
*/
|
|
19
|
-
credentials: AwsCredentialIdentity | Provider<AwsCredentialIdentity>;
|
|
20
|
-
/**
|
|
21
|
-
* A constructor function for a hash object that will calculate SHA-256 HMAC
|
|
22
|
-
* checksums.
|
|
23
|
-
*/
|
|
24
|
-
sha256: ChecksumConstructor | HashConstructor;
|
|
25
|
-
/**
|
|
26
|
-
* Whether to uri-escape the request URI path as part of computing the
|
|
27
|
-
* canonical request string. This is required for every AWS service, except
|
|
28
|
-
* Amazon S3, as of late 2017.
|
|
29
|
-
*
|
|
30
|
-
* @default [true]
|
|
31
|
-
*/
|
|
32
|
-
uriEscapePath?: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Whether to calculate a checksum of the request body and include it as
|
|
35
|
-
* either a request header (when signing) or as a query string parameter
|
|
36
|
-
* (when presigning). This is required for AWS Glacier and Amazon S3 and optional for
|
|
37
|
-
* every other AWS service as of late 2017.
|
|
38
|
-
*
|
|
39
|
-
* @default [true]
|
|
40
|
-
*/
|
|
41
|
-
applyChecksum?: boolean;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @public
|
|
45
|
-
*/
|
|
46
|
-
export interface SignatureV4CryptoInit {
|
|
47
|
-
sha256: ChecksumConstructor | HashConstructor;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* @public
|
|
51
|
-
*/
|
|
52
|
-
export declare class SignatureV4 implements RequestPresigner, RequestSigner, StringSigner, EventSigner, MessageSigner {
|
|
53
|
-
private readonly service;
|
|
54
|
-
private readonly regionProvider;
|
|
55
|
-
private readonly credentialProvider;
|
|
56
|
-
private readonly sha256;
|
|
57
|
-
private readonly uriEscapePath;
|
|
58
|
-
private readonly applyChecksum;
|
|
6
|
+
export declare class SignatureV4 extends SignatureV4Base implements RequestPresigner, RequestSigner, StringSigner, EventSigner, MessageSigner {
|
|
59
7
|
private readonly headerFormatter;
|
|
60
8
|
constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath, }: SignatureV4Init & SignatureV4CryptoInit);
|
|
61
9
|
presign(originalRequest: HttpRequest, options?: RequestPresigningArguments): Promise<HttpRequest>;
|
|
@@ -67,10 +15,6 @@ export declare class SignatureV4 implements RequestPresigner, RequestSigner, Str
|
|
|
67
15
|
signMessage(signableMessage: SignableMessage, { signingDate, signingRegion, signingService }: SigningArguments): Promise<SignedMessage>;
|
|
68
16
|
private signString;
|
|
69
17
|
private signRequest;
|
|
70
|
-
private createCanonicalRequest;
|
|
71
|
-
private createStringToSign;
|
|
72
|
-
private getCanonicalPath;
|
|
73
18
|
private getSignature;
|
|
74
19
|
private getSigningKey;
|
|
75
|
-
private validateResolvedCredentials;
|
|
76
20
|
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { AwsCredentialIdentity, ChecksumConstructor, DateInput, HashConstructor, HeaderBag, HttpRequest, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface SignatureV4Init {
|
|
6
|
+
/**
|
|
7
|
+
* The service signing name.
|
|
8
|
+
*/
|
|
9
|
+
service: string;
|
|
10
|
+
/**
|
|
11
|
+
* The region name or a function that returns a promise that will be
|
|
12
|
+
* resolved with the region name.
|
|
13
|
+
*/
|
|
14
|
+
region: string | Provider<string>;
|
|
15
|
+
/**
|
|
16
|
+
* The credentials with which the request should be signed or a function
|
|
17
|
+
* that returns a promise that will be resolved with credentials.
|
|
18
|
+
*/
|
|
19
|
+
credentials: AwsCredentialIdentity | Provider<AwsCredentialIdentity>;
|
|
20
|
+
/**
|
|
21
|
+
* A constructor function for a hash object that will calculate SHA-256 HMAC
|
|
22
|
+
* checksums.
|
|
23
|
+
*/
|
|
24
|
+
sha256?: ChecksumConstructor | HashConstructor;
|
|
25
|
+
/**
|
|
26
|
+
* Whether to uri-escape the request URI path as part of computing the
|
|
27
|
+
* canonical request string. This is required for every AWS service, except
|
|
28
|
+
* Amazon S3, as of late 2017.
|
|
29
|
+
*
|
|
30
|
+
* @default [true]
|
|
31
|
+
*/
|
|
32
|
+
uriEscapePath?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Whether to calculate a checksum of the request body and include it as
|
|
35
|
+
* either a request header (when signing) or as a query string parameter
|
|
36
|
+
* (when presigning). This is required for AWS Glacier and Amazon S3 and optional for
|
|
37
|
+
* every other AWS service as of late 2017.
|
|
38
|
+
*
|
|
39
|
+
* @default [true]
|
|
40
|
+
*/
|
|
41
|
+
applyChecksum?: boolean;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export interface SignatureV4CryptoInit {
|
|
47
|
+
sha256: ChecksumConstructor | HashConstructor;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
export declare abstract class SignatureV4Base {
|
|
53
|
+
protected readonly service: string;
|
|
54
|
+
protected readonly regionProvider: Provider<string>;
|
|
55
|
+
protected readonly credentialProvider: Provider<AwsCredentialIdentity>;
|
|
56
|
+
protected readonly sha256: ChecksumConstructor | HashConstructor;
|
|
57
|
+
private readonly uriEscapePath;
|
|
58
|
+
protected readonly applyChecksum: boolean;
|
|
59
|
+
protected constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath, }: SignatureV4Init & SignatureV4CryptoInit);
|
|
60
|
+
protected createCanonicalRequest(request: HttpRequest, canonicalHeaders: HeaderBag, payloadHash: string): string;
|
|
61
|
+
protected createStringToSign(longDate: string, credentialScope: string, canonicalRequest: string, algorithmIdentifier: string): Promise<string>;
|
|
62
|
+
private getCanonicalPath;
|
|
63
|
+
protected validateResolvedCredentials(credentials: unknown): void;
|
|
64
|
+
protected formatDate(now: DateInput): {
|
|
65
|
+
longDate: string;
|
|
66
|
+
shortDate: string;
|
|
67
|
+
};
|
|
68
|
+
protected getCanonicalHeaderList(headers: object): string;
|
|
69
|
+
}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
export * from "./SignatureV4";
|
|
2
|
+
export * from "./constants";
|
|
2
3
|
export { getCanonicalHeaders } from "./getCanonicalHeaders";
|
|
3
4
|
export { getCanonicalQuery } from "./getCanonicalQuery";
|
|
4
5
|
export { getPayloadHash } from "./getPayloadHash";
|
|
5
6
|
export { moveHeadersToQuery } from "./moveHeadersToQuery";
|
|
6
7
|
export { prepareRequest } from "./prepareRequest";
|
|
7
8
|
export * from "./credentialDerivation";
|
|
9
|
+
export { SignatureV4Init, SignatureV4CryptoInit, SignatureV4Base } from "./SignatureV4Base";
|
|
10
|
+
export { hasHeader } from "./headerUtil";
|
|
11
|
+
export * from "./signature-v4a-container";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { RequestSigner } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export type OptionalSigV4aSigner = {
|
|
6
|
+
/**
|
|
7
|
+
* This constructor is not typed so as not to require a type import
|
|
8
|
+
* from the signature-v4a package.
|
|
9
|
+
*
|
|
10
|
+
* The true type is SignatureV4a from @smithy/signature-v4a.
|
|
11
|
+
*/
|
|
12
|
+
new (options: any): RequestSigner;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* \@smithy/signature-v4a will install the constructor in this
|
|
18
|
+
* container if it's installed.
|
|
19
|
+
*
|
|
20
|
+
* This avoids a runtime-require being interpreted statically by bundlers.
|
|
21
|
+
*/
|
|
22
|
+
export declare const signatureV4aContainer: {
|
|
23
|
+
SignatureV4a: null | OptionalSigV4aSigner;
|
|
24
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/smithy-client",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.2",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline smithy-client",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@smithy/core": "^3.
|
|
28
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
27
|
+
"@smithy/core": "^3.3.1",
|
|
28
|
+
"@smithy/middleware-endpoint": "^4.1.2",
|
|
29
29
|
"@smithy/middleware-stack": "^4.0.2",
|
|
30
30
|
"@smithy/protocol-http": "^5.1.0",
|
|
31
31
|
"@smithy/types": "^4.2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.10",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@smithy/property-provider": "^4.0.2",
|
|
27
|
-
"@smithy/smithy-client": "^4.2.
|
|
27
|
+
"@smithy/smithy-client": "^4.2.2",
|
|
28
28
|
"@smithy/types": "^4.2.0",
|
|
29
29
|
"bowser": "^2.11.0",
|
|
30
30
|
"tslib": "^2.6.2"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.10",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-node",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@smithy/credential-provider-imds": "^4.0.2",
|
|
28
28
|
"@smithy/node-config-provider": "^4.0.2",
|
|
29
29
|
"@smithy/property-provider": "^4.0.2",
|
|
30
|
-
"@smithy/smithy-client": "^4.2.
|
|
30
|
+
"@smithy/smithy-client": "^4.2.2",
|
|
31
31
|
"@smithy/types": "^4.2.0",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/util-retry",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"description": "Shared retry utilities to be used in middleware packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@smithy/service-error-classification": "^4.0.
|
|
31
|
+
"@smithy/service-error-classification": "^4.0.3",
|
|
32
32
|
"@smithy/types": "^4.2.0",
|
|
33
33
|
"tslib": "^2.6.2"
|
|
34
34
|
},
|
|
@@ -8,7 +8,7 @@ This package contains type definitions for aws-lambda (http://docs.aws.amazon.co
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-lambda.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Wed, 09 Apr 2025 18:39:53 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Writable } from "node:stream";
|
|
1
2
|
/**
|
|
2
3
|
* The interface that AWS Lambda will invoke your handler with.
|
|
3
4
|
* There are more specialized types for many cases where AWS services
|
|
@@ -170,3 +171,97 @@ export interface ClientContextEnv {
|
|
|
170
171
|
* Pass `null` or `undefined` for the `error` parameter to use this parameter.
|
|
171
172
|
*/
|
|
172
173
|
export type Callback<TResult = any> = (error?: Error | string | null, result?: TResult) => void;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Interface for using response streaming from AWS Lambda.
|
|
177
|
+
* To indicate to the runtime that Lambda should stream your function’s responses, you must wrap your function handler with the `awslambda.streamifyResponse()` decorator.
|
|
178
|
+
*
|
|
179
|
+
* The `streamifyResponse` decorator accepts the following additional parameter, `responseStream`, besides the default node handler parameters, `event`, and `context`.
|
|
180
|
+
* The new `responseStream` object provides a stream object that your function can write data to. Data written to this stream is sent immediately to the client. You can optionally set the Content-Type header of the response to pass additional metadata to your client about the contents of the stream.
|
|
181
|
+
*
|
|
182
|
+
* {@link https://aws.amazon.com/blogs/compute/introducing-aws-lambda-response-streaming/ AWS blog post}
|
|
183
|
+
* {@link https://docs.aws.amazon.com/lambda/latest/dg/config-rs-write-functions.html AWS documentation}
|
|
184
|
+
*
|
|
185
|
+
* @example <caption>Writing to the response stream</caption>
|
|
186
|
+
* import 'aws-lambda';
|
|
187
|
+
*
|
|
188
|
+
* export const handler = awslambda.streamifyResponse(
|
|
189
|
+
* async (event, responseStream, context) => {
|
|
190
|
+
* responseStream.setContentType("text/plain");
|
|
191
|
+
* responseStream.write("Hello, world!");
|
|
192
|
+
* responseStream.end();
|
|
193
|
+
* }
|
|
194
|
+
* );
|
|
195
|
+
*
|
|
196
|
+
* @example <caption>Using pipeline</caption>
|
|
197
|
+
* import 'aws-lambda';
|
|
198
|
+
* import { Readable } from 'stream';
|
|
199
|
+
* import { pipeline } from 'stream/promises';
|
|
200
|
+
* import zlib from 'zlib';
|
|
201
|
+
*
|
|
202
|
+
* export const handler = awslambda.streamifyResponse(
|
|
203
|
+
* async (event, responseStream, context) => {
|
|
204
|
+
* // As an example, convert event to a readable stream.
|
|
205
|
+
* const requestStream = Readable.from(Buffer.from(JSON.stringify(event)));
|
|
206
|
+
*
|
|
207
|
+
* await pipeline(requestStream, zlib.createGzip(), responseStream);
|
|
208
|
+
* }
|
|
209
|
+
* );
|
|
210
|
+
*/
|
|
211
|
+
export type StreamifyHandler<TEvent = any, TResult = any> = (
|
|
212
|
+
event: TEvent,
|
|
213
|
+
responseStream: awslambda.HttpResponseStream,
|
|
214
|
+
context: Context,
|
|
215
|
+
) => TResult | Promise<TResult>;
|
|
216
|
+
|
|
217
|
+
declare global {
|
|
218
|
+
namespace awslambda {
|
|
219
|
+
class HttpResponseStream extends Writable {
|
|
220
|
+
static from(
|
|
221
|
+
writable: Writable,
|
|
222
|
+
metadata: Record<string, unknown>,
|
|
223
|
+
): HttpResponseStream;
|
|
224
|
+
setContentType: (contentType: string) => void;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Decorator for using response streaming from AWS Lambda.
|
|
229
|
+
* To indicate to the runtime that Lambda should stream your function’s responses, you must wrap your function handler with the `awslambda.streamifyResponse()` decorator.
|
|
230
|
+
*
|
|
231
|
+
* The `streamifyResponse` decorator accepts the following additional parameter, `responseStream`, besides the default node handler parameters, `event`, and `context`.
|
|
232
|
+
* The new `responseStream` object provides a stream object that your function can write data to. Data written to this stream is sent immediately to the client. You can optionally set the Content-Type header of the response to pass additional metadata to your client about the contents of the stream.
|
|
233
|
+
*
|
|
234
|
+
* {@link https://aws.amazon.com/blogs/compute/introducing-aws-lambda-response-streaming/ AWS blog post}
|
|
235
|
+
* {@link https://docs.aws.amazon.com/lambda/latest/dg/config-rs-write-functions.html AWS documentation}
|
|
236
|
+
*
|
|
237
|
+
* @example <caption>Writing to the response stream</caption>
|
|
238
|
+
* import 'aws-lambda';
|
|
239
|
+
*
|
|
240
|
+
* export const handler = awslambda.streamifyResponse(
|
|
241
|
+
* async (event, responseStream, context) => {
|
|
242
|
+
* responseStream.setContentType("text/plain");
|
|
243
|
+
* responseStream.write("Hello, world!");
|
|
244
|
+
* responseStream.end();
|
|
245
|
+
* }
|
|
246
|
+
* );
|
|
247
|
+
*
|
|
248
|
+
* @example <caption>Using pipeline</caption>
|
|
249
|
+
* import 'aws-lambda';
|
|
250
|
+
* import { Readable } from 'stream';
|
|
251
|
+
* import { pipeline } from 'stream/promises';
|
|
252
|
+
* import zlib from 'zlib';
|
|
253
|
+
*
|
|
254
|
+
* export const handler = awslambda.streamifyResponse(
|
|
255
|
+
* async (event, responseStream, context) => {
|
|
256
|
+
* // As an example, convert event to a readable stream.
|
|
257
|
+
* const requestStream = Readable.from(Buffer.from(JSON.stringify(event)));
|
|
258
|
+
*
|
|
259
|
+
* await pipeline(requestStream, zlib.createGzip(), responseStream);
|
|
260
|
+
* }
|
|
261
|
+
* );
|
|
262
|
+
*/
|
|
263
|
+
function streamifyResponse<TEvent = any, TResult = void>(
|
|
264
|
+
handler: StreamifyHandler<TEvent, TResult>,
|
|
265
|
+
): StreamifyHandler<TEvent, TResult>;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/aws-lambda",
|
|
3
|
-
"version": "8.10.
|
|
3
|
+
"version": "8.10.149",
|
|
4
4
|
"description": "TypeScript definitions for aws-lambda",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-lambda",
|
|
6
6
|
"license": "MIT",
|
|
@@ -221,6 +221,6 @@
|
|
|
221
221
|
"scripts": {},
|
|
222
222
|
"dependencies": {},
|
|
223
223
|
"peerDependencies": {},
|
|
224
|
-
"typesPublisherContentHash": "
|
|
225
|
-
"typeScriptVersion": "5.
|
|
224
|
+
"typesPublisherContentHash": "c81874d4cc10b4be40e344a39f04f615284abe3e369bde369e03adb59a3722d4",
|
|
225
|
+
"typeScriptVersion": "5.1"
|
|
226
226
|
}
|
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
# [1.9.0](https://github.com/axios/axios/compare/v1.8.4...v1.9.0) (2025-04-24)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **core:** fix the Axios constructor implementation to treat the config argument as optional; ([#6881](https://github.com/axios/axios/issues/6881)) ([6c5d4cd](https://github.com/axios/axios/commit/6c5d4cd69286868059c5e52d45085cb9a894a983))
|
|
9
|
+
* **fetch:** fixed ERR_NETWORK mapping for Safari browsers; ([#6767](https://github.com/axios/axios/issues/6767)) ([dfe8411](https://github.com/axios/axios/commit/dfe8411c9a082c3d068bdd1f8d6e73054f387f45))
|
|
10
|
+
* **headers:** allow iterable objects to be a data source for the set method; ([#6873](https://github.com/axios/axios/issues/6873)) ([1b1f9cc](https://github.com/axios/axios/commit/1b1f9ccdc15f1ea745160ec9a5223de9db4673bc))
|
|
11
|
+
* **headers:** fix `getSetCookie` by using 'get' method for caseless access; ([#6874](https://github.com/axios/axios/issues/6874)) ([d4f7df4](https://github.com/axios/axios/commit/d4f7df4b304af8b373488fdf8e830793ff843eb9))
|
|
12
|
+
* **headers:** fixed support for setting multiple header values from an iterated source; ([#6885](https://github.com/axios/axios/issues/6885)) ([f7a3b5e](https://github.com/axios/axios/commit/f7a3b5e0f7e5e127b97defa92a132fbf1b55cf15))
|
|
13
|
+
* **http:** send minimal end multipart boundary ([#6661](https://github.com/axios/axios/issues/6661)) ([987d2e2](https://github.com/axios/axios/commit/987d2e2dd3b362757550f36eab875e60640b6ddc))
|
|
14
|
+
* **types:** fix autocomplete for adapter config ([#6855](https://github.com/axios/axios/issues/6855)) ([e61a893](https://github.com/axios/axios/commit/e61a8934d8f94dd429a2f309b48c67307c700df0))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **AxiosHeaders:** add getSetCookie method to retrieve set-cookie headers values ([#5707](https://github.com/axios/axios/issues/5707)) ([80ea756](https://github.com/axios/axios/commit/80ea756e72bcf53110fa792f5d7ab76e8b11c996))
|
|
20
|
+
|
|
21
|
+
### Contributors to this release
|
|
22
|
+
|
|
23
|
+
- <img src="https://avatars.githubusercontent.com/u/12586868?v=4&s=18" alt="avatar" width="18"/> [Dmitriy Mozgovoy](https://github.com/DigitalBrainJS "+200/-34 (#6890 #6889 #6888 #6885 #6881 #6767 #6874 #6873 )")
|
|
24
|
+
- <img src="https://avatars.githubusercontent.com/u/4814473?v=4&s=18" alt="avatar" width="18"/> [Jay](https://github.com/jasonsaayman "+26/-1 ()")
|
|
25
|
+
- <img src="https://avatars.githubusercontent.com/u/22686401?v=4&s=18" alt="avatar" width="18"/> [Willian Agostini](https://github.com/WillianAgostini "+21/-0 (#5707 )")
|
|
26
|
+
- <img src="https://avatars.githubusercontent.com/u/2500247?v=4&s=18" alt="avatar" width="18"/> [George Cheng](https://github.com/Gerhut "+3/-3 (#5096 )")
|
|
27
|
+
- <img src="https://avatars.githubusercontent.com/u/30260221?v=4&s=18" alt="avatar" width="18"/> [FatahChan](https://github.com/FatahChan "+2/-2 (#6855 )")
|
|
28
|
+
- <img src="https://avatars.githubusercontent.com/u/49002?v=4&s=18" alt="avatar" width="18"/> [Ionuț G. Stan](https://github.com/igstan "+1/-1 (#6661 )")
|
|
29
|
+
|
|
3
30
|
## [1.8.4](https://github.com/axios/axios/compare/v1.8.3...v1.8.4) (2025-03-19)
|
|
4
31
|
|
|
5
32
|
|