@upyo/pool 0.5.0-dev.172 → 0.5.0-dev.176

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 CHANGED
@@ -341,10 +341,7 @@ var PoolTransport = class {
341
341
  try {
342
342
  receipt = await selection.entry.transport.send(message, sendOptions.options);
343
343
  } catch (error) {
344
- if (sendOptions.abortedByCaller() && isCallerAbort(error, options?.signal)) {
345
- abortedByCaller = true;
346
- throw error;
347
- }
344
+ if (sendOptions.abortedByCaller() && isCallerAbort(error, options?.signal)) abortedByCaller = true;
348
345
  throw error;
349
346
  } finally {
350
347
  sendOptions.cleanup();
package/dist/index.js CHANGED
@@ -318,10 +318,7 @@ var PoolTransport = class {
318
318
  try {
319
319
  receipt = await selection.entry.transport.send(message, sendOptions.options);
320
320
  } catch (error) {
321
- if (sendOptions.abortedByCaller() && isCallerAbort(error, options?.signal)) {
322
- abortedByCaller = true;
323
- throw error;
324
- }
321
+ if (sendOptions.abortedByCaller() && isCallerAbort(error, options?.signal)) abortedByCaller = true;
325
322
  throw error;
326
323
  } finally {
327
324
  sendOptions.cleanup();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@upyo/pool",
3
- "version": "0.5.0-dev.172",
3
+ "version": "0.5.0-dev.176",
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.172+1b1248e1"
59
+ "@upyo/core": "0.5.0-dev.176+236d56c6"
60
60
  },
61
61
  "devDependencies": {
62
62
  "tsdown": "^0.12.7",
63
63
  "typescript": "5.8.3",
64
- "@upyo/mock": "0.5.0-dev.172+1b1248e1"
64
+ "@upyo/mock": "0.5.0-dev.176+236d56c6"
65
65
  },
66
66
  "scripts": {
67
67
  "prepublish": "mise run --no-deps :build"