@medusajs/workflows-sdk 0.1.0 → 0.1.1-next-20231213101658

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.
@@ -7,7 +7,6 @@ import { WorkflowData } from "./type";
7
7
  * @returns The step results. The results are ordered in the array by the order they're passed in the function's parameter.
8
8
  *
9
9
  * @example
10
- * ```ts
11
10
  * import {
12
11
  * createWorkflow,
13
12
  * parallelize
@@ -10,7 +10,6 @@ const helpers_1 = require("./helpers");
10
10
  * @returns The step results. The results are ordered in the array by the order they're passed in the function's parameter.
11
11
  *
12
12
  * @example
13
- * ```ts
14
13
  * import {
15
14
  * createWorkflow,
16
15
  * parallelize
@@ -1 +1 @@
1
- {"version":3,"file":"parallelize.js","sourceRoot":"","sources":["../../../src/utils/composer/parallelize.ts"],"names":[],"mappings":";;;AACA,uCAA+D;AAE/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,WAAW,CACzB,GAAG,KAAc;IAEjB,IAAI,CAAC,MAAM,CAAC,6CAAmC,CAAC,EAAE;QAChD,MAAM,IAAI,KAAK,CACb,6DAA6D,CAC9D,CAAA;KACF;IAED,MAAM,iBAAiB,GACrB,MAAM,CAAC,6CAAmC,CAC3C,CAAC,iBAAiB,CAAA;IAEnB,MAAM,WAAW,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,CAAA;IAE7C,OAAO,iBAAiB,CAAU;QAGhC,MAAM,aAAa,GAAG,KAAK,CAAC,KAAK,EAAG,CAAA;QACpC,IAAI,CAAC,IAAI,CAAC,YAAY,CACpB,aAAa,CAAC,QAAQ,EACtB,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CACtC,CAAA;QAED,OAAO,WAAiC,CAAA;IAC1C,CAAC,CAAC,CAAA;AACJ,CAAC;AA1BD,kCA0BC"}
1
+ {"version":3,"file":"parallelize.js","sourceRoot":"","sources":["../../../src/utils/composer/parallelize.ts"],"names":[],"mappings":";;;AACA,uCAA+D;AAE/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,WAAW,CACzB,GAAG,KAAc;IAEjB,IAAI,CAAC,MAAM,CAAC,6CAAmC,CAAC,EAAE;QAChD,MAAM,IAAI,KAAK,CACb,6DAA6D,CAC9D,CAAA;KACF;IAED,MAAM,iBAAiB,GACrB,MAAM,CAAC,6CAAmC,CAC3C,CAAC,iBAAiB,CAAA;IAEnB,MAAM,WAAW,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,CAAA;IAE7C,OAAO,iBAAiB,CAAU;QAGhC,MAAM,aAAa,GAAG,KAAK,CAAC,KAAK,EAAG,CAAA;QACpC,IAAI,CAAC,IAAI,CAAC,YAAY,CACpB,aAAa,CAAC,QAAQ,EACtB,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CACtC,CAAA;QAED,OAAO,WAAiC,CAAA;IAC1C,CAAC,CAAC,CAAA;AACJ,CAAC;AA1BD,kCA0BC"}
@@ -57,7 +57,7 @@ export interface StepExecutionContext {
57
57
  */
58
58
  metadata: TransactionPayload["metadata"];
59
59
  /**
60
- * {@inheritDoc Context}
60
+ * {@inheritDoc types!Context}
61
61
  */
62
62
  context: Context;
63
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/workflows-sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1-next-20231213101658",
4
4
  "description": "Set of workflows tooling for Medusa",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -9,6 +9,9 @@
9
9
  "url": "https://github.com/medusajs/medusa",
10
10
  "directory": "packages/workflows"
11
11
  },
12
+ "engines": {
13
+ "node": ">=16"
14
+ },
12
15
  "publishConfig": {
13
16
  "access": "public"
14
17
  },
@@ -18,7 +21,7 @@
18
21
  "author": "Medusa",
19
22
  "license": "MIT",
20
23
  "devDependencies": {
21
- "@medusajs/types": "^1.11.8",
24
+ "@medusajs/types": "1.11.9-next-20231213101658",
22
25
  "cross-env": "^5.2.1",
23
26
  "jest": "^29.6.3",
24
27
  "rimraf": "^5.0.1",
@@ -26,9 +29,9 @@
26
29
  "typescript": "^5.1.6"
27
30
  },
28
31
  "dependencies": {
29
- "@medusajs/modules-sdk": "^1.12.4",
30
- "@medusajs/orchestration": "^0.5.0",
31
- "@medusajs/utils": "^1.11.1",
32
+ "@medusajs/modules-sdk": "1.12.5-next-20231213101658",
33
+ "@medusajs/orchestration": "0.5.1-next-20231213101658",
34
+ "@medusajs/utils": "1.11.2-next-20231213101658",
32
35
  "awilix": "^8.0.1",
33
36
  "ulid": "^2.3.0"
34
37
  },