@dudousxd/nestjs-durable 0.34.2 → 0.36.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/index.js CHANGED
@@ -1949,7 +1949,11 @@ var DurableModule = class _DurableModule {
1949
1949
  },
1950
1950
  {
1951
1951
  provide: TRANSPORT_CANONICAL3,
1952
- useFactory: /* @__PURE__ */ __name((options) => options.transport ?? null, "useFactory"),
1952
+ // With a POOL (`transports`) and no singular `transport`, the canonical transport is the
1953
+ // pool's PRIMARY — the same one the engine dispatches on first. Leaving it null starved
1954
+ // the step registrar / in-app worker of a transport, so a pool-configured operator
1955
+ // registered NO step handlers and its own steps parked in `wait` with no consumer.
1956
+ useFactory: /* @__PURE__ */ __name((options) => options.transport ?? options.transports?.[0]?.transport ?? null, "useFactory"),
1953
1957
  inject: [
1954
1958
  DURABLE_OPTIONS_CANONICAL7
1955
1959
  ]