ac-ses 1.2.0 → 1.2.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/.acsemver.js +1 -1
- package/CHANGELOG.md +39 -0
- package/index.js +7 -4
- package/package.json +11 -11
package/.acsemver.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,42 @@
|
|
|
1
|
+
<a name="1.2.3"></a>
|
|
2
|
+
|
|
3
|
+
## [1.2.3](https://github.com/admiralcloud/ac-ses/compare/v1.2.2..v1.2.3) (2022-07-22 05:34:50)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fix
|
|
7
|
+
|
|
8
|
+
* **App:** Package update | MP | [236062a467063f128394757e9f8e08562591416e](https://github.com/admiralcloud/ac-ses/commit/236062a467063f128394757e9f8e08562591416e)
|
|
9
|
+
Package update
|
|
10
|
+
Related issues: [/issues#undefined](https://github.com//issues/undefined)
|
|
11
|
+
### Chores
|
|
12
|
+
|
|
13
|
+
* **App:** Updated gitignore | MP | [d545d8c49202a68737ee0723db629ddd2d071ac7](https://github.com/admiralcloud/ac-ses/commit/d545d8c49202a68737ee0723db629ddd2d071ac7)
|
|
14
|
+
Ignore vscode settings
|
|
15
|
+
Related issues: [/issues#undefined](https://github.com//issues/undefined)
|
|
16
|
+
<a name="1.2.2"></a>
|
|
17
|
+
|
|
18
|
+
## [1.2.2](https://github.com/admiralcloud/ac-ses/compare/v1.2.1..v1.2.2) (2021-10-09 17:45:18)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fix
|
|
22
|
+
|
|
23
|
+
* **App:** Package updates | MP | [dac58e153751bffa44ddb05731f742707c9cebc7](https://github.com/admiralcloud/ac-ses/commit/dac58e153751bffa44ddb05731f742707c9cebc7)
|
|
24
|
+
Package updates
|
|
25
|
+
<a name="1.2.1"></a>
|
|
26
|
+
|
|
27
|
+
## [1.2.1](https://github.com/mmpro/ac-ses/compare/v1.2.0..v1.2.1) (2021-03-29 05:38:36)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Bug Fix
|
|
31
|
+
|
|
32
|
+
* **App:** Typo fix blockTime and rediKey for mail helpers | MP | [f8fef9de2ee68976f2f3b8fdc58b2bfdfb23f9c4](https://github.com/mmpro/ac-ses/commit/f8fef9de2ee68976f2f3b8fdc58b2bfdfb23f9c4)
|
|
33
|
+
Make sure to use blockTime, not blocktime. Also allow parameter redisKey for informXXX functions.
|
|
34
|
+
### Chores
|
|
35
|
+
|
|
36
|
+
* **App:** Updated packages | MP | [a85604422822636d5b09941f8b8e7366e2318115](https://github.com/mmpro/ac-ses/commit/a85604422822636d5b09941f8b8e7366e2318115)
|
|
37
|
+
Updated packages
|
|
38
|
+
* **App:** Updated packages | MP | [409c1f36ac4b4452992f0ce6873cabd81efcbb27](https://github.com/mmpro/ac-ses/commit/409c1f36ac4b4452992f0ce6873cabd81efcbb27)
|
|
39
|
+
Updated packages
|
|
1
40
|
<a name="1.2.0"></a>
|
|
2
41
|
|
|
3
42
|
# [1.2.0](https://github.com/mmpro/ac-ses/compare/v1.1.10..v1.2.0) (2020-05-15 05:48:09)
|
package/index.js
CHANGED
|
@@ -108,7 +108,7 @@ const acses = function() {
|
|
|
108
108
|
{ field: 'html', type: _.isString },
|
|
109
109
|
// OPTIONS
|
|
110
110
|
{ field: 'replyTo', type: _.isArray },
|
|
111
|
-
{ field: 'attachments', type: _.isArray }
|
|
111
|
+
{ field: 'attachments', type: _.isArray },
|
|
112
112
|
]
|
|
113
113
|
|
|
114
114
|
_.some(fieldCheck, (field) => {
|
|
@@ -223,7 +223,8 @@ const acses = function() {
|
|
|
223
223
|
to: [securityRecipient],
|
|
224
224
|
subject: params.subject,
|
|
225
225
|
text: params.text,
|
|
226
|
-
blockTime: _.get(params, '
|
|
226
|
+
blockTime: _.get(params, 'blockTime', defaultBlockTime),
|
|
227
|
+
redisKey: _.get(params, 'redisKey')
|
|
227
228
|
}
|
|
228
229
|
if (_.isFunction(cb)) sendEmail(message, cb)
|
|
229
230
|
else sendEmail(message)
|
|
@@ -242,7 +243,8 @@ const acses = function() {
|
|
|
242
243
|
to: [supportRecipient],
|
|
243
244
|
subject: params.subject,
|
|
244
245
|
text: params.text,
|
|
245
|
-
blockTime: _.get(params, '
|
|
246
|
+
blockTime: _.get(params, 'blockTime', defaultBlockTime),
|
|
247
|
+
redisKey: _.get(params, 'redisKey')
|
|
246
248
|
}
|
|
247
249
|
if (_.isFunction(cb)) sendEmail(message, cb)
|
|
248
250
|
else sendEmail(message)
|
|
@@ -261,7 +263,8 @@ const acses = function() {
|
|
|
261
263
|
to: [operationsRecipient],
|
|
262
264
|
subject: params.subject,
|
|
263
265
|
text: params.text,
|
|
264
|
-
blockTime: _.get(params, '
|
|
266
|
+
blockTime: _.get(params, 'blockTime', defaultBlockTime),
|
|
267
|
+
redisKey: _.get(params, 'redisKey')
|
|
265
268
|
}
|
|
266
269
|
if (_.isFunction(cb)) sendEmail(message, cb)
|
|
267
270
|
else sendEmail(message)
|
package/package.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ac-ses",
|
|
3
|
-
"author": "Mark Poepping (https://www.
|
|
3
|
+
"author": "Mark Poepping (https://www.admiralcloud.com)",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"repository": "
|
|
5
|
+
"repository": "admiralcloud/ac-ses",
|
|
6
6
|
"homepage": "https://www.admiralcloud.com",
|
|
7
|
-
"version": "1.2.
|
|
7
|
+
"version": "1.2.3",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"async": "^3.2.
|
|
10
|
-
"aws-sdk": "^2.
|
|
11
|
-
"lodash": "^4.17.
|
|
9
|
+
"async": "^3.2.4",
|
|
10
|
+
"aws-sdk": "^2.1180.0",
|
|
11
|
+
"lodash": "^4.17.21",
|
|
12
12
|
"quoted-printable": "^1.0.1",
|
|
13
13
|
"utf8": "^3.0.0",
|
|
14
14
|
"uuid": "^8.x"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"ac-semantic-release": "^0.
|
|
17
|
+
"ac-semantic-release": "^0.3.3",
|
|
18
18
|
"eslint": "7.x",
|
|
19
|
-
"expect": "^
|
|
20
|
-
"ioredis": "^4.
|
|
21
|
-
"mocha": "^
|
|
22
|
-
"mocha-jenkins-reporter": "
|
|
19
|
+
"expect": "^27.x",
|
|
20
|
+
"ioredis": "^4.28.5",
|
|
21
|
+
"mocha": "^9.2.2",
|
|
22
|
+
"mocha-jenkins-reporter": "0.4.7"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
25
|
"test": "mocha --reporter spec",
|