@allthings/cloud-toolkit 2.4.0 → 2.5.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{lib.cjs.js → lib.cjs.js/index.js} +7 -11
- package/dist/{lib.esm.js → lib.esm.js/index.js} +7 -10
- package/dist/lib.umd.min.js/index-CVhusXdQ.js +1 -0
- package/dist/lib.umd.min.js/index-DdGH0TTD.js +1 -0
- package/dist/lib.umd.min.js/index.js +1 -0
- package/dist/src/aws/ses.d.ts +4 -4
- package/package.json +16 -16
- package/dist/lib.umd.min.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{w as r}from"./index-DdGH0TTD.js";export{C as ClientError,D as DEFAULT_PARAMETER_STORE_CLIENT_CONFIG,b as DEFAULT_SES_CLIENT_CONFIG,S as ServerError,a as alagarr,d as dynamodb,l as lambda,e as logger,p as parameterStore,s as ses,c as sqs}from"./index-DdGH0TTD.js";import"querystring";import"zlib";import"crypto";import"events";import"url";import"util";import"fs";import"http";import"https";import"stream";import"net";import"dns";import"os";import"path";import"tls";import"child_process";import"buffer";import"string_decoder";var t=r.Logger;export{t as Logger};
|
package/dist/src/aws/ses.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { SESv2ClientConfig } from '@aws-sdk/client-sesv2';
|
|
2
2
|
import { Headers } from 'nodemailer/lib/mailer';
|
|
3
3
|
import { Logger } from 'winston';
|
|
4
4
|
export interface ISES {
|
|
5
|
-
clientConfig?:
|
|
5
|
+
clientConfig?: SESv2ClientConfig;
|
|
6
6
|
customSMTPConfig?: {
|
|
7
7
|
host: string;
|
|
8
8
|
port: number;
|
|
@@ -20,7 +20,7 @@ export interface IEmailOptions {
|
|
|
20
20
|
readonly attachments?: readonly IEmailAttachment[];
|
|
21
21
|
readonly bcc?: string | readonly string[];
|
|
22
22
|
readonly cc?: string | readonly string[];
|
|
23
|
-
readonly from
|
|
23
|
+
readonly from: string;
|
|
24
24
|
readonly headers?: Headers;
|
|
25
25
|
readonly html?: string;
|
|
26
26
|
readonly replyTo?: string | readonly string[];
|
|
@@ -29,7 +29,7 @@ export interface IEmailOptions {
|
|
|
29
29
|
readonly to: string | readonly string[];
|
|
30
30
|
}
|
|
31
31
|
export type TSendMail = (options: IEmailOptions, responseCallback?: (response: object) => Promise<void>) => Promise<boolean>;
|
|
32
|
-
declare const ses: (
|
|
32
|
+
declare const ses: (userConfig: ISES) => {
|
|
33
33
|
sendMail: TSendMail;
|
|
34
34
|
};
|
|
35
35
|
export default ses;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allthings/cloud-toolkit",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0-dev.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Allthings GmbH",
|
|
6
6
|
"keywords": [
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@aws-sdk/client-dynamodb": "^3.891.0",
|
|
55
55
|
"@aws-sdk/client-lambda": "^3.891.0",
|
|
56
|
-
"@aws-sdk/client-
|
|
56
|
+
"@aws-sdk/client-sesv2": "^3.891.0",
|
|
57
57
|
"@aws-sdk/client-sqs": "^3.891.0",
|
|
58
58
|
"@aws-sdk/client-ssm": "^3.891.0",
|
|
59
59
|
"@aws-sdk/lib-dynamodb": "^3.891.0",
|
|
@@ -65,29 +65,29 @@
|
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@allthings/eslint-config": "2.2.2",
|
|
68
|
-
"@commitlint/cli": "
|
|
69
|
-
"@commitlint/config-conventional": "
|
|
70
|
-
"@rollup/plugin-commonjs": "
|
|
68
|
+
"@commitlint/cli": "20.1.0",
|
|
69
|
+
"@commitlint/config-conventional": "20.0.0",
|
|
70
|
+
"@rollup/plugin-commonjs": "29.0.0",
|
|
71
71
|
"@rollup/plugin-json": "6.1.0",
|
|
72
|
-
"@rollup/plugin-node-resolve": "16.0.
|
|
73
|
-
"@rollup/plugin-replace": "6.0.
|
|
72
|
+
"@rollup/plugin-node-resolve": "16.0.3",
|
|
73
|
+
"@rollup/plugin-replace": "6.0.3",
|
|
74
74
|
"@rollup/plugin-terser": "0.4.4",
|
|
75
|
-
"@types/aws-lambda": "8.10.
|
|
75
|
+
"@types/aws-lambda": "8.10.158",
|
|
76
76
|
"@types/jest": "30.0.0",
|
|
77
|
-
"@types/node": "
|
|
78
|
-
"@types/nodemailer": "6.4.
|
|
77
|
+
"@types/node": "24.9.2",
|
|
78
|
+
"@types/nodemailer": "6.4.21",
|
|
79
79
|
"@types/query-string": "6.3.0",
|
|
80
80
|
"aws-sdk-client-mock": "4.1.0",
|
|
81
81
|
"eslint": "8.57.1",
|
|
82
82
|
"husky": "9.1.7",
|
|
83
|
-
"jest": "30.
|
|
84
|
-
"lint-staged": "16.
|
|
83
|
+
"jest": "30.2.0",
|
|
84
|
+
"lint-staged": "16.2.6",
|
|
85
85
|
"prettier": "3.6.2",
|
|
86
|
-
"rimraf": "6.0
|
|
87
|
-
"rollup": "4.
|
|
86
|
+
"rimraf": "6.1.0",
|
|
87
|
+
"rollup": "4.53.2",
|
|
88
88
|
"semantic-release": "19.0.5",
|
|
89
|
-
"ts-jest": "29.4.
|
|
90
|
-
"typescript": "5.9.
|
|
89
|
+
"ts-jest": "29.4.5",
|
|
90
|
+
"typescript": "5.9.3"
|
|
91
91
|
},
|
|
92
92
|
"prettier": {
|
|
93
93
|
"printWidth": 80,
|