@mavogel/awscdk-rootmail 0.0.330 → 0.0.332
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 +3 -3
- package/lib/rootmail.js +1 -1
- package/lib/ses-receive.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/README.md +35 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/auth/httpAuthSchemeProvider.js +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js +70 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/runtimeConfig.js +4 -3
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/runtimeConfig.shared.js +2 -2
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/schemas/schemas_0.js +128 -22
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/CloudWatchLogs.js +14 -4
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/CreateLookupTableCommand.js +16 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/DeleteLookupTableCommand.js +16 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/DescribeLookupTablesCommand.js +16 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/GetLookupTableCommand.js +16 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/UpdateLookupTableCommand.js +16 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/commands/index.js +5 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/models/models_1.js +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-es/schemas/schemas_0.js +119 -13
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/CloudWatchLogs.d.ts +144 -108
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/CloudWatchLogsClient.d.ts +118 -113
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/CreateLookupTableCommand.d.ts +103 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/CreateScheduledQueryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DeleteLookupTableCommand.d.ts +86 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeLookupTablesCommand.d.ts +103 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/DescribeQueryDefinitionsCommand.d.ts +7 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetLogFieldsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetLookupTableCommand.d.ts +92 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/GetScheduledQueryCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/ListScheduledQueriesCommand.d.ts +2 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/PutQueryDefinitionCommand.d.ts +7 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/StartQueryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/UpdateLookupTableCommand.d.ts +97 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/UpdateScheduledQueryCommand.d.ts +5 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/commands/index.d.ts +5 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/index.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_0.d.ts +280 -203
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/models/models_1.d.ts +234 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/DescribeConfigurationTemplatesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/DescribeDeliveriesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/DescribeDeliveryDestinationsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/DescribeDeliverySourcesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/DescribeDestinationsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/DescribeLogGroupsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/DescribeLogStreamsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/DescribeMetricFiltersPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/DescribeSubscriptionFiltersPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/FilterLogEventsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/GetLogEventsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/GetScheduledQueryHistoryPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/ListAggregateLogGroupSummariesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/ListAnomaliesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/ListLogAnomalyDetectorsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/ListLogGroupsForQueryPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/ListScheduledQueriesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/pagination/ListSourcesForS3TableIntegrationPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/schemas/schemas_0.d.ts +16 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/CloudWatchLogs.d.ts +86 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/CloudWatchLogsClient.d.ts +32 -3
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/CreateLookupTableCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DeleteLookupTableCommand.d.ts +46 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/DescribeLookupTablesCommand.d.ts +51 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetLogFieldsCommand.d.ts +2 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/GetLookupTableCommand.d.ts +50 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/UpdateLookupTableCommand.d.ts +49 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/UpdateScheduledQueryCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_0.d.ts +58 -45
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/models/models_1.d.ts +53 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudwatch-logs/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
- package/node_modules/@aws-sdk/client-cloudwatch-logs/package.json +17 -17
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/auth/httpAuthSchemeProvider.js +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/runtimeConfig.js +4 -3
- package/node_modules/@aws-sdk/client-route-53/dist-cjs/runtimeConfig.shared.js +2 -2
- package/node_modules/@aws-sdk/client-route-53/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-route-53/dist-es/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-es/waiters/waitForResourceRecordSetsChanged.js +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/Route53.d.ts +71 -71
- package/node_modules/@aws-sdk/client-route-53/dist-types/Route53Client.d.ts +74 -74
- package/node_modules/@aws-sdk/client-route-53/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/models/models_0.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/ListCidrBlocksPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/ListCidrCollectionsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/ListCidrLocationsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/ListHealthChecksPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/ListHostedZonesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/pagination/ListQueryLoggingConfigsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/Route53Client.d.ts +2 -3
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-route-53/dist-types/waiters/waitForResourceRecordSetsChanged.d.ts +3 -3
- package/node_modules/@aws-sdk/client-route-53/package.json +18 -18
- package/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +5 -4
- package/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +5 -5
- package/node_modules/@aws-sdk/client-s3/dist-es/S3.js +6 -6
- package/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketExists.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForBucketNotExists.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectExists.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-es/waiters/waitForObjectNotExists.js +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +107 -107
- package/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +114 -114
- package/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/models/errors.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListBucketsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +7 -8
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketExists.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForBucketNotExists.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectExists.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/dist-types/waiters/waitForObjectNotExists.d.ts +3 -3
- package/node_modules/@aws-sdk/client-s3/package.json +23 -23
- package/node_modules/@aws-sdk/client-ses/dist-cjs/auth/httpAuthSchemeProvider.js +2 -2
- package/node_modules/@aws-sdk/client-ses/dist-cjs/runtimeConfig.js +4 -3
- package/node_modules/@aws-sdk/client-ses/dist-cjs/runtimeConfig.shared.js +2 -2
- package/node_modules/@aws-sdk/client-ses/dist-es/SES.js +2 -2
- package/node_modules/@aws-sdk/client-ses/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-ses/dist-es/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-es/waiters/waitForIdentityExists.js +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/SES.d.ts +71 -71
- package/node_modules/@aws-sdk/client-ses/dist-types/SESClient.d.ts +74 -74
- package/node_modules/@aws-sdk/client-ses/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/models/models_0.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/pagination/ListCustomVerificationEmailTemplatesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/pagination/ListIdentitiesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/SESClient.d.ts +2 -3
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ses/dist-types/waiters/waitForIdentityExists.d.ts +3 -3
- package/node_modules/@aws-sdk/client-ses/package.json +25 -19
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/auth/httpAuthSchemeProvider.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js +4 -3
- package/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.shared.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-es/SSM.js +3 -3
- package/node_modules/@aws-sdk/client-ssm/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-es/waiters/waitForCommandExecuted.js +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts +146 -146
- package/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts +149 -149
- package/node_modules/@aws-sdk/client-ssm/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts +2 -2
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeActivationsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAssociationExecutionTargetsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAssociationExecutionsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAutomationExecutionsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAutomationStepExecutionsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAvailablePatchesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeEffectiveInstanceAssociationsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstanceAssociationsStatusPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstanceInformationPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePatchStatesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePatchesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePropertiesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInventoryDeletionsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowExecutionsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowSchedulePaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowTargetsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowTasksPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowsForTargetPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeOpsItemsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeParametersPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribePatchBaselinesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribePatchGroupsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribePatchPropertiesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeSessionsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetInventoryPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetInventorySchemaPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetOpsSummaryPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetParameterHistoryPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetParametersByPathPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetResourcePoliciesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListAssociationVersionsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListAssociationsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListCommandInvocationsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListCommandsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListComplianceItemsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListComplianceSummariesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListDocumentVersionsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListDocumentsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListNodesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListNodesSummaryPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListOpsItemEventsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListOpsItemRelatedItemsPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListOpsMetadataPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListResourceComplianceSummariesPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListResourceDataSyncPaginator.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts +2 -3
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts +11 -11
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/node_modules/@aws-sdk/client-ssm/dist-types/waiters/waitForCommandExecuted.d.ts +3 -3
- package/node_modules/@aws-sdk/client-ssm/package.json +17 -17
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +54 -21
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +54 -21
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +24 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.js +6 -5
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_0Protocol.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJson1_1Protocol.js +2 -1
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +6 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +6 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +4 -2
- package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +9 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +13 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_0Protocol.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJson1_1Protocol.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/AwsRestJsonProtocol.d.ts +3 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/query/AwsQueryProtocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +2 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +6 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/cbor/AwsSmithyRpcV2CborProtocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_0Protocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJson1_1Protocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsJsonRpcProtocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/json/AwsRestJsonProtocol.d.ts +8 -1
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsEc2QueryProtocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/query/AwsQueryProtocol.d.ts +3 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/xml/AwsRestXmlProtocol.d.ts +6 -1
- package/node_modules/@aws-sdk/core/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-env/README.md +12 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-ini/README.md +12 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-login/README.md +12 -3
- package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/README.md +12 -3
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/README.md +12 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/README.md +12 -3
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js +10 -10
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsInputMiddleware.js +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/dist-es/flexibleChecksumsMiddleware.js +1 -1
- package/node_modules/@aws-sdk/middleware-flexible-checksums/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-recursion-detection/README.md +10 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js +32 -5
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/protocol/S3RestXmlProtocol.js +25 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-es/s3-express/functions/s3ExpressMiddleware.js +1 -1
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/protocol/S3RestXmlProtocol.d.ts +20 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/dist-types/ts3.4/protocol/S3RestXmlProtocol.d.ts +15 -0
- package/node_modules/@aws-sdk/middleware-sdk-s3/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +10 -10
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/check-features.js +1 -1
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.js +4 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/runtimeConfig.shared.js +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js +4 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js +4 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +4 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +7 -6
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js +4 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentity.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/CognitoIdentityClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/Signin.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/SigninClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSO.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/SSOClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDC.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -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/sso-oidc/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STS.js +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.shared.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentity.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/CognitoIdentityClient.d.ts +3 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/index.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/cognito-identity/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/Signin.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/SigninClient.d.ts +3 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/index.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/signin/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSO.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/SSOClient.d.ts +3 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/index.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +3 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STS.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/STSClient.d.ts +3 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/auth/httpAuthSchemeProvider.d.ts +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/index.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/CognitoIdentityClient.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/cognito-identity/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/SigninClient.d.ts +2 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/signin/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/SSOClient.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/SSOOIDCClient.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/STSClient.d.ts +2 -5
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.browser.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.native.d.ts +2 -2
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.shared.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/package.json +15 -15
- package/node_modules/@aws-sdk/region-config-resolver/README.md +11 -4
- package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/README.md +10 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/README.md +10 -3
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +21 -11
- package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +5 -1
- package/node_modules/@aws-sdk/xml-builder/dist-es/escape-attribute.js +8 -1
- package/node_modules/@aws-sdk/xml-builder/dist-es/escape-element.js +13 -10
- package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +5 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/CHANGELOG.md +40 -4
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/README.md +8 -7
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxbuilder.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.cjs +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.d.cts +82 -20
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxp.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxparser.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/fxvalidator.min.js.map +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/lib/pem.d.cts +148 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/package.json +4 -3
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/fxp.d.ts +75 -19
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/pem.d.ts +135 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/util.js +18 -0
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js +37 -18
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js +76 -5
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +298 -116
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/XMLParser.js +2 -2
- package/node_modules/@aws-sdk/xml-builder/node_modules/fast-xml-parser/src/xmlparser/node2json.js +65 -15
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +12 -0
- package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js +5 -0
- package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js +5 -0
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +6 -0
- package/node_modules/@smithy/config-resolver/dist-types/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +6 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseDualstackEndpointConfigOptions.d.ts +6 -0
- package/node_modules/@smithy/config-resolver/dist-types/ts3.4/endpointsConfig/NodeUseFipsEndpointConfigOptions.d.ts +6 -0
- package/node_modules/@smithy/config-resolver/package.json +1 -1
- package/node_modules/@smithy/core/README.md +12 -1
- package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +8 -17
- package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +1 -8
- package/node_modules/@smithy/core/dist-es/submodules/protocols/RpcProtocol.js +7 -9
- package/node_modules/@smithy/core/dist-types/submodules/protocols/RpcProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/protocols/RpcProtocol.d.ts +1 -1
- package/node_modules/@smithy/core/package.json +2 -2
- package/node_modules/@smithy/middleware-endpoint/README.md +10 -3
- package/node_modules/@smithy/middleware-endpoint/dist-types/resolveEndpointConfig.d.ts +2 -2
- package/node_modules/@smithy/middleware-endpoint/dist-types/ts3.4/resolveEndpointConfig.d.ts +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
- package/node_modules/@smithy/middleware-retry/README.md +13 -0
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/middleware-serde/README.md +13 -0
- package/node_modules/@smithy/middleware-serde/package.json +2 -2
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@smithy/smithy-client/README.md +10 -3
- package/node_modules/@smithy/smithy-client/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-browser/README.md +10 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/README.md +10 -3
- package/node_modules/@smithy/util-defaults-mode-node/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +2 -2
- package/node_modules/@smithy/util-waiter/README.md +10 -3
- package/node_modules/@smithy/util-waiter/package.json +2 -2
- package/node_modules/axios/README.md +26 -1
- package/node_modules/axios/dist/axios.js +91 -100
- 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 +70 -84
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +99 -116
- 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 +1421 -2367
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/lib/adapters/fetch.js +5 -1
- package/node_modules/axios/lib/adapters/http.js +5 -2
- package/node_modules/axios/lib/core/Axios.js +0 -2
- package/node_modules/axios/lib/core/AxiosHeaders.js +3 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/buildURL.js +2 -2
- package/node_modules/axios/package.json +93 -132
- package/node_modules/fast-xml-builder/CHANGELOG.md +16 -0
- package/node_modules/fast-xml-builder/README.md +1 -1
- package/node_modules/fast-xml-builder/lib/fxb.cjs +1 -0
- package/node_modules/fast-xml-builder/lib/fxb.d.cts +22 -9
- package/node_modules/fast-xml-builder/lib/fxb.min.js +2 -0
- package/node_modules/fast-xml-builder/lib/fxb.min.js.map +1 -0
- package/node_modules/fast-xml-builder/package.json +7 -5
- package/node_modules/fast-xml-builder/src/fxb.d.ts +27 -3
- package/node_modules/fast-xml-builder/src/fxb.js +265 -21
- package/node_modules/fast-xml-builder/src/orderedJs2Xml.js +165 -18
- package/node_modules/mailparser/.release-please-manifest.json +1 -1
- package/node_modules/mailparser/CHANGELOG.md +14 -0
- package/node_modules/mailparser/package.json +3 -3
- package/node_modules/nodemailer/CHANGELOG.md +17 -0
- package/node_modules/nodemailer/lib/addressparser/index.js +68 -83
- package/node_modules/nodemailer/lib/base64/index.js +6 -5
- package/node_modules/nodemailer/lib/dkim/index.js +8 -16
- package/node_modules/nodemailer/lib/dkim/message-parser.js +12 -13
- package/node_modules/nodemailer/lib/dkim/relaxed-body.js +2 -2
- package/node_modules/nodemailer/lib/dkim/sign.js +13 -14
- package/node_modules/nodemailer/lib/errors.js +4 -7
- package/node_modules/nodemailer/lib/fetch/cookies.js +13 -18
- package/node_modules/nodemailer/lib/fetch/index.js +12 -15
- package/node_modules/nodemailer/lib/json-transport/index.js +4 -4
- package/node_modules/nodemailer/lib/mail-composer/index.js +86 -116
- package/node_modules/nodemailer/lib/mailer/index.js +26 -26
- package/node_modules/nodemailer/lib/mailer/mail-message.js +17 -21
- package/node_modules/nodemailer/lib/mime-funcs/index.js +25 -40
- package/node_modules/nodemailer/lib/mime-funcs/mime-types.js +7 -11
- package/node_modules/nodemailer/lib/mime-node/index.js +81 -72
- package/node_modules/nodemailer/lib/mime-node/last-newline.js +1 -1
- package/node_modules/nodemailer/lib/mime-node/le-unix.js +4 -7
- package/node_modules/nodemailer/lib/mime-node/le-windows.js +1 -4
- package/node_modules/nodemailer/lib/nodemailer.js +11 -18
- package/node_modules/nodemailer/lib/qp/index.js +24 -21
- package/node_modules/nodemailer/lib/sendmail-transport/index.js +30 -41
- package/node_modules/nodemailer/lib/ses-transport/index.js +23 -34
- package/node_modules/nodemailer/lib/shared/index.js +94 -140
- package/node_modules/nodemailer/lib/smtp-connection/data-stream.js +3 -6
- package/node_modules/nodemailer/lib/smtp-connection/http-proxy-client.js +11 -13
- package/node_modules/nodemailer/lib/smtp-connection/index.js +118 -182
- package/node_modules/nodemailer/lib/smtp-pool/index.js +20 -32
- package/node_modules/nodemailer/lib/smtp-pool/pool-resource.js +8 -12
- package/node_modules/nodemailer/lib/smtp-transport/index.js +22 -42
- package/node_modules/nodemailer/lib/stream-transport/index.js +7 -7
- package/node_modules/nodemailer/lib/well-known/index.js +7 -7
- package/node_modules/nodemailer/lib/xoauth2/index.js +22 -28
- package/node_modules/nodemailer/package.json +4 -3
- package/node_modules/path-expression-matcher/LICENSE +21 -0
- package/node_modules/path-expression-matcher/README.md +720 -0
- package/node_modules/path-expression-matcher/lib/pem.cjs +1 -0
- package/node_modules/path-expression-matcher/lib/pem.d.cts +523 -0
- package/node_modules/path-expression-matcher/lib/pem.min.js +2 -0
- package/node_modules/path-expression-matcher/lib/pem.min.js.map +1 -0
- package/node_modules/path-expression-matcher/package.json +78 -0
- package/node_modules/path-expression-matcher/src/Expression.js +232 -0
- package/node_modules/path-expression-matcher/src/Matcher.js +498 -0
- package/node_modules/path-expression-matcher/src/index.d.ts +518 -0
- package/node_modules/path-expression-matcher/src/index.js +28 -0
- package/node_modules/proxy-from-env/README.md +43 -11
- package/node_modules/proxy-from-env/index.cjs +105 -0
- package/node_modules/proxy-from-env/index.js +14 -19
- package/node_modules/proxy-from-env/package.json +20 -11
- package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/CHANGELOG.md +9 -2
- package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/README.md +1 -0
- package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/package.json +3 -3
- package/node_modules/strnum/strnum.js +161 -0
- package/node_modules/strnum/tests/infinity_test.js +18 -0
- package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum/strnum.test.js → strnum/tests/strnum_test.js} +70 -68
- package/node_modules/strnum/tests/temp.js +8 -0
- package/package.json +1 -1
- package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/strnum.js +0 -129
- package/node_modules/@aws-sdk/xml-builder/node_modules/strnum/test.js +0 -9
- package/node_modules/@smithy/abort-controller/LICENSE +0 -201
- package/node_modules/@smithy/abort-controller/README.md +0 -4
- package/node_modules/@smithy/abort-controller/dist-cjs/index.js +0 -32
- package/node_modules/@smithy/abort-controller/dist-es/AbortController.js +0 -7
- package/node_modules/@smithy/abort-controller/dist-es/AbortSignal.js +0 -20
- package/node_modules/@smithy/abort-controller/dist-es/index.js +0 -2
- package/node_modules/@smithy/abort-controller/dist-types/AbortController.d.ts +0 -16
- package/node_modules/@smithy/abort-controller/dist-types/AbortSignal.d.ts +0 -21
- package/node_modules/@smithy/abort-controller/dist-types/index.d.ts +0 -9
- package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortController.d.ts +0 -16
- package/node_modules/@smithy/abort-controller/dist-types/ts3.4/AbortSignal.d.ts +0 -21
- package/node_modules/@smithy/abort-controller/dist-types/ts3.4/index.d.ts +0 -9
- package/node_modules/@smithy/abort-controller/package.json +0 -63
- package/node_modules/fast-xml-builder/lib/builder.cjs +0 -1
- package/node_modules/fast-xml-builder/lib/builder.min.js +0 -2
- package/node_modules/fast-xml-builder/lib/builder.min.js.map +0 -1
- package/node_modules/proxy-from-env/.eslintrc +0 -29
- package/node_modules/proxy-from-env/.travis.yml +0 -10
- package/node_modules/proxy-from-env/test.js +0 -483
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/.github/SECURITY.md +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/.vscode/launch.json +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/LICENSE +0 -0
- /package/node_modules/{@aws-sdk/xml-builder/node_modules/strnum → strnum}/algo.stflow +0 -0
|
@@ -51,11 +51,8 @@ class SMTPPool extends EventEmitter {
|
|
|
51
51
|
component: this.options.component || 'smtp-pool'
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
// temporary object
|
|
55
|
-
let connection = new SMTPConnection(this.options);
|
|
56
|
-
|
|
57
54
|
this.name = 'SMTP (pool)';
|
|
58
|
-
this.version = packageData.version + '[client:' +
|
|
55
|
+
this.version = packageData.version + '[client:' + packageData.version + ']';
|
|
59
56
|
|
|
60
57
|
this._rateLimit = {
|
|
61
58
|
counter: 0,
|
|
@@ -123,7 +120,7 @@ class SMTPPool extends EventEmitter {
|
|
|
123
120
|
*/
|
|
124
121
|
close() {
|
|
125
122
|
let connection;
|
|
126
|
-
|
|
123
|
+
const len = this._connections.length;
|
|
127
124
|
this._closed = true;
|
|
128
125
|
|
|
129
126
|
// clear rate limit timer if it exists
|
|
@@ -164,7 +161,7 @@ class SMTPPool extends EventEmitter {
|
|
|
164
161
|
}
|
|
165
162
|
|
|
166
163
|
// make sure that entire queue would be cleaned
|
|
167
|
-
|
|
164
|
+
const invokeCallbacks = () => {
|
|
168
165
|
if (!this._queue.length) {
|
|
169
166
|
this.logger.debug(
|
|
170
167
|
{
|
|
@@ -174,7 +171,7 @@ class SMTPPool extends EventEmitter {
|
|
|
174
171
|
);
|
|
175
172
|
return;
|
|
176
173
|
}
|
|
177
|
-
|
|
174
|
+
const entry = this._queue.shift();
|
|
178
175
|
if (entry && typeof entry.callback === 'function') {
|
|
179
176
|
try {
|
|
180
177
|
entry.callback(new Error('Connection pool was closed'));
|
|
@@ -201,9 +198,6 @@ class SMTPPool extends EventEmitter {
|
|
|
201
198
|
* an available connection, then use this connection to send the mail
|
|
202
199
|
*/
|
|
203
200
|
_processMessages() {
|
|
204
|
-
let connection;
|
|
205
|
-
let i, len;
|
|
206
|
-
|
|
207
201
|
// do nothing if already closed
|
|
208
202
|
if (this._closed) {
|
|
209
203
|
return;
|
|
@@ -220,12 +214,7 @@ class SMTPPool extends EventEmitter {
|
|
|
220
214
|
}
|
|
221
215
|
|
|
222
216
|
// find first available connection
|
|
223
|
-
|
|
224
|
-
if (this._connections[i].available) {
|
|
225
|
-
connection = this._connections[i];
|
|
226
|
-
break;
|
|
227
|
-
}
|
|
228
|
-
}
|
|
217
|
+
let connection = this._connections.find(c => c.available);
|
|
229
218
|
|
|
230
219
|
if (!connection && this._connections.length < this.options.maxConnections) {
|
|
231
220
|
connection = this._createConnection();
|
|
@@ -243,7 +232,7 @@ class SMTPPool extends EventEmitter {
|
|
|
243
232
|
this.emit('idle');
|
|
244
233
|
}
|
|
245
234
|
|
|
246
|
-
|
|
235
|
+
const entry = (connection.queueEntry = this._queue.shift());
|
|
247
236
|
entry.messageId = (connection.queueEntry.mail.message.getHeader('message-id') || '').replace(/[<>\s]/g, '');
|
|
248
237
|
|
|
249
238
|
connection.available = false;
|
|
@@ -294,7 +283,7 @@ class SMTPPool extends EventEmitter {
|
|
|
294
283
|
* Creates a new pool resource
|
|
295
284
|
*/
|
|
296
285
|
_createConnection() {
|
|
297
|
-
|
|
286
|
+
const connection = new PoolResource(this);
|
|
298
287
|
|
|
299
288
|
connection.id = ++this._connectionCounter;
|
|
300
289
|
|
|
@@ -331,7 +320,7 @@ class SMTPPool extends EventEmitter {
|
|
|
331
320
|
|
|
332
321
|
// resource is terminated with an error
|
|
333
322
|
connection.once('error', err => {
|
|
334
|
-
if (err.code !==
|
|
323
|
+
if (err.code !== errors.EMAXLIMIT) {
|
|
335
324
|
this.logger.warn(
|
|
336
325
|
{
|
|
337
326
|
err,
|
|
@@ -450,7 +439,7 @@ class SMTPPool extends EventEmitter {
|
|
|
450
439
|
}
|
|
451
440
|
|
|
452
441
|
_requeueEntryOnConnectionClose(connection) {
|
|
453
|
-
connection.queueEntry.requeueAttempts
|
|
442
|
+
connection.queueEntry.requeueAttempts += 1;
|
|
454
443
|
this.logger.debug(
|
|
455
444
|
{
|
|
456
445
|
tnx: 'pool',
|
|
@@ -484,7 +473,7 @@ class SMTPPool extends EventEmitter {
|
|
|
484
473
|
* @param {Object} connection The PoolResource to remove
|
|
485
474
|
*/
|
|
486
475
|
_removeConnection(connection) {
|
|
487
|
-
|
|
476
|
+
const index = this._connections.indexOf(connection);
|
|
488
477
|
|
|
489
478
|
if (index !== -1) {
|
|
490
479
|
this._connections.splice(index, 1);
|
|
@@ -501,7 +490,7 @@ class SMTPPool extends EventEmitter {
|
|
|
501
490
|
return callback();
|
|
502
491
|
}
|
|
503
492
|
|
|
504
|
-
|
|
493
|
+
const now = Date.now();
|
|
505
494
|
|
|
506
495
|
if (this._rateLimit.counter < this._rateLimit.limit) {
|
|
507
496
|
return callback();
|
|
@@ -511,7 +500,9 @@ class SMTPPool extends EventEmitter {
|
|
|
511
500
|
|
|
512
501
|
if (this._rateLimit.checkpoint <= now - this._rateLimit.delta) {
|
|
513
502
|
return this._clearRateLimit();
|
|
514
|
-
}
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
if (!this._rateLimit.timeout) {
|
|
515
506
|
this._rateLimit.timeout = setTimeout(() => this._clearRateLimit(), this._rateLimit.delta - (now - this._rateLimit.checkpoint));
|
|
516
507
|
this._rateLimit.checkpoint = now;
|
|
517
508
|
}
|
|
@@ -528,7 +519,7 @@ class SMTPPool extends EventEmitter {
|
|
|
528
519
|
|
|
529
520
|
// resume all paused connections
|
|
530
521
|
while (this._rateLimit.waiting.length) {
|
|
531
|
-
|
|
522
|
+
const cb = this._rateLimit.waiting.shift();
|
|
532
523
|
setImmediate(cb);
|
|
533
524
|
}
|
|
534
525
|
}
|
|
@@ -554,7 +545,7 @@ class SMTPPool extends EventEmitter {
|
|
|
554
545
|
});
|
|
555
546
|
}
|
|
556
547
|
|
|
557
|
-
|
|
548
|
+
const auth = new PoolResource(this).auth;
|
|
558
549
|
|
|
559
550
|
this.getSocket(this.options, (err, socketOptions) => {
|
|
560
551
|
if (err) {
|
|
@@ -578,13 +569,10 @@ class SMTPPool extends EventEmitter {
|
|
|
578
569
|
options.host || '',
|
|
579
570
|
options.port || ''
|
|
580
571
|
);
|
|
581
|
-
options = shared.assign(false, options);
|
|
582
|
-
Object.keys(socketOptions).forEach(key => {
|
|
583
|
-
options[key] = socketOptions[key];
|
|
584
|
-
});
|
|
572
|
+
options = Object.assign(shared.assign(false, options), socketOptions);
|
|
585
573
|
}
|
|
586
574
|
|
|
587
|
-
|
|
575
|
+
const connection = new SMTPConnection(options);
|
|
588
576
|
let returned = false;
|
|
589
577
|
|
|
590
578
|
connection.once('error', err => {
|
|
@@ -604,7 +592,7 @@ class SMTPPool extends EventEmitter {
|
|
|
604
592
|
return callback(new Error('Connection closed'));
|
|
605
593
|
});
|
|
606
594
|
|
|
607
|
-
|
|
595
|
+
const finalize = () => {
|
|
608
596
|
if (returned) {
|
|
609
597
|
return;
|
|
610
598
|
}
|
|
@@ -633,7 +621,7 @@ class SMTPPool extends EventEmitter {
|
|
|
633
621
|
finalize();
|
|
634
622
|
});
|
|
635
623
|
} else if (!auth && connection.allowsAuth && options.forceAuth) {
|
|
636
|
-
|
|
624
|
+
const err = new Error('Authentication info was not provided');
|
|
637
625
|
err.code = errors.ENOAUTH;
|
|
638
626
|
|
|
639
627
|
returned = true;
|
|
@@ -23,7 +23,7 @@ class PoolResource extends EventEmitter {
|
|
|
23
23
|
if (this.options.auth) {
|
|
24
24
|
switch ((this.options.auth.type || '').toString().toUpperCase()) {
|
|
25
25
|
case 'OAUTH2': {
|
|
26
|
-
|
|
26
|
+
const oauth2 = new XOAuth2(this.options.auth, this.logger);
|
|
27
27
|
oauth2.provisionCallback =
|
|
28
28
|
(this.pool.mailer && this.pool.mailer.get('oauth2_provision_cb')) || oauth2.provisionCallback;
|
|
29
29
|
this.auth = {
|
|
@@ -90,10 +90,7 @@ class PoolResource extends EventEmitter {
|
|
|
90
90
|
options.port || ''
|
|
91
91
|
);
|
|
92
92
|
|
|
93
|
-
options = assign(false, options);
|
|
94
|
-
Object.keys(socketOptions).forEach(key => {
|
|
95
|
-
options[key] = socketOptions[key];
|
|
96
|
-
});
|
|
93
|
+
options = Object.assign(assign(false, options), socketOptions);
|
|
97
94
|
}
|
|
98
95
|
|
|
99
96
|
this.connection = new SMTPConnection(options);
|
|
@@ -114,12 +111,12 @@ class PoolResource extends EventEmitter {
|
|
|
114
111
|
}
|
|
115
112
|
returned = true;
|
|
116
113
|
|
|
117
|
-
|
|
114
|
+
const timer = setTimeout(() => {
|
|
118
115
|
if (returned) {
|
|
119
116
|
return;
|
|
120
117
|
}
|
|
121
118
|
// still have not returned, this means we have an unexpected connection close
|
|
122
|
-
|
|
119
|
+
const err = new Error('Unexpected socket close');
|
|
123
120
|
if (this.connection && this.connection._socket && this.connection._socket.upgrading) {
|
|
124
121
|
// starttls connection errors
|
|
125
122
|
err.code = errors.ETLS;
|
|
@@ -180,10 +177,10 @@ class PoolResource extends EventEmitter {
|
|
|
180
177
|
});
|
|
181
178
|
}
|
|
182
179
|
|
|
183
|
-
|
|
184
|
-
|
|
180
|
+
const envelope = mail.message.getEnvelope();
|
|
181
|
+
const messageId = mail.message.messageId();
|
|
185
182
|
|
|
186
|
-
|
|
183
|
+
const recipients = [].concat(envelope.to || []);
|
|
187
184
|
if (recipients.length > 3) {
|
|
188
185
|
recipients.push('...and ' + recipients.splice(2).length + ' more');
|
|
189
186
|
}
|
|
@@ -224,9 +221,8 @@ class PoolResource extends EventEmitter {
|
|
|
224
221
|
info.messageId = messageId;
|
|
225
222
|
|
|
226
223
|
setImmediate(() => {
|
|
227
|
-
let err;
|
|
228
224
|
if (this.messages >= this.options.maxMessages) {
|
|
229
|
-
err = new Error('Resource exhausted');
|
|
225
|
+
const err = new Error('Resource exhausted');
|
|
230
226
|
err.code = errors.EMAXLIMIT;
|
|
231
227
|
this.connection.close();
|
|
232
228
|
this.emit('error', err);
|
|
@@ -49,11 +49,8 @@ class SMTPTransport extends EventEmitter {
|
|
|
49
49
|
component: this.options.component || 'smtp-transport'
|
|
50
50
|
});
|
|
51
51
|
|
|
52
|
-
// temporary object
|
|
53
|
-
let connection = new SMTPConnection(this.options);
|
|
54
|
-
|
|
55
52
|
this.name = 'SMTP';
|
|
56
|
-
this.version = packageData.version + '[client:' +
|
|
53
|
+
this.version = packageData.version + '[client:' + packageData.version + ']';
|
|
57
54
|
|
|
58
55
|
if (this.options.auth) {
|
|
59
56
|
this.auth = this.getAuth({});
|
|
@@ -77,24 +74,13 @@ class SMTPTransport extends EventEmitter {
|
|
|
77
74
|
return this.auth;
|
|
78
75
|
}
|
|
79
76
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
hasAuth = true;
|
|
86
|
-
authData[key] = this.options.auth[key];
|
|
87
|
-
});
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
if (authOpts && typeof authOpts === 'object') {
|
|
91
|
-
Object.keys(authOpts).forEach(key => {
|
|
92
|
-
hasAuth = true;
|
|
93
|
-
authData[key] = authOpts[key];
|
|
94
|
-
});
|
|
95
|
-
}
|
|
77
|
+
const authData = Object.assign(
|
|
78
|
+
{},
|
|
79
|
+
this.options.auth && typeof this.options.auth === 'object' ? this.options.auth : {},
|
|
80
|
+
authOpts && typeof authOpts === 'object' ? authOpts : {}
|
|
81
|
+
);
|
|
96
82
|
|
|
97
|
-
if (
|
|
83
|
+
if (Object.keys(authData).length === 0) {
|
|
98
84
|
return false;
|
|
99
85
|
}
|
|
100
86
|
|
|
@@ -103,7 +89,7 @@ class SMTPTransport extends EventEmitter {
|
|
|
103
89
|
if (!authData.service && !authData.user) {
|
|
104
90
|
return false;
|
|
105
91
|
}
|
|
106
|
-
|
|
92
|
+
const oauth2 = new XOAuth2(authData, this.logger);
|
|
107
93
|
oauth2.provisionCallback = (this.mailer && this.mailer.get('oauth2_provision_cb')) || oauth2.provisionCallback;
|
|
108
94
|
oauth2.on('token', token => this.mailer.emit('token', token));
|
|
109
95
|
oauth2.on('error', err => this.emit('error', err));
|
|
@@ -160,13 +146,10 @@ class SMTPTransport extends EventEmitter {
|
|
|
160
146
|
);
|
|
161
147
|
|
|
162
148
|
// only copy options if we need to modify it
|
|
163
|
-
options = shared.assign(false, options);
|
|
164
|
-
Object.keys(socketOptions).forEach(key => {
|
|
165
|
-
options[key] = socketOptions[key];
|
|
166
|
-
});
|
|
149
|
+
options = Object.assign(shared.assign(false, options), socketOptions);
|
|
167
150
|
}
|
|
168
151
|
|
|
169
|
-
|
|
152
|
+
const connection = new SMTPConnection(options);
|
|
170
153
|
|
|
171
154
|
connection.once('error', err => {
|
|
172
155
|
if (returned) {
|
|
@@ -182,13 +165,13 @@ class SMTPTransport extends EventEmitter {
|
|
|
182
165
|
return;
|
|
183
166
|
}
|
|
184
167
|
|
|
185
|
-
|
|
168
|
+
const timer = setTimeout(() => {
|
|
186
169
|
if (returned) {
|
|
187
170
|
return;
|
|
188
171
|
}
|
|
189
172
|
returned = true;
|
|
190
173
|
// still have not returned, this means we have an unexpected connection close
|
|
191
|
-
|
|
174
|
+
const err = new Error('Unexpected socket close');
|
|
192
175
|
if (connection && connection._socket && connection._socket.upgrading) {
|
|
193
176
|
// starttls connection errors
|
|
194
177
|
err.code = errors.ETLS;
|
|
@@ -203,11 +186,11 @@ class SMTPTransport extends EventEmitter {
|
|
|
203
186
|
}
|
|
204
187
|
});
|
|
205
188
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
189
|
+
const sendMessage = () => {
|
|
190
|
+
const envelope = mail.message.getEnvelope();
|
|
191
|
+
const messageId = mail.message.messageId();
|
|
209
192
|
|
|
210
|
-
|
|
193
|
+
const recipients = [].concat(envelope.to || []);
|
|
211
194
|
if (recipients.length > 3) {
|
|
212
195
|
recipients.push('...and ' + recipients.splice(2).length + ' more');
|
|
213
196
|
}
|
|
@@ -272,7 +255,7 @@ class SMTPTransport extends EventEmitter {
|
|
|
272
255
|
return;
|
|
273
256
|
}
|
|
274
257
|
|
|
275
|
-
|
|
258
|
+
const auth = this.getAuth(mail.data.auth);
|
|
276
259
|
|
|
277
260
|
if (auth && (connection.allowsAuth || options.forceAuth)) {
|
|
278
261
|
connection.login(auth, err => {
|
|
@@ -335,13 +318,10 @@ class SMTPTransport extends EventEmitter {
|
|
|
335
318
|
options.port || ''
|
|
336
319
|
);
|
|
337
320
|
|
|
338
|
-
options = shared.assign(false, options);
|
|
339
|
-
Object.keys(socketOptions).forEach(key => {
|
|
340
|
-
options[key] = socketOptions[key];
|
|
341
|
-
});
|
|
321
|
+
options = Object.assign(shared.assign(false, options), socketOptions);
|
|
342
322
|
}
|
|
343
323
|
|
|
344
|
-
|
|
324
|
+
const connection = new SMTPConnection(options);
|
|
345
325
|
let returned = false;
|
|
346
326
|
|
|
347
327
|
connection.once('error', err => {
|
|
@@ -361,7 +341,7 @@ class SMTPTransport extends EventEmitter {
|
|
|
361
341
|
return callback(new Error('Connection closed'));
|
|
362
342
|
});
|
|
363
343
|
|
|
364
|
-
|
|
344
|
+
const finalize = () => {
|
|
365
345
|
if (returned) {
|
|
366
346
|
return;
|
|
367
347
|
}
|
|
@@ -375,7 +355,7 @@ class SMTPTransport extends EventEmitter {
|
|
|
375
355
|
return;
|
|
376
356
|
}
|
|
377
357
|
|
|
378
|
-
|
|
358
|
+
const authData = this.getAuth({});
|
|
379
359
|
|
|
380
360
|
if (authData && (connection.allowsAuth || options.forceAuth)) {
|
|
381
361
|
connection.login(authData, err => {
|
|
@@ -392,7 +372,7 @@ class SMTPTransport extends EventEmitter {
|
|
|
392
372
|
finalize();
|
|
393
373
|
});
|
|
394
374
|
} else if (!authData && connection.allowsAuth && options.forceAuth) {
|
|
395
|
-
|
|
375
|
+
const err = new Error('Authentication info was not provided');
|
|
396
376
|
err.code = errors.ENOAUTH;
|
|
397
377
|
|
|
398
378
|
returned = true;
|
|
@@ -18,7 +18,7 @@ class StreamTransport {
|
|
|
18
18
|
constructor(options) {
|
|
19
19
|
options = options || {};
|
|
20
20
|
|
|
21
|
-
this.options = options
|
|
21
|
+
this.options = options;
|
|
22
22
|
|
|
23
23
|
this.name = 'StreamTransport';
|
|
24
24
|
this.version = packageData.version;
|
|
@@ -40,10 +40,10 @@ class StreamTransport {
|
|
|
40
40
|
// We probably need this in the output
|
|
41
41
|
mail.message.keepBcc = true;
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
const envelope = mail.data.envelope || mail.message.getEnvelope();
|
|
44
|
+
const messageId = mail.message.messageId();
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
const recipients = [].concat(envelope.to || []);
|
|
47
47
|
if (recipients.length > 3) {
|
|
48
48
|
recipients.push('...and ' + recipients.splice(2).length + ' more');
|
|
49
49
|
}
|
|
@@ -91,13 +91,13 @@ class StreamTransport {
|
|
|
91
91
|
);
|
|
92
92
|
});
|
|
93
93
|
return done(null, {
|
|
94
|
-
envelope
|
|
94
|
+
envelope,
|
|
95
95
|
messageId,
|
|
96
96
|
message: stream
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
const chunks = [];
|
|
101
101
|
let chunklen = 0;
|
|
102
102
|
stream.on('readable', () => {
|
|
103
103
|
let chunk;
|
|
@@ -123,7 +123,7 @@ class StreamTransport {
|
|
|
123
123
|
|
|
124
124
|
stream.on('end', () =>
|
|
125
125
|
done(null, {
|
|
126
|
-
envelope
|
|
126
|
+
envelope,
|
|
127
127
|
messageId,
|
|
128
128
|
message: Buffer.concat(chunks, chunklen)
|
|
129
129
|
})
|
|
@@ -4,16 +4,17 @@ const services = require('./services.json');
|
|
|
4
4
|
const normalized = {};
|
|
5
5
|
|
|
6
6
|
Object.keys(services).forEach(key => {
|
|
7
|
-
|
|
7
|
+
const service = services[key];
|
|
8
|
+
const normalizedService = normalizeService(service);
|
|
8
9
|
|
|
9
|
-
normalized[normalizeKey(key)] =
|
|
10
|
+
normalized[normalizeKey(key)] = normalizedService;
|
|
10
11
|
|
|
11
12
|
[].concat(service.aliases || []).forEach(alias => {
|
|
12
|
-
normalized[normalizeKey(alias)] =
|
|
13
|
+
normalized[normalizeKey(alias)] = normalizedService;
|
|
13
14
|
});
|
|
14
15
|
|
|
15
16
|
[].concat(service.domains || []).forEach(domain => {
|
|
16
|
-
normalized[normalizeKey(domain)] =
|
|
17
|
+
normalized[normalizeKey(domain)] = normalizedService;
|
|
17
18
|
});
|
|
18
19
|
});
|
|
19
20
|
|
|
@@ -22,11 +23,10 @@ function normalizeKey(key) {
|
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
function normalizeService(service) {
|
|
25
|
-
|
|
26
|
-
let response = {};
|
|
26
|
+
const response = {};
|
|
27
27
|
|
|
28
28
|
Object.keys(service).forEach(key => {
|
|
29
|
-
if (
|
|
29
|
+
if (!['domains', 'aliases'].includes(key)) {
|
|
30
30
|
response[key] = service[key];
|
|
31
31
|
}
|
|
32
32
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const Stream = require('stream')
|
|
3
|
+
const { Stream } = require('stream');
|
|
4
4
|
const nmfetch = require('../fetch');
|
|
5
5
|
const crypto = require('crypto');
|
|
6
6
|
const shared = require('../shared');
|
|
@@ -42,13 +42,13 @@ class XOAuth2 extends Stream {
|
|
|
42
42
|
|
|
43
43
|
if (options && options.serviceClient) {
|
|
44
44
|
if (!options.privateKey || !options.user) {
|
|
45
|
-
|
|
45
|
+
const err = new Error('Options "privateKey" and "user" are required for service account!');
|
|
46
46
|
err.code = errors.EOAUTH2;
|
|
47
47
|
setImmediate(() => this.emit('error', err));
|
|
48
48
|
return;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
const serviceRequestTimeout = Math.min(Math.max(Number(this.options.serviceRequestTimeout) || 0, 0), 3600);
|
|
52
52
|
this.options.serviceRequestTimeout = serviceRequestTimeout || 5 * 60;
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -72,7 +72,7 @@ class XOAuth2 extends Stream {
|
|
|
72
72
|
if (this.options.expires && Number(this.options.expires)) {
|
|
73
73
|
this.expires = this.options.expires;
|
|
74
74
|
} else {
|
|
75
|
-
|
|
75
|
+
const timeout = Math.max(Number(this.options.timeout) || 0, 0);
|
|
76
76
|
this.expires = (timeout && Date.now() + timeout * 1000) || 0;
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -123,7 +123,7 @@ class XOAuth2 extends Stream {
|
|
|
123
123
|
'Cannot renew access token for %s: No refresh mechanism available',
|
|
124
124
|
this.options.user
|
|
125
125
|
);
|
|
126
|
-
|
|
126
|
+
const err = new Error("Can't create new access token for user");
|
|
127
127
|
err.code = errors.EOAUTH2;
|
|
128
128
|
return callback(err);
|
|
129
129
|
}
|
|
@@ -210,8 +210,8 @@ class XOAuth2 extends Stream {
|
|
|
210
210
|
let loggedUrlOptions;
|
|
211
211
|
if (this.options.serviceClient) {
|
|
212
212
|
// service account - https://developers.google.com/identity/protocols/OAuth2ServiceAccount
|
|
213
|
-
|
|
214
|
-
|
|
213
|
+
const iat = Math.floor(Date.now() / 1000); // unix time
|
|
214
|
+
const tokenData = {
|
|
215
215
|
iss: this.options.serviceClient,
|
|
216
216
|
scope: this.options.scope || 'https://mail.google.com/',
|
|
217
217
|
sub: this.options.user,
|
|
@@ -223,7 +223,7 @@ class XOAuth2 extends Stream {
|
|
|
223
223
|
try {
|
|
224
224
|
token = this.jwtSignRS256(tokenData);
|
|
225
225
|
} catch (_err) {
|
|
226
|
-
|
|
226
|
+
const err = new Error("Can't generate token. Check your auth options");
|
|
227
227
|
err.code = errors.EOAUTH2;
|
|
228
228
|
return callback(err);
|
|
229
229
|
}
|
|
@@ -239,7 +239,7 @@ class XOAuth2 extends Stream {
|
|
|
239
239
|
};
|
|
240
240
|
} else {
|
|
241
241
|
if (!this.options.refreshToken) {
|
|
242
|
-
|
|
242
|
+
const err = new Error("Can't create new access token for user");
|
|
243
243
|
err.code = errors.EOAUTH2;
|
|
244
244
|
return callback(err);
|
|
245
245
|
}
|
|
@@ -260,10 +260,8 @@ class XOAuth2 extends Stream {
|
|
|
260
260
|
};
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
Object.
|
|
264
|
-
|
|
265
|
-
loggedUrlOptions[key] = this.options.customParams[key];
|
|
266
|
-
});
|
|
263
|
+
Object.assign(urlOptions, this.options.customParams);
|
|
264
|
+
Object.assign(loggedUrlOptions, this.options.customParams);
|
|
267
265
|
|
|
268
266
|
this.logger.debug(
|
|
269
267
|
{
|
|
@@ -298,19 +296,15 @@ class XOAuth2 extends Stream {
|
|
|
298
296
|
'Response: %s',
|
|
299
297
|
(body || '').toString()
|
|
300
298
|
);
|
|
301
|
-
|
|
299
|
+
const err = new Error('Invalid authentication response');
|
|
302
300
|
err.code = errors.EOAUTH2;
|
|
303
301
|
return callback(err);
|
|
304
302
|
}
|
|
305
303
|
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
} else {
|
|
311
|
-
logData[key] = (data[key] || '').toString().substr(0, 6) + '...';
|
|
312
|
-
}
|
|
313
|
-
});
|
|
304
|
+
const logData = Object.assign({}, data);
|
|
305
|
+
if (logData.access_token) {
|
|
306
|
+
logData.access_token = (logData.access_token || '').toString().substr(0, 6) + '...';
|
|
307
|
+
}
|
|
314
308
|
|
|
315
309
|
this.logger.debug(
|
|
316
310
|
{
|
|
@@ -331,7 +325,7 @@ class XOAuth2 extends Stream {
|
|
|
331
325
|
if (data.error_uri) {
|
|
332
326
|
errorMessage += ' (' + data.error_uri + ')';
|
|
333
327
|
}
|
|
334
|
-
|
|
328
|
+
const err = new Error(errorMessage);
|
|
335
329
|
err.code = errors.EOAUTH2;
|
|
336
330
|
return callback(err);
|
|
337
331
|
}
|
|
@@ -341,7 +335,7 @@ class XOAuth2 extends Stream {
|
|
|
341
335
|
return callback(null, this.accessToken);
|
|
342
336
|
}
|
|
343
337
|
|
|
344
|
-
|
|
338
|
+
const err = new Error('No access token');
|
|
345
339
|
err.code = errors.EOAUTH2;
|
|
346
340
|
return callback(err);
|
|
347
341
|
});
|
|
@@ -354,7 +348,7 @@ class XOAuth2 extends Stream {
|
|
|
354
348
|
* @return {String} Base64 encoded token for IMAP or SMTP login
|
|
355
349
|
*/
|
|
356
350
|
buildXOAuth2Token(accessToken) {
|
|
357
|
-
|
|
351
|
+
const authData = ['user=' + (this.options.user || ''), 'auth=Bearer ' + (accessToken || this.accessToken), '', ''];
|
|
358
352
|
return Buffer.from(authData.join('\x01'), 'utf-8').toString('base64');
|
|
359
353
|
}
|
|
360
354
|
|
|
@@ -373,10 +367,10 @@ class XOAuth2 extends Stream {
|
|
|
373
367
|
postRequest(url, payload, params, callback) {
|
|
374
368
|
let returned = false;
|
|
375
369
|
|
|
376
|
-
|
|
370
|
+
const chunks = [];
|
|
377
371
|
let chunklen = 0;
|
|
378
372
|
|
|
379
|
-
|
|
373
|
+
const req = nmfetch(url, {
|
|
380
374
|
method: 'post',
|
|
381
375
|
headers: params.customHeaders,
|
|
382
376
|
body: payload,
|
|
@@ -434,7 +428,7 @@ class XOAuth2 extends Stream {
|
|
|
434
428
|
*/
|
|
435
429
|
jwtSignRS256(payload) {
|
|
436
430
|
payload = ['{"alg":"RS256","typ":"JWT"}', JSON.stringify(payload)].map(val => this.toBase64URL(val)).join('.');
|
|
437
|
-
|
|
431
|
+
const signature = crypto.createSign('RSA-SHA256').update(payload).sign(this.options.privateKey);
|
|
438
432
|
return payload + '.' + this.toBase64URL(signature);
|
|
439
433
|
}
|
|
440
434
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nodemailer",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.4",
|
|
4
4
|
"description": "Easy as cake e-mail sending from your Node.js applications",
|
|
5
5
|
"main": "lib/nodemailer.js",
|
|
6
6
|
"scripts": {
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"format:check": "prettier --check \"**/*.{js,json,md}\"",
|
|
11
11
|
"lint": "eslint .",
|
|
12
12
|
"lint:fix": "eslint . --fix",
|
|
13
|
-
"update": "rm -rf node_modules/ package-lock.json && ncu -u && npm install"
|
|
13
|
+
"update": "rm -rf node_modules/ package-lock.json && ncu -u && npm install",
|
|
14
|
+
"test:syntax": "docker run --rm -v \"$PWD:/app:ro\" -w /app node:6-alpine node test/syntax-compat.js"
|
|
14
15
|
},
|
|
15
16
|
"repository": {
|
|
16
17
|
"type": "git",
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
},
|
|
27
28
|
"homepage": "https://nodemailer.com/",
|
|
28
29
|
"devDependencies": {
|
|
29
|
-
"@aws-sdk/client-sesv2": "3.
|
|
30
|
+
"@aws-sdk/client-sesv2": "3.1011.0",
|
|
30
31
|
"bunyan": "1.8.15",
|
|
31
32
|
"c8": "11.0.0",
|
|
32
33
|
"eslint": "10.0.3",
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|