@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.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -2017,7 +2017,11 @@ var DurableModule = class _DurableModule {
|
|
|
2017
2017
|
},
|
|
2018
2018
|
{
|
|
2019
2019
|
provide: import_nestjs_durable_core13.TRANSPORT_CANONICAL,
|
|
2020
|
-
|
|
2020
|
+
// With a POOL (`transports`) and no singular `transport`, the canonical transport is the
|
|
2021
|
+
// pool's PRIMARY — the same one the engine dispatches on first. Leaving it null starved
|
|
2022
|
+
// the step registrar / in-app worker of a transport, so a pool-configured operator
|
|
2023
|
+
// registered NO step handlers and its own steps parked in `wait` with no consumer.
|
|
2024
|
+
useFactory: /* @__PURE__ */ __name((options) => options.transport ?? options.transports?.[0]?.transport ?? null, "useFactory"),
|
|
2021
2025
|
inject: [
|
|
2022
2026
|
import_nestjs_durable_core13.DURABLE_OPTIONS_CANONICAL
|
|
2023
2027
|
]
|