@goldstack/template-email-send 0.3.103 → 0.3.104

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goldstack/template-email-send",
3
- "version": "0.3.103",
3
+ "version": "0.3.104",
4
4
  "description": "Utilities for packages that implement email sending using AWS SES",
5
5
  "keywords": [
6
6
  "goldstack",
@@ -45,20 +45,20 @@
45
45
  "version:apply:force": "yarn version $@ && yarn version apply"
46
46
  },
47
47
  "dependencies": {
48
- "@goldstack/infra": "0.3.36",
49
- "@goldstack/infra-aws": "0.3.44",
50
- "@goldstack/utils-cli": "0.2.13",
51
- "@goldstack/utils-esbuild": "0.4.1",
52
- "@goldstack/utils-package": "0.3.38",
53
- "@goldstack/utils-package-config-embedded": "0.4.1",
54
- "@goldstack/utils-terraform": "0.3.68",
55
- "@goldstack/utils-terraform-aws": "0.3.67",
48
+ "@goldstack/infra": "0.3.37",
49
+ "@goldstack/infra-aws": "0.3.45",
50
+ "@goldstack/utils-cli": "0.2.14",
51
+ "@goldstack/utils-esbuild": "0.4.2",
52
+ "@goldstack/utils-package": "0.3.39",
53
+ "@goldstack/utils-package-config-embedded": "0.4.2",
54
+ "@goldstack/utils-terraform": "0.3.69",
55
+ "@goldstack/utils-terraform-aws": "0.3.68",
56
56
  "aws-sdk": "2.1055.0",
57
57
  "uuid": "^8.3.0"
58
58
  },
59
59
  "devDependencies": {
60
- "@goldstack/utils-git": "0.1.34",
61
- "@goldstack/utils-package-config-generate": "0.2.14",
60
+ "@goldstack/utils-git": "0.1.35",
61
+ "@goldstack/utils-package-config-generate": "0.2.15",
62
62
  "@types/jest": "^27.5.1",
63
63
  "@types/mock-aws-s3": "^2.6.3",
64
64
  "@types/node": "^17.0.33",
@@ -66,7 +66,7 @@
66
66
  "jest": "^28.1.0",
67
67
  "rimraf": "^3.0.2",
68
68
  "ts-jest": "^28.0.2",
69
- "ts-node": "^10.7.0",
69
+ "ts-node": "^10.8.0",
70
70
  "typescript": "^4.6.4"
71
71
  },
72
72
  "publishConfig": {
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=mockesSES.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mockesSES.spec.d.ts","sourceRoot":"","sources":["../../src/mockesSES.spec.ts"],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const mockedSES_1 = require("./mockedSES");
4
- describe('MockedSES', () => {
5
- it('Should create instance', () => {
6
- const mockedSES = new mockedSES_1.MockedSES();
7
- expect(mockedSES.sendEmail).toBeDefined();
8
- });
9
- });
10
- //# sourceMappingURL=mockesSES.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mockesSES.spec.js","sourceRoot":"","sources":["../../src/mockesSES.spec.ts"],"names":[],"mappings":";;AAAA,2CAAwC;AACxC,QAAQ,CAAC,WAAW,EAAE,GAAG,EAAE;IACzB,EAAE,CAAC,wBAAwB,EAAE,GAAG,EAAE;QAChC,MAAM,SAAS,GAAG,IAAI,qBAAS,EAAE,CAAC;QAClC,MAAM,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,WAAW,EAAE,CAAC;IAC5C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=sesConnect.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sesConnect.spec.d.ts","sourceRoot":"","sources":["../../src/sesConnect.spec.ts"],"names":[],"mappings":""}
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const sesConnect_1 = require("./sesConnect");
4
- describe('SES connect', () => {
5
- it('Should connect to mocked SES', async () => {
6
- const ses = await (0, sesConnect_1.connect)({}, {}, 'local');
7
- await ses
8
- .sendEmail({
9
- Destination: { ToAddresses: ['test@test.com'] },
10
- Message: {
11
- Subject: { Charset: 'UTF-8', Data: 'Test email' },
12
- Body: {
13
- Text: {
14
- Charset: 'UTF-8',
15
- Data: 'This is the message body in text format.',
16
- },
17
- },
18
- },
19
- Source: 'sender@example.com',
20
- })
21
- .promise();
22
- const mockedSES = (0, sesConnect_1.getMockedSES)();
23
- const sentEmailRequests = mockedSES.getSentEmailRequests();
24
- expect(sentEmailRequests).toHaveLength(1);
25
- });
26
- });
27
- //# sourceMappingURL=sesConnect.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sesConnect.spec.js","sourceRoot":"","sources":["../../src/sesConnect.spec.ts"],"names":[],"mappings":";;AAAA,6CAAqD;AACrD,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,EAAE,CAAC,8BAA8B,EAAE,KAAK,IAAI,EAAE;QAC5C,MAAM,GAAG,GAAG,MAAM,IAAA,oBAAO,EAAC,EAAE,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;QAC3C,MAAM,GAAG;aACN,SAAS,CAAC;YACT,WAAW,EAAE,EAAE,WAAW,EAAE,CAAC,eAAe,CAAC,EAAE;YAC/C,OAAO,EAAE;gBACP,OAAO,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE;gBACjD,IAAI,EAAE;oBACJ,IAAI,EAAE;wBACJ,OAAO,EAAE,OAAO;wBAChB,IAAI,EAAE,0CAA0C;qBACjD;iBACF;aACF;YACD,MAAM,EAAE,oBAAoB;SAC7B,CAAC;aACD,OAAO,EAAE,CAAC;QAEb,MAAM,SAAS,GAAG,IAAA,yBAAY,GAAE,CAAC;QACjC,MAAM,iBAAiB,GAAG,SAAS,CAAC,oBAAoB,EAAE,CAAC;QAC3D,MAAM,CAAC,iBAAiB,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;IAC5C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}