@or-sdk/flows 0.24.7-368.0 → 0.25.1-385.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/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.25.0](https://gitlab.com/onereach/platform/or-sdk-next/compare/@or-sdk/flows@0.24.6...@or-sdk/flows@0.25.0) (2022-05-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * **flows:** Methods for listing and deleting unused step templates from flow source. ([c4919fc](https://gitlab.com/onereach/platform/or-sdk-next/commit/c4919fc1fedc343e86164e76556e72244510723d))
12
+
13
+
14
+
6
15
  ### [0.24.6](https://gitlab.com/onereach/platform/or-sdk-next/compare/@or-sdk/flows@0.24.5...@or-sdk/flows@0.24.6) (2022-05-24)
7
16
 
8
17
  **Note:** Version bump only for package @or-sdk/flows
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.24.7-368.0",
2
+ "version": "0.25.1-385.0",
3
3
  "name": "@or-sdk/flows",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
@@ -23,9 +23,9 @@
23
23
  "access": "public"
24
24
  },
25
25
  "dependencies": {
26
- "@or-sdk/base": "^0.23.1",
27
- "@or-sdk/data-hub": "^0.23.5",
28
- "@or-sdk/deployer": "^0.24.2",
29
- "@or-sdk/tags": "^0.23.5"
26
+ "@or-sdk/base": "^0.23.2-385.0",
27
+ "@or-sdk/data-hub": "^0.23.6-385.0",
28
+ "@or-sdk/deployer": "^0.24.3-385.0",
29
+ "@or-sdk/tags": "^0.23.6-385.0"
30
30
  }
31
31
  }
package/src/Flows.ts CHANGED
@@ -262,7 +262,7 @@ export class Flows implements Taggable<Flow> {
262
262
  /**
263
263
  * List unused step templates from flow source
264
264
  * ```typescript
265
- * const result = Flow.getUnusedStepTemplates(source);
265
+ * const result = Flows.getUnusedStepTemplates(source);
266
266
  * ```
267
267
  */
268
268
  public static listUnusedStepTemplates(source: Flow): StepTemplateRaw[] {
@@ -274,7 +274,7 @@ export class Flows implements Taggable<Flow> {
274
274
  *
275
275
  * Can delete specific templates passed as 2nd argument otherwise deletes all unused templates
276
276
  * ```typescript
277
- * const result = Flow.deleteUnusedStepTemplates(source, unusedTemplatesArr);
277
+ * const result = Flows.deleteUnusedStepTemplates(source, unusedTemplatesArr);
278
278
  * ```
279
279
  */
280
280
  public static deleteUnusedStepTemplates(source: Flow, stepTemplates: StepTemplateToDelete[] = []): Flow {