@voyantjs/core 0.8.0 → 0.10.0

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/events.d.ts CHANGED
@@ -57,8 +57,8 @@ export interface Subscription {
57
57
  *
58
58
  * Adapter examples:
59
59
  * - In-process (default, ships with core)
60
- * - Hatchet — emit enqueues a durable task
61
60
  * - Cloudflare Queues — edge-native
61
+ * - Postgres-backed durable queue — for refund-saga-grade durability
62
62
  *
63
63
  * Event naming convention: `<resource>.<pastTenseAction>` in dot-case.
64
64
  * Examples: `booking.created`, `quote.accepted`, `payment.received`.
@@ -15,14 +15,10 @@ export interface JobOptions {
15
15
  * Abstract durable job runner interface. Implementations live in templates
16
16
  * or adapter packages; core never reaches for a specific runtime.
17
17
  *
18
- * Voyant uses Hatchet (`@hatchet-dev/typescript-sdk`) as the durable job
19
- * engine. This interface remains for the in-process `createWorkflow` async
20
- * step delegation a Hatchet adapter can bridge enqueue/schedule calls to
21
- * the Hatchet API.
22
- *
23
- * Templates wire their chosen adapter into the shared app/runtime container as
24
- * `"jobs"`. Framework code that needs to kick off async work does so via
25
- * explicit runtime resolution such as
18
+ * Voyant Cloud chooses an edge or node runner per workflow step at deploy
19
+ * time. Templates wire their chosen adapter into the shared app/runtime
20
+ * container as `"jobs"`. Framework code that needs to kick off async work
21
+ * does so via explicit runtime resolution such as
26
22
  * `container.resolve<JobRunner>("jobs").enqueue(...)`.
27
23
  */
28
24
  export interface JobRunner {
@@ -1 +1 @@
1
- {"version":3,"file":"orchestration.d.ts","sourceRoot":"","sources":["../src/orchestration.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,2CAA2C;IAC3C,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACxC;AAED;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,SAAS;IACxB,6EAA6E;IAC7E,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAEjF,mDAAmD;IACnD,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACzE"}
1
+ {"version":3,"file":"orchestration.d.ts","sourceRoot":"","sources":["../src/orchestration.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,2CAA2C;IAC3C,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACxC;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,SAAS;IACxB,6EAA6E;IAC7E,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAEjF,mDAAmD;IACnD,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACzE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/core",
3
- "version": "0.8.0",
3
+ "version": "0.10.0",
4
4
  "license": "FSL-1.1-Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {