@moostjs/event-wf 0.3.16 → 0.3.18

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 CHANGED
@@ -135,6 +135,10 @@ Object.defineProperty(exports, "useWFContext", {
135
135
  enumerable: true,
136
136
  get: function () { return eventWf.useWFContext; }
137
137
  });
138
+ Object.defineProperty(exports, "useWfState", {
139
+ enumerable: true,
140
+ get: function () { return eventWf.useWfState; }
141
+ });
138
142
  Object.defineProperty(exports, "StepRetriableError", {
139
143
  enumerable: true,
140
144
  get: function () { return wf.StepRetriableError; }
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { TMoostAdapter, Moost, TMoostAdapterOptions } from 'moost';
2
2
  import { WooksWf, TWooksWfOptions } from '@wooksjs/event-wf';
3
- export { useWFContext } from '@wooksjs/event-wf';
3
+ export { useWFContext, useWfState } from '@wooksjs/event-wf';
4
4
  import { TWorkflowSpy, TFlowOutput, TWorkflowSchema } from '@prostojs/wf';
5
5
  export { StepRetriableError, TFlowOutput, TWorkflowSchema } from '@prostojs/wf';
6
6
 
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { getMoostMate, getMoostInfact, defineMoostEventHandler, Resolve } from 'moost';
2
2
  import { WooksWf, createWfApp, useWfState } from '@wooksjs/event-wf';
3
- export { useWFContext } from '@wooksjs/event-wf';
3
+ export { useWFContext, useWfState } from '@wooksjs/event-wf';
4
4
  import { useEventId } from '@wooksjs/event-core';
5
5
  export { StepRetriableError } from '@prostojs/wf';
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moostjs/event-wf",
3
- "version": "0.3.16",
3
+ "version": "0.3.18",
4
4
  "description": "@moostjs/event-wf",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -37,10 +37,10 @@
37
37
  },
38
38
  "peerDependencies": {},
39
39
  "dependencies": {
40
- "moost": "0.3.16",
41
- "wooks": "^0.4.20",
42
- "@wooksjs/event-core": "^0.4.20",
43
- "@wooksjs/event-wf": "^0.4.20",
40
+ "moost": "0.3.18",
41
+ "wooks": "^0.4.21",
42
+ "@wooksjs/event-core": "^0.4.21",
43
+ "@wooksjs/event-wf": "^0.4.21",
44
44
  "@prostojs/infact": "^0.1.13",
45
45
  "@prostojs/mate": "^0.2.1",
46
46
  "@prostojs/wf": "^0.0.14"