@goldstack/template-email-send 0.4.0 → 0.4.3
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/src/mockedSES.d.ts +8 -8
- package/dist/src/mockedSES.js +27 -27
- package/dist/src/sesConnect.d.ts +5 -5
- package/dist/src/sesConnect.js +70 -70
- package/dist/src/templateEmailSend.d.ts +4 -4
- package/dist/src/templateEmailSend.js +9 -9
- package/dist/src/types/EmailSendPackage.d.ts +60 -60
- package/dist/src/types/EmailSendPackage.js +2 -2
- package/package.json +12 -12
package/dist/src/mockedSES.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import SES from 'aws-sdk/clients/ses';
|
|
2
|
-
import { AWSError, Request } from 'aws-sdk/lib/core';
|
|
3
|
-
export declare class MockedSES {
|
|
4
|
-
private sendEmailRequests;
|
|
5
|
-
constructor();
|
|
6
|
-
getSentEmailRequests(): SES.SendEmailRequest[];
|
|
7
|
-
sendEmail(params: SES.SendEmailRequest, callback?: any): Request<SES.SendEmailResponse, AWSError>;
|
|
8
|
-
}
|
|
1
|
+
import SES from 'aws-sdk/clients/ses';
|
|
2
|
+
import { AWSError, Request } from 'aws-sdk/lib/core';
|
|
3
|
+
export declare class MockedSES {
|
|
4
|
+
private sendEmailRequests;
|
|
5
|
+
constructor();
|
|
6
|
+
getSentEmailRequests(): SES.SendEmailRequest[];
|
|
7
|
+
sendEmail(params: SES.SendEmailRequest, callback?: any): Request<SES.SendEmailResponse, AWSError>;
|
|
8
|
+
}
|
|
9
9
|
//# sourceMappingURL=mockedSES.d.ts.map
|
package/dist/src/mockedSES.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MockedSES = void 0;
|
|
4
|
-
const uuid_1 = require("uuid");
|
|
5
|
-
class MockedSES {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.sendEmailRequests = [];
|
|
8
|
-
}
|
|
9
|
-
getSentEmailRequests() {
|
|
10
|
-
return this.sendEmailRequests;
|
|
11
|
-
}
|
|
12
|
-
sendEmail(params, callback) {
|
|
13
|
-
this.sendEmailRequests.push(params);
|
|
14
|
-
if (process.env.GOLDSTACK_LOG_EMAILS) {
|
|
15
|
-
console.log('Mocked SES Send email');
|
|
16
|
-
console.log(JSON.stringify(params, null, 2));
|
|
17
|
-
}
|
|
18
|
-
if (callback) {
|
|
19
|
-
callback(null, { MessageId: (0, uuid_1.v4)() });
|
|
20
|
-
return {};
|
|
21
|
-
}
|
|
22
|
-
return {
|
|
23
|
-
promise: () => new Promise((resolve) => resolve({ MessageId: (0, uuid_1.v4)() })),
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
exports.MockedSES = MockedSES;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MockedSES = void 0;
|
|
4
|
+
const uuid_1 = require("uuid");
|
|
5
|
+
class MockedSES {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.sendEmailRequests = [];
|
|
8
|
+
}
|
|
9
|
+
getSentEmailRequests() {
|
|
10
|
+
return this.sendEmailRequests;
|
|
11
|
+
}
|
|
12
|
+
sendEmail(params, callback) {
|
|
13
|
+
this.sendEmailRequests.push(params);
|
|
14
|
+
if (process.env.GOLDSTACK_LOG_EMAILS) {
|
|
15
|
+
console.log('Mocked SES Send email');
|
|
16
|
+
console.log(JSON.stringify(params, null, 2));
|
|
17
|
+
}
|
|
18
|
+
if (callback) {
|
|
19
|
+
callback(null, { MessageId: (0, uuid_1.v4)() });
|
|
20
|
+
return {};
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
promise: () => new Promise((resolve) => resolve({ MessageId: (0, uuid_1.v4)() })),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
exports.MockedSES = MockedSES;
|
|
28
28
|
//# sourceMappingURL=mockedSES.js.map
|
package/dist/src/sesConnect.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import SES from 'aws-sdk/clients/ses';
|
|
2
|
-
import { MockedSES } from './mockedSES';
|
|
3
|
-
export declare const getMockedSES: () => MockedSES;
|
|
4
|
-
export declare const connect: (goldstackConfig: any, packageSchema: any, deploymentName?: string) => Promise<SES>;
|
|
5
|
-
export declare const getFromDomain: (goldstackConfig: any, packageSchema: any, deploymentName?: string) => Promise<string>;
|
|
1
|
+
import SES from 'aws-sdk/clients/ses';
|
|
2
|
+
import { MockedSES } from './mockedSES';
|
|
3
|
+
export declare const getMockedSES: () => MockedSES;
|
|
4
|
+
export declare const connect: (goldstackConfig: any, packageSchema: any, deploymentName?: string) => Promise<SES>;
|
|
5
|
+
export declare const getFromDomain: (goldstackConfig: any, packageSchema: any, deploymentName?: string) => Promise<string>;
|
|
6
6
|
//# sourceMappingURL=sesConnect.d.ts.map
|
package/dist/src/sesConnect.js
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getFromDomain = exports.connect = exports.getMockedSES = void 0;
|
|
7
|
-
const ses_1 = __importDefault(require("aws-sdk/clients/ses"));
|
|
8
|
-
const core_1 = require("aws-sdk/lib/core");
|
|
9
|
-
const assert_1 = __importDefault(require("assert"));
|
|
10
|
-
const utils_package_config_embedded_1 = require("@goldstack/utils-package-config-embedded");
|
|
11
|
-
const mockedSES_1 = require("./mockedSES");
|
|
12
|
-
const utils_esbuild_1 = require("@goldstack/utils-esbuild");
|
|
13
|
-
let mockedSES;
|
|
14
|
-
const getMockedSES = () => {
|
|
15
|
-
if (!mockedSES) {
|
|
16
|
-
mockedSES = new mockedSES_1.MockedSES();
|
|
17
|
-
}
|
|
18
|
-
return mockedSES;
|
|
19
|
-
};
|
|
20
|
-
exports.getMockedSES = getMockedSES;
|
|
21
|
-
const connect = async (goldstackConfig, packageSchema, deploymentName) => {
|
|
22
|
-
const packageConfig = new utils_package_config_embedded_1.EmbeddedPackageConfig({
|
|
23
|
-
goldstackJson: goldstackConfig,
|
|
24
|
-
packageSchema,
|
|
25
|
-
});
|
|
26
|
-
if (!deploymentName) {
|
|
27
|
-
(0, assert_1.default)(process.env.GOLDSTACK_DEPLOYMENT, `Cannot connect to SES for package ${goldstackConfig.name}. Either specify a deploymentName or ensure environment variable GOLDSTACK_DEPLOYMENT is defined.`);
|
|
28
|
-
deploymentName = process.env.GOLDSTACK_DEPLOYMENT;
|
|
29
|
-
}
|
|
30
|
-
if (deploymentName === 'local') {
|
|
31
|
-
if (!mockedSES) {
|
|
32
|
-
mockedSES = new mockedSES_1.MockedSES();
|
|
33
|
-
}
|
|
34
|
-
return mockedSES;
|
|
35
|
-
}
|
|
36
|
-
const deployment = packageConfig.getDeployment(deploymentName);
|
|
37
|
-
let awsUser;
|
|
38
|
-
if (process.env.AWS_ACCESS_KEY_ID) {
|
|
39
|
-
awsUser = new core_1.EnvironmentCredentials('AWS');
|
|
40
|
-
}
|
|
41
|
-
else {
|
|
42
|
-
// load this in lazy to enable omitting the dependency when bundling lambdas
|
|
43
|
-
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
44
|
-
const infraAWSLib = require((0, utils_esbuild_1.excludeInBundle)('@goldstack/infra-aws'));
|
|
45
|
-
awsUser = await infraAWSLib.getAWSUser(deployment.awsUser);
|
|
46
|
-
}
|
|
47
|
-
const ses = new ses_1.default({
|
|
48
|
-
apiVersion: '2010-12-01',
|
|
49
|
-
credentials: awsUser,
|
|
50
|
-
region: deployment.awsRegion,
|
|
51
|
-
});
|
|
52
|
-
return ses;
|
|
53
|
-
};
|
|
54
|
-
exports.connect = connect;
|
|
55
|
-
const getFromDomain = async (goldstackConfig, packageSchema, deploymentName) => {
|
|
56
|
-
const packageConfig = new utils_package_config_embedded_1.EmbeddedPackageConfig({
|
|
57
|
-
goldstackJson: goldstackConfig,
|
|
58
|
-
packageSchema,
|
|
59
|
-
});
|
|
60
|
-
if (!deploymentName) {
|
|
61
|
-
(0, assert_1.default)(process.env.GOLDSTACK_DEPLOYMENT, `Cannot connect to SES for package ${goldstackConfig.name}. Either specify a deploymentName or ensure environment variable GOLDSTACK_DEPLOYMENT is defined.`);
|
|
62
|
-
deploymentName = process.env.GOLDSTACK_DEPLOYMENT;
|
|
63
|
-
}
|
|
64
|
-
if (deploymentName === 'local') {
|
|
65
|
-
return 'test.local';
|
|
66
|
-
}
|
|
67
|
-
const deployment = packageConfig.getDeployment(deploymentName);
|
|
68
|
-
return deployment.configuration.domain;
|
|
69
|
-
};
|
|
70
|
-
exports.getFromDomain = getFromDomain;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.getFromDomain = exports.connect = exports.getMockedSES = void 0;
|
|
7
|
+
const ses_1 = __importDefault(require("aws-sdk/clients/ses"));
|
|
8
|
+
const core_1 = require("aws-sdk/lib/core");
|
|
9
|
+
const assert_1 = __importDefault(require("assert"));
|
|
10
|
+
const utils_package_config_embedded_1 = require("@goldstack/utils-package-config-embedded");
|
|
11
|
+
const mockedSES_1 = require("./mockedSES");
|
|
12
|
+
const utils_esbuild_1 = require("@goldstack/utils-esbuild");
|
|
13
|
+
let mockedSES;
|
|
14
|
+
const getMockedSES = () => {
|
|
15
|
+
if (!mockedSES) {
|
|
16
|
+
mockedSES = new mockedSES_1.MockedSES();
|
|
17
|
+
}
|
|
18
|
+
return mockedSES;
|
|
19
|
+
};
|
|
20
|
+
exports.getMockedSES = getMockedSES;
|
|
21
|
+
const connect = async (goldstackConfig, packageSchema, deploymentName) => {
|
|
22
|
+
const packageConfig = new utils_package_config_embedded_1.EmbeddedPackageConfig({
|
|
23
|
+
goldstackJson: goldstackConfig,
|
|
24
|
+
packageSchema,
|
|
25
|
+
});
|
|
26
|
+
if (!deploymentName) {
|
|
27
|
+
(0, assert_1.default)(process.env.GOLDSTACK_DEPLOYMENT, `Cannot connect to SES for package ${goldstackConfig.name}. Either specify a deploymentName or ensure environment variable GOLDSTACK_DEPLOYMENT is defined.`);
|
|
28
|
+
deploymentName = process.env.GOLDSTACK_DEPLOYMENT;
|
|
29
|
+
}
|
|
30
|
+
if (deploymentName === 'local') {
|
|
31
|
+
if (!mockedSES) {
|
|
32
|
+
mockedSES = new mockedSES_1.MockedSES();
|
|
33
|
+
}
|
|
34
|
+
return mockedSES;
|
|
35
|
+
}
|
|
36
|
+
const deployment = packageConfig.getDeployment(deploymentName);
|
|
37
|
+
let awsUser;
|
|
38
|
+
if (process.env.AWS_ACCESS_KEY_ID) {
|
|
39
|
+
awsUser = new core_1.EnvironmentCredentials('AWS');
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
// load this in lazy to enable omitting the dependency when bundling lambdas
|
|
43
|
+
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
44
|
+
const infraAWSLib = require((0, utils_esbuild_1.excludeInBundle)('@goldstack/infra-aws'));
|
|
45
|
+
awsUser = await infraAWSLib.getAWSUser(deployment.awsUser);
|
|
46
|
+
}
|
|
47
|
+
const ses = new ses_1.default({
|
|
48
|
+
apiVersion: '2010-12-01',
|
|
49
|
+
credentials: awsUser,
|
|
50
|
+
region: deployment.awsRegion,
|
|
51
|
+
});
|
|
52
|
+
return ses;
|
|
53
|
+
};
|
|
54
|
+
exports.connect = connect;
|
|
55
|
+
const getFromDomain = async (goldstackConfig, packageSchema, deploymentName) => {
|
|
56
|
+
const packageConfig = new utils_package_config_embedded_1.EmbeddedPackageConfig({
|
|
57
|
+
goldstackJson: goldstackConfig,
|
|
58
|
+
packageSchema,
|
|
59
|
+
});
|
|
60
|
+
if (!deploymentName) {
|
|
61
|
+
(0, assert_1.default)(process.env.GOLDSTACK_DEPLOYMENT, `Cannot connect to SES for package ${goldstackConfig.name}. Either specify a deploymentName or ensure environment variable GOLDSTACK_DEPLOYMENT is defined.`);
|
|
62
|
+
deploymentName = process.env.GOLDSTACK_DEPLOYMENT;
|
|
63
|
+
}
|
|
64
|
+
if (deploymentName === 'local') {
|
|
65
|
+
return 'test.local';
|
|
66
|
+
}
|
|
67
|
+
const deployment = packageConfig.getDeployment(deploymentName);
|
|
68
|
+
return deployment.configuration.domain;
|
|
69
|
+
};
|
|
70
|
+
exports.getFromDomain = getFromDomain;
|
|
71
71
|
//# sourceMappingURL=sesConnect.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { EmailSendPackage, EmailSendDeployment } from './types/EmailSendPackage';
|
|
2
|
-
export type { EmailSendDeployment, EmailSendPackage };
|
|
3
|
-
export { connect, getMockedSES, getFromDomain } from './sesConnect';
|
|
4
|
-
export { MockedSES } from './mockedSES';
|
|
1
|
+
import type { EmailSendPackage, EmailSendDeployment } from './types/EmailSendPackage';
|
|
2
|
+
export type { EmailSendDeployment, EmailSendPackage };
|
|
3
|
+
export { connect, getMockedSES, getFromDomain } from './sesConnect';
|
|
4
|
+
export { MockedSES } from './mockedSES';
|
|
5
5
|
//# sourceMappingURL=templateEmailSend.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MockedSES = exports.getFromDomain = exports.getMockedSES = exports.connect = void 0;
|
|
4
|
-
var sesConnect_1 = require("./sesConnect");
|
|
5
|
-
Object.defineProperty(exports, "connect", { enumerable: true, get: function () { return sesConnect_1.connect; } });
|
|
6
|
-
Object.defineProperty(exports, "getMockedSES", { enumerable: true, get: function () { return sesConnect_1.getMockedSES; } });
|
|
7
|
-
Object.defineProperty(exports, "getFromDomain", { enumerable: true, get: function () { return sesConnect_1.getFromDomain; } });
|
|
8
|
-
var mockedSES_1 = require("./mockedSES");
|
|
9
|
-
Object.defineProperty(exports, "MockedSES", { enumerable: true, get: function () { return mockedSES_1.MockedSES; } });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MockedSES = exports.getFromDomain = exports.getMockedSES = exports.connect = void 0;
|
|
4
|
+
var sesConnect_1 = require("./sesConnect");
|
|
5
|
+
Object.defineProperty(exports, "connect", { enumerable: true, get: function () { return sesConnect_1.connect; } });
|
|
6
|
+
Object.defineProperty(exports, "getMockedSES", { enumerable: true, get: function () { return sesConnect_1.getMockedSES; } });
|
|
7
|
+
Object.defineProperty(exports, "getFromDomain", { enumerable: true, get: function () { return sesConnect_1.getFromDomain; } });
|
|
8
|
+
var mockedSES_1 = require("./mockedSES");
|
|
9
|
+
Object.defineProperty(exports, "MockedSES", { enumerable: true, get: function () { return mockedSES_1.MockedSES; } });
|
|
10
10
|
//# sourceMappingURL=templateEmailSend.js.map
|
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
import { Package } from '@goldstack/utils-package';
|
|
2
|
-
import { AWSDeployment } from '@goldstack/infra-aws';
|
|
3
|
-
import { TerraformDeployment } from '@goldstack/utils-terraform';
|
|
4
|
-
import { Deployment } from '@goldstack/infra';
|
|
5
|
-
import { DeploymentConfiguration } from '@goldstack/infra';
|
|
6
|
-
export { DeploymentConfiguration };
|
|
7
|
-
import { Configuration } from '@goldstack/utils-package';
|
|
8
|
-
export { Configuration };
|
|
9
|
-
/**
|
|
10
|
-
* The domain that will be used for email sender FROM addresses.
|
|
11
|
-
*
|
|
12
|
-
* @title Domain
|
|
13
|
-
* @pattern ^[^\s]*
|
|
14
|
-
*/
|
|
15
|
-
export declare type EmailDomain = string;
|
|
16
|
-
/**
|
|
17
|
-
* The domain name of the Route 53 hosted zone that the specific domain will be added to. This is often the same as the domain used for the FROM address.
|
|
18
|
-
*
|
|
19
|
-
* @title Hosted Zone Domain
|
|
20
|
-
* @pattern ^[^\s]*
|
|
21
|
-
*/
|
|
22
|
-
export declare type HostedZoneDomain = string;
|
|
23
|
-
export interface EmailSendDeploymentConfiguration extends DeploymentConfiguration {
|
|
24
|
-
domain: EmailDomain;
|
|
25
|
-
hostedZoneDomain: HostedZoneDomain;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Configures a deployment target for the email infrastrucutre.
|
|
29
|
-
*
|
|
30
|
-
* @Title Deployment
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
export interface EmailSendDeployment extends Deployment, AWSDeployment, TerraformDeployment {
|
|
34
|
-
configuration: EmailSendDeploymentConfiguration;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Places where email send should be configured.
|
|
38
|
-
*
|
|
39
|
-
* @title Deployments
|
|
40
|
-
*/
|
|
41
|
-
export declare type EmailSendDeployments = EmailSendDeployment[];
|
|
42
|
-
/**
|
|
43
|
-
* Email send package configuration
|
|
44
|
-
*
|
|
45
|
-
* @title Email Send Configuration
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
export interface EmailSendPackageConfiguration extends Configuration {
|
|
49
|
-
[propName: string]: any;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* A package for enabling email sends through AWS SES.
|
|
53
|
-
*
|
|
54
|
-
* @title Email Send Package
|
|
55
|
-
*/
|
|
56
|
-
export interface EmailSendPackage extends Package {
|
|
57
|
-
configuration: EmailSendPackageConfiguration;
|
|
58
|
-
deployments: EmailSendDeployments;
|
|
59
|
-
}
|
|
60
|
-
export default EmailSendPackage;
|
|
1
|
+
import { Package } from '@goldstack/utils-package';
|
|
2
|
+
import { AWSDeployment } from '@goldstack/infra-aws';
|
|
3
|
+
import { TerraformDeployment } from '@goldstack/utils-terraform';
|
|
4
|
+
import { Deployment } from '@goldstack/infra';
|
|
5
|
+
import { DeploymentConfiguration } from '@goldstack/infra';
|
|
6
|
+
export { DeploymentConfiguration };
|
|
7
|
+
import { Configuration } from '@goldstack/utils-package';
|
|
8
|
+
export { Configuration };
|
|
9
|
+
/**
|
|
10
|
+
* The domain that will be used for email sender FROM addresses.
|
|
11
|
+
*
|
|
12
|
+
* @title Domain
|
|
13
|
+
* @pattern ^[^\s]*
|
|
14
|
+
*/
|
|
15
|
+
export declare type EmailDomain = string;
|
|
16
|
+
/**
|
|
17
|
+
* The domain name of the Route 53 hosted zone that the specific domain will be added to. This is often the same as the domain used for the FROM address.
|
|
18
|
+
*
|
|
19
|
+
* @title Hosted Zone Domain
|
|
20
|
+
* @pattern ^[^\s]*
|
|
21
|
+
*/
|
|
22
|
+
export declare type HostedZoneDomain = string;
|
|
23
|
+
export interface EmailSendDeploymentConfiguration extends DeploymentConfiguration {
|
|
24
|
+
domain: EmailDomain;
|
|
25
|
+
hostedZoneDomain: HostedZoneDomain;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Configures a deployment target for the email infrastrucutre.
|
|
29
|
+
*
|
|
30
|
+
* @Title Deployment
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
export interface EmailSendDeployment extends Deployment, AWSDeployment, TerraformDeployment {
|
|
34
|
+
configuration: EmailSendDeploymentConfiguration;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Places where email send should be configured.
|
|
38
|
+
*
|
|
39
|
+
* @title Deployments
|
|
40
|
+
*/
|
|
41
|
+
export declare type EmailSendDeployments = EmailSendDeployment[];
|
|
42
|
+
/**
|
|
43
|
+
* Email send package configuration
|
|
44
|
+
*
|
|
45
|
+
* @title Email Send Configuration
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
export interface EmailSendPackageConfiguration extends Configuration {
|
|
49
|
+
[propName: string]: any;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* A package for enabling email sends through AWS SES.
|
|
53
|
+
*
|
|
54
|
+
* @title Email Send Package
|
|
55
|
+
*/
|
|
56
|
+
export interface EmailSendPackage extends Package {
|
|
57
|
+
configuration: EmailSendPackageConfiguration;
|
|
58
|
+
deployments: EmailSendDeployments;
|
|
59
|
+
}
|
|
60
|
+
export default EmailSendPackage;
|
|
61
61
|
//# sourceMappingURL=EmailSendPackage.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=EmailSendPackage.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goldstack/template-email-send",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Utilities for packages that implement email sending using AWS SES",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"goldstack",
|
|
@@ -41,21 +41,21 @@
|
|
|
41
41
|
"version:apply:force": "yarn version $@ && yarn version apply"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@goldstack/infra": "0.4.
|
|
45
|
-
"@goldstack/infra-aws": "0.4.
|
|
46
|
-
"@goldstack/utils-cli": "0.3.
|
|
47
|
-
"@goldstack/utils-esbuild": "0.5.
|
|
48
|
-
"@goldstack/utils-package": "0.4.
|
|
49
|
-
"@goldstack/utils-package-config-embedded": "0.5.
|
|
50
|
-
"@goldstack/utils-terraform": "0.4.
|
|
51
|
-
"@goldstack/utils-terraform-aws": "0.4.
|
|
44
|
+
"@goldstack/infra": "0.4.2",
|
|
45
|
+
"@goldstack/infra-aws": "0.4.3",
|
|
46
|
+
"@goldstack/utils-cli": "0.3.2",
|
|
47
|
+
"@goldstack/utils-esbuild": "0.5.2",
|
|
48
|
+
"@goldstack/utils-package": "0.4.2",
|
|
49
|
+
"@goldstack/utils-package-config-embedded": "0.5.2",
|
|
50
|
+
"@goldstack/utils-terraform": "0.4.3",
|
|
51
|
+
"@goldstack/utils-terraform-aws": "0.4.3",
|
|
52
52
|
"aws-sdk": "2.1055.0",
|
|
53
53
|
"uuid": "^8.3.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@goldstack/utils-git": "0.2.
|
|
57
|
-
"@goldstack/utils-package-config-generate": "0.3.
|
|
58
|
-
"@types/jest": "^
|
|
56
|
+
"@goldstack/utils-git": "0.2.2",
|
|
57
|
+
"@goldstack/utils-package-config-generate": "0.3.2",
|
|
58
|
+
"@types/jest": "^29.0.1",
|
|
59
59
|
"@types/mock-aws-s3": "^2.6.3",
|
|
60
60
|
"@types/node": "^18.7.13",
|
|
61
61
|
"@types/uuid": "^8.3.0",
|