@upyo/mailgun 0.5.0-dev.174 → 0.5.0-dev.178
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
|
@@ -122,6 +122,7 @@ var MailgunHttpClient = class {
|
|
|
122
122
|
}
|
|
123
123
|
} catch (error) {
|
|
124
124
|
lastError = error instanceof Error ? error : new Error(String(error));
|
|
125
|
+
if (options.signal?.aborted) throw createAbortError(options.signal);
|
|
125
126
|
if (isAbortError$1(error)) throw error;
|
|
126
127
|
if (error instanceof MailgunApiError && error.statusCode && error.statusCode >= 400 && error.statusCode < 500) throw error;
|
|
127
128
|
if (attempt === this.config.retries) {
|
package/dist/index.js
CHANGED
|
@@ -99,6 +99,7 @@ var MailgunHttpClient = class {
|
|
|
99
99
|
}
|
|
100
100
|
} catch (error) {
|
|
101
101
|
lastError = error instanceof Error ? error : new Error(String(error));
|
|
102
|
+
if (options.signal?.aborted) throw createAbortError(options.signal);
|
|
102
103
|
if (isAbortError$1(error)) throw error;
|
|
103
104
|
if (error instanceof MailgunApiError && error.statusCode && error.statusCode >= 400 && error.statusCode < 500) throw error;
|
|
104
105
|
if (attempt === this.config.retries) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@upyo/mailgun",
|
|
3
|
-
"version": "0.5.0-dev.
|
|
3
|
+
"version": "0.5.0-dev.178",
|
|
4
4
|
"description": "Mailgun transport for Upyo email library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"email",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"sideEffects": false,
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@upyo/core": "0.5.0-dev.
|
|
56
|
+
"@upyo/core": "0.5.0-dev.178+9cbf1b9b"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"tsdown": "^0.12.7",
|