@upyo/pool 0.5.0-dev.176 → 0.5.0-dev.180
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 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -478,7 +478,7 @@ function createAbortError() {
|
|
|
478
478
|
return new DOMException("The operation was aborted.", "AbortError");
|
|
479
479
|
}
|
|
480
480
|
function isCallerAbort(error, signal) {
|
|
481
|
-
return isAbortError(error) || error === signal
|
|
481
|
+
return signal?.aborted === true && (isAbortError(error) || error === signal.reason);
|
|
482
482
|
}
|
|
483
483
|
function getReceiptErrors(receipt, provider) {
|
|
484
484
|
if (receipt.errors != null && receipt.errors.length > 0) return receipt.errors.map((error) => withReceiptErrorProvider(error, provider));
|
package/dist/index.js
CHANGED
|
@@ -455,7 +455,7 @@ function createAbortError() {
|
|
|
455
455
|
return new DOMException("The operation was aborted.", "AbortError");
|
|
456
456
|
}
|
|
457
457
|
function isCallerAbort(error, signal) {
|
|
458
|
-
return isAbortError(error) || error === signal
|
|
458
|
+
return signal?.aborted === true && (isAbortError(error) || error === signal.reason);
|
|
459
459
|
}
|
|
460
460
|
function getReceiptErrors(receipt, provider) {
|
|
461
461
|
if (receipt.errors != null && receipt.errors.length > 0) return receipt.errors.map((error) => withReceiptErrorProvider(error, provider));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@upyo/pool",
|
|
3
|
-
"version": "0.5.0-dev.
|
|
3
|
+
"version": "0.5.0-dev.180",
|
|
4
4
|
"description": "Pool transport for Upyo email library—provides load balancing and failover for multiple email providers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"email",
|
|
@@ -56,12 +56,12 @@
|
|
|
56
56
|
},
|
|
57
57
|
"sideEffects": false,
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@upyo/core": "0.5.0-dev.
|
|
59
|
+
"@upyo/core": "0.5.0-dev.180+2fc1d1c0"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"tsdown": "^0.12.7",
|
|
63
63
|
"typescript": "5.8.3",
|
|
64
|
-
"@upyo/mock": "0.5.0-dev.
|
|
64
|
+
"@upyo/mock": "0.5.0-dev.180+2fc1d1c0"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"prepublish": "mise run --no-deps :build"
|