@upyo/ses 0.5.0-dev.184 → 0.5.0-dev.188
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/index.cjs +1 -0
- package/dist/index.js +1 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -109,6 +109,7 @@ var SesHttpClient = class {
|
|
|
109
109
|
throw new SesApiError(errorData.message || `HTTP ${response.status}`, response.status, errorData.errors, (0, __upyo_core.parseRetryAfter)(response.headers.get("Retry-After")), attempt + 1);
|
|
110
110
|
} catch (error) {
|
|
111
111
|
lastError = error instanceof Error ? error : new Error(String(error));
|
|
112
|
+
if (options.signal?.aborted) throw createAbortError(options.signal);
|
|
112
113
|
if (isAbortError$1(error)) throw error;
|
|
113
114
|
if (error instanceof SesApiError && error.statusCode && error.statusCode >= 400 && error.statusCode < 500) throw error;
|
|
114
115
|
if (attempt === this.config.retries) {
|
package/dist/index.js
CHANGED
|
@@ -86,6 +86,7 @@ var SesHttpClient = class {
|
|
|
86
86
|
throw new SesApiError(errorData.message || `HTTP ${response.status}`, response.status, errorData.errors, parseRetryAfter(response.headers.get("Retry-After")), attempt + 1);
|
|
87
87
|
} catch (error) {
|
|
88
88
|
lastError = error instanceof Error ? error : new Error(String(error));
|
|
89
|
+
if (options.signal?.aborted) throw createAbortError(options.signal);
|
|
89
90
|
if (isAbortError$1(error)) throw error;
|
|
90
91
|
if (error instanceof SesApiError && error.statusCode && error.statusCode >= 400 && error.statusCode < 500) throw error;
|
|
91
92
|
if (attempt === this.config.retries) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@upyo/ses",
|
|
3
|
-
"version": "0.5.0-dev.
|
|
3
|
+
"version": "0.5.0-dev.188",
|
|
4
4
|
"description": "Amazon SES transport for Upyo email library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"email",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
},
|
|
56
56
|
"sideEffects": false,
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@upyo/core": "0.5.0-dev.
|
|
58
|
+
"@upyo/core": "0.5.0-dev.188+e2358766"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"tsdown": "^0.12.7",
|