arcane-os 0.15.1 → 0.15.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.15.2
4
+
5
+ - Rename the private mail configuration helper to `optionalTimeoutMs` so its
6
+ name describes the optional timeout duration it validates. Preserve accepted
7
+ values, defaults, and request lifecycle behavior.
8
+
3
9
  ## 0.15.1
4
10
 
5
11
  - Use the published `node-http-server` public lifecycle for the mail gateway.
package/README.md CHANGED
@@ -19,7 +19,7 @@ version-locked SDK runtime, while an integrated Arcane checkout uses its live
19
19
  `arcane/` runtime. Both profiles preserve the same app URLs, theme, packaging,
20
20
  event, cancellation, and browser run contracts.
21
21
 
22
- This checkout defines the `0.15.1` SDK contract. Applications pin one exact npm
22
+ This checkout defines the `0.15.2` SDK contract. Applications pin one exact npm
23
23
  version and lockfile; registry state is deliberately not baked into application
24
24
  artifacts.
25
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arcane-os",
3
- "version": "0.15.1",
3
+ "version": "0.15.2",
4
4
  "description": "Arcane OS JavaScript SDK, project-local CLI, browser runtime, and repository-portable application packager.",
5
5
  "type": "module",
6
6
  "main": "./src/index.mjs",
@@ -65,7 +65,7 @@ function positiveInteger(value,fallback,{label,allowZero=false}={}){
65
65
  return resolved;
66
66
  }
67
67
 
68
- function optionalTimerDelay(value,label){
68
+ function optionalTimeoutMs(value,label){
69
69
  if(value===undefined||value===null) return null;
70
70
  if(!is.safeInteger(value)||value<1||value>MAX_NODE_TIMER_DELAY_MS){
71
71
  throw configurationError(
@@ -258,7 +258,7 @@ function normalizeConfiguration(options={}){
258
258
  apiKey:validateApiKey(options.apiKey),
259
259
  appKeyDigest:callerAuthentication.appKeyDigest,
260
260
  appId:validateAppId(options.appId),
261
- bodyTimeoutMs:optionalTimerDelay(options.bodyTimeoutMs,'bodyTimeoutMs'),
261
+ bodyTimeoutMs:optionalTimeoutMs(options.bodyTimeoutMs,'bodyTimeoutMs'),
262
262
  errorRecipients,
263
263
  fetchImpl,
264
264
  from:validateFrom(options.from),
@@ -266,7 +266,7 @@ function normalizeConfiguration(options={}){
266
266
  callerAuthentication:callerAuthentication.callerAuthentication,
267
267
  onEvent:options.onEvent,
268
268
  port:portNumber(options.port,8025),
269
- providerTimeoutMs:optionalTimerDelay(options.providerTimeoutMs,'providerTimeoutMs'),
269
+ providerTimeoutMs:optionalTimeoutMs(options.providerTimeoutMs,'providerTimeoutMs'),
270
270
  requestIdFactory:options.requestIdFactory??randomUUID,
271
271
  retryableDelayMs:positiveInteger(
272
272
  options.retryableDelayMs,
@@ -978,7 +978,7 @@ function normalizeDirectSendOptions(options){
978
978
  errorRecipients:[],
979
979
  fetchImpl,
980
980
  from:validateFrom(options.from),
981
- providerTimeoutMs:optionalTimerDelay(options.providerTimeoutMs,'providerTimeoutMs'),
981
+ providerTimeoutMs:optionalTimeoutMs(options.providerTimeoutMs,'providerTimeoutMs'),
982
982
  requestIdFactory:options.requestIdFactory??randomUUID,
983
983
  retryableDelayMs:positiveInteger(
984
984
  options.retryableDelayMs,