asherah 4.0.32 → 4.0.34

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 +8 -0
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -156,11 +156,19 @@ is auto-mapped for backward compatibility with the canonical Go-based package).
156
156
  | `enableCanaries` | `boolean` | | Enable canary key verification |
157
157
  | `disableZeroCopy` | `boolean` | | Disable zero-copy optimizations |
158
158
  | `nullDataCheck` | `boolean` | | Verify data is not null before decrypt |
159
+ | `poolMaxOpen` | `number` | `0` | Max open DB connections (0 = unlimited) |
160
+ | `poolMaxIdle` | `number` | `2` | Max idle connections to retain |
161
+ | `poolMaxLifetime` | `number` | `0` | Max connection lifetime in seconds (0 = unlimited) |
162
+ | `poolMaxIdleTime` | `number` | `0` | Max idle time per connection in seconds (0 = unlimited) |
159
163
 
160
164
  ### Environment Variables
161
165
 
162
166
  - `STATIC_MASTER_KEY_HEX` -- 64 hex chars (32 bytes) for static KMS. **Testing only.**
163
167
  - `ASHERAH_NODE_DEBUG=1` -- Enable native debug logging.
168
+ - `ASHERAH_POOL_MAX_OPEN` -- Max open DB connections (overrides config).
169
+ - `ASHERAH_POOL_MAX_IDLE` -- Max idle connections (overrides config).
170
+ - `ASHERAH_POOL_MAX_LIFETIME` -- Max connection lifetime in seconds (overrides config).
171
+ - `ASHERAH_POOL_MAX_IDLE_TIME` -- Max idle time per connection in seconds (overrides config).
164
172
 
165
173
  ## Performance
166
174
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asherah",
3
- "version": "4.0.32",
3
+ "version": "4.0.34",
4
4
  "private": false,
5
5
  "description": "Asherah application-layer encryption for Node.js with automatic key rotation, powered by the native Rust implementation.",
6
6
  "author": "Jay Gowdy",
@@ -70,13 +70,13 @@
70
70
  "node": ">= 18"
71
71
  },
72
72
  "optionalDependencies": {
73
- "asherah-darwin-arm64": "4.0.32",
74
- "asherah-darwin-x64": "4.0.32",
75
- "asherah-linux-x64-gnu": "4.0.32",
76
- "asherah-linux-arm64-gnu": "4.0.32",
77
- "asherah-linux-x64-musl": "4.0.32",
78
- "asherah-linux-arm64-musl": "4.0.32",
79
- "asherah-windows-x64": "4.0.32",
80
- "asherah-windows-arm64": "4.0.32"
73
+ "asherah-darwin-arm64": "4.0.34",
74
+ "asherah-darwin-x64": "4.0.34",
75
+ "asherah-linux-x64-gnu": "4.0.34",
76
+ "asherah-linux-arm64-gnu": "4.0.34",
77
+ "asherah-linux-x64-musl": "4.0.34",
78
+ "asherah-linux-arm64-musl": "4.0.34",
79
+ "asherah-windows-x64": "4.0.34",
80
+ "asherah-windows-arm64": "4.0.34"
81
81
  }
82
82
  }