@ferricstore/ferricstore 0.13.1 → 0.13.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/README.md CHANGED
@@ -34,7 +34,7 @@ covers every public adapter class and option.
34
34
 
35
35
  ## Compatibility
36
36
 
37
- TypeScript SDK `0.13.1` requires FerricStore server `0.11.4` or newer. With
37
+ TypeScript SDK `0.13.2` requires FerricStore server `0.11.4` or newer. With
38
38
  FerricStore 0.11.11 it negotiates compact Stream mode 34 for homogeneous auto-ID
39
39
  `XADD` pipelines and compact Pub/Sub mode 35 for homogeneous `PUBLISH`
40
40
  pipelines. Native wire protocol v1 and the generic fallback are unchanged.
@@ -414,6 +414,16 @@ still need the same stable provider idempotency key. The closure runs in the
414
414
  calling worker's JavaScript execution context; the SDK does not move it to a
415
415
  global thread pool.
416
416
 
417
+ A waiting workflow does not occupy a worker. Persist a timer, signal, approval,
418
+ or scheduled state and return the waiting transition so the current claim is
419
+ released. When the wait condition is satisfied, any available worker can acquire
420
+ a fresh lease and continue from the stored state. If no worker is
421
+ running, the workflow remains durable until one becomes available.
422
+
423
+ `stepContinue()` remains available only as a deprecated low-level migration API.
424
+ Use `advance(job, { toState })` for a state-only transition and
425
+ `step(job, { name, run, toState })` when the closure result must be journaled.
426
+
417
427
  `nowMs` is an explicit client timestamp sent with a command. When omitted, the
418
428
  SDK samples the client wall clock separately for each request. It is intended
419
429
  mainly for deterministic tests and is not a server-response timestamp or a
package/dist/index.cjs CHANGED
@@ -21982,7 +21982,7 @@ function throwError(value) {
21982
21982
  }
21983
21983
 
21984
21984
  // src/version.ts
21985
- var FERRICSTORE_SDK_VERSION = "0.13.1";
21985
+ var FERRICSTORE_SDK_VERSION = "0.13.2";
21986
21986
  var FERRICSTORE_MINIMUM_SERVER_VERSION = "0.11.4";
21987
21987
  var FERRICSTORE_NATIVE_PROTOCOL_VERSION = 1;
21988
21988
  // Annotate the CommonJS export names for ESM import in node: