ac-ses 2.0.10 → 2.0.11
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/CHANGELOG.md +9 -0
- package/index.js +5 -5
- package/package.json +4 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [2.0.11](https://github.com/admiralcloud/ac-ses/compare/v2.0.10..v2.0.11) (2026-04-24 19:02:32)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fix
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
* **App:** Package updates | MP | [62a1d317bcd52357d91b0308fc6cb0c05d70b0d4](https://github.com/admiralcloud/ac-ses/commit/62a1d317bcd52357d91b0308fc6cb0c05d70b0d4)
|
|
8
|
+
Replaced uuid package with built-in function
|
|
9
|
+
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
1
10
|
## [2.0.10](https://github.com/admiralcloud/ac-ses/compare/v2.0.9..v2.0.10) (2026-04-17 07:54:27)
|
|
2
11
|
|
|
3
12
|
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const _ = require('lodash')
|
|
2
|
-
const {
|
|
2
|
+
const { randomUUID } = require('crypto')
|
|
3
3
|
|
|
4
4
|
const quotedPrintable = require('quoted-printable')
|
|
5
5
|
const utf8 = require('utf8')
|
|
@@ -92,8 +92,8 @@ const acses = () => {
|
|
|
92
92
|
if (_.get(params, field.field) && !field.type(_.get(params, field.field))) throw new ACError(field.field + '_typeInvalid')
|
|
93
93
|
})
|
|
94
94
|
|
|
95
|
-
const boundaryMixed =
|
|
96
|
-
const boundaryAlternative =
|
|
95
|
+
const boundaryMixed = randomUUID()
|
|
96
|
+
const boundaryAlternative = randomUUID()
|
|
97
97
|
const encoding = _.get(params, 'encoding', 'quoted-printable')
|
|
98
98
|
|
|
99
99
|
// sendRawMessage
|
|
@@ -151,10 +151,10 @@ const acses = () => {
|
|
|
151
151
|
let mockResponse = {
|
|
152
152
|
'$metadata': {
|
|
153
153
|
httpStatusCode: 200,
|
|
154
|
-
requestId:
|
|
154
|
+
requestId: randomUUID(),
|
|
155
155
|
attempts: 1
|
|
156
156
|
},
|
|
157
|
-
MessageId: Math.random().toString(36) + '-' +
|
|
157
|
+
MessageId: Math.random().toString(36) + '-' + randomUUID() + '-000000',
|
|
158
158
|
testMode: true
|
|
159
159
|
}
|
|
160
160
|
return mockResponse
|
package/package.json
CHANGED
|
@@ -4,14 +4,13 @@
|
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "admiralcloud/ac-ses",
|
|
6
6
|
"homepage": "https://www.admiralcloud.com",
|
|
7
|
-
"version": "2.0.
|
|
7
|
+
"version": "2.0.11",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@aws-sdk/client-sesv2": "^3.
|
|
10
|
-
"ac-custom-error": "^2.0.
|
|
9
|
+
"@aws-sdk/client-sesv2": "^3.1036.0",
|
|
10
|
+
"ac-custom-error": "^2.0.5",
|
|
11
11
|
"lodash": "^4.18.1",
|
|
12
12
|
"quoted-printable": "^1.0.1",
|
|
13
|
-
"utf8": "^3.0.0"
|
|
14
|
-
"uuid": "^11.x"
|
|
13
|
+
"utf8": "^3.0.0"
|
|
15
14
|
},
|
|
16
15
|
"devDependencies": {
|
|
17
16
|
"ac-semantic-release": "^1.0.2",
|