@upyo/pool 0.4.0 → 0.5.0-dev.81

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.
Files changed (2) hide show
  1. package/README.md +10 -10
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -9,10 +9,10 @@
9
9
  Pool transport for the [Upyo] email library with load balancing and failover
10
10
  strategies for combining multiple email providers.
11
11
 
12
- [JSR]: https://jsr.io/@upyo/pool
13
12
  [JSR badge]: https://jsr.io/badges/@upyo/pool
14
- [npm]: https://www.npmjs.com/package/@upyo/pool
13
+ [JSR]: https://jsr.io/@upyo/pool
15
14
  [npm badge]: https://img.shields.io/npm/v/@upyo/pool?logo=npm
15
+ [npm]: https://www.npmjs.com/package/@upyo/pool
16
16
  [Upyo]: https://upyo.org/
17
17
 
18
18
 
@@ -219,18 +219,18 @@ Configuration
219
219
 
220
220
  ### `PoolConfig`
221
221
 
222
- | Property | Type | Required | Default | Description |
223
- |---------------------|-------------------------------------------------------------------------|----------|----------------------|-------------------------------------------------------------------|
224
- | `strategy` | `"round-robin" | "weighted" | "priority" | "selector-based" | Strategy` | Yes | | The strategy for selecting transports |
225
- | `transports` | `TransportEntry[]` | Yes | | Array of transport configurations |
226
- | `maxRetries` | `number` | No | Number of transports | Maximum retry attempts on failure |
227
- | `timeout` | `number` | No | | Timeout in milliseconds for each send attempt |
228
- | `continueOnSuccess` | `boolean` | No | `false` | Continue trying transports after success (selector strategy only) |
222
+ | Property | Type | Required | Default | Description |
223
+ | ------------------- | --------------------------------------------------------------------------- | -------- | -------------------- | ----------------------------------------------------------------- |
224
+ | `strategy` | `"round-robin" \| "weighted" \| "priority" \| "selector-based" \| Strategy` | Yes | | The strategy for selecting transports |
225
+ | `transports` | `TransportEntry[]` | Yes | | Array of transport configurations |
226
+ | `maxRetries` | `number` | No | Number of transports | Maximum retry attempts on failure |
227
+ | `timeout` | `number` | No | | Timeout in milliseconds for each send attempt |
228
+ | `continueOnSuccess` | `boolean` | No | `false` | Continue trying transports after success (selector strategy only) |
229
229
 
230
230
  ### `TransportEntry`
231
231
 
232
232
  | Property | Type | Required | Default | Description |
233
- |-------------|---------------------------------|----------|---------|-----------------------------------------------------|
233
+ | ----------- | ------------------------------- | -------- | ------- | --------------------------------------------------- |
234
234
  | `transport` | `Transport` | Yes | | The transport instance |
235
235
  | `weight` | `number` | No | `1` | Weight for weighted distribution |
236
236
  | `priority` | `number` | No | `0` | Priority for priority strategy (higher = preferred) |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@upyo/pool",
3
- "version": "0.4.0",
3
+ "version": "0.5.0-dev.81+b3482a5e",
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,13 +56,13 @@
56
56
  },
57
57
  "sideEffects": false,
58
58
  "peerDependencies": {
59
- "@upyo/core": "0.4.0"
59
+ "@upyo/core": "0.5.0-dev.81+b3482a5e"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@dotenvx/dotenvx": "^1.47.3",
63
63
  "tsdown": "^0.12.7",
64
64
  "typescript": "5.8.3",
65
- "@upyo/mock": "0.4.0"
65
+ "@upyo/mock": "0.5.0-dev.81+b3482a5e"
66
66
  },
67
67
  "scripts": {
68
68
  "build": "tsdown",