wingbot 3.39.0 → 3.39.1

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/index.js CHANGED
@@ -52,6 +52,8 @@ const {
52
52
  } = require('./src/tools');
53
53
  const flags = require('./src/flags');
54
54
 
55
+ const { version: wingbotVersion } = require('./package.json');
56
+
55
57
  module.exports = {
56
58
 
57
59
  // orchestrator
@@ -119,5 +121,7 @@ module.exports = {
119
121
  ConversationTester,
120
122
 
121
123
  // flags
122
- ...flags
124
+ ...flags,
125
+
126
+ wingbotVersion
123
127
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wingbot",
3
- "version": "3.39.0",
3
+ "version": "3.39.1",
4
4
  "description": "Enterprise Messaging Bot Conversation Engine",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,5 +1,4 @@
1
- const { StepState, StepType, getNextStep } = require('../../src/utils/slots');
2
- const { vars } = require('../../src/utils/stateVariables');
1
+ const { StepState, getNextStep } = require('../../src/utils/slots');
3
2
 
4
3
  /** @typedef {import('../../src/Router').Resolver} Resolver */
5
4
  /** @typedef {import('../../src/Responder')} Responder */
@@ -26,7 +26,7 @@ const vars = {
26
26
  *
27
27
  * @param {string} key
28
28
  * @param {*} value
29
- * @param {string} [path]
29
+ * @param {string|boolean} [path]
30
30
  * @returns {object}
31
31
  * @example
32
32
  * const { vars } = require('wingbot');