@or-sdk/deployer 1.1.0-beta.1156.0 → 1.1.0-beta.1166.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Deployer.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@or-sdk/deployer",
3
- "version": "1.1.0-beta.1156.0",
3
+ "version": "1.1.0-beta.1166.0",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
package/src/Deployer.ts CHANGED
@@ -81,7 +81,7 @@ export class Deployer extends Base {
81
81
  * Starts activation and polls progress. `progressCallback` is called on every polling
82
82
  * while the activation is in 'pending' status.
83
83
  * ```typescript
84
- * const triggerList = await flows.activateFlow(flowSource, false, fnShowProgress);
84
+ * const triggerList = await deployer.activateFlow(flowSource, false, fnShowProgress);
85
85
  * ```
86
86
  * @param flowSource Flow data object. SDK uses `id` and `data.deploy.role` properties from it.
87
87
  * @param interactiveDebug Flag to turn the debug mode on/off. `false` by default.
@@ -141,7 +141,7 @@ export class Deployer extends Base {
141
141
  * Starts deactivation and polls progress. `progressCallback` is called on every polling
142
142
  * while the deactivation is in 'pending' status.
143
143
  * ```typescript
144
- * const deactivatedFlowList = await flows.deactivateFlow(flowSource, 'flowAlias', false, fnShowProgress);
144
+ * const deactivatedFlowList = await deployer.deactivateFlow(flowSource, 'flowAlias', false, fnShowProgress);
145
145
  * ```
146
146
  * @param flowSource Flow data object. SDK uses `id` and `data.deploy.role` properties from it.
147
147
  * @param flowAlias Alias of the deployment to be deactivated.