@xapp/stentor-lex-v2 1.45.40 → 1.45.42

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/lib/Guards.js CHANGED
@@ -14,8 +14,7 @@ function isLexV2Request(requestBody) {
14
14
  return requestBody !== undefined
15
15
  && requestBody.bot !== undefined
16
16
  && requestBody.bot.aliasId !== undefined // V2: alias id
17
- && requestBody.invocationSource !== undefined
18
- && requestBody.invocationSource === "FulfillmentCodeHook";
17
+ && requestBody.invocationSource !== undefined;
19
18
  }
20
19
  exports.isLexV2Request = isLexV2Request;
21
20
  //# sourceMappingURL=Guards.js.map
package/lib/Guards.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"Guards.js","sourceRoot":"","sources":["../src/Guards.ts"],"names":[],"mappings":";AAAA,oCAAoC;;;AAIpC;;;;;;GAMG;AACH,2BAA2B;AAC3B,SAAgB,cAAc,CAAC,WAAgB;IAC3C,OAAO,WAAW,KAAK,SAAS;WACzB,WAAW,CAAC,GAAG,KAAK,SAAS;WAC7B,WAAW,CAAC,GAAG,CAAC,OAAO,KAAK,SAAS,CAAC,eAAe;WACrD,WAAW,CAAC,gBAAgB,KAAK,SAAS;WAC1C,WAAW,CAAC,gBAAgB,KAAK,qBAAqB,CAAC;AAClE,CAAC;AAND,wCAMC"}
1
+ {"version":3,"file":"Guards.js","sourceRoot":"","sources":["../src/Guards.ts"],"names":[],"mappings":";AAAA,oCAAoC;;;AAIpC;;;;;;GAMG;AACH,2BAA2B;AAC3B,SAAgB,cAAc,CAAC,WAAgB;IAC3C,OAAO,WAAW,KAAK,SAAS;WACzB,WAAW,CAAC,GAAG,KAAK,SAAS;WAC7B,WAAW,CAAC,GAAG,CAAC,OAAO,KAAK,SAAS,CAAC,eAAe;WACrD,WAAW,CAAC,gBAAgB,KAAK,SAAS,CAAC;AACtD,CAAC;AALD,wCAKC"}
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.45.40",
7
+ "version": "1.45.42",
8
8
  "description": "Stentor Lex V2 channel for stentor",
9
9
  "types": "lib/index",
10
10
  "main": "lib/index",
@@ -35,8 +35,8 @@
35
35
  "dependencies": {
36
36
  "@xapp/patterns": "2.0.1",
37
37
  "@xapp/stentor-alexa-lib": "1.45.39",
38
- "@xapp/stentor-lex-lib": "1.45.39",
39
- "@xapp/stentor-service-lex": "1.45.40",
38
+ "@xapp/stentor-lex-lib": "1.45.41",
39
+ "@xapp/stentor-service-lex": "1.45.42",
40
40
  "actions-on-google": "2.14.0"
41
41
  },
42
42
  "peerDependencies": {
@@ -54,5 +54,5 @@
54
54
  "clean": "rm -rf ./lib/*",
55
55
  "test": "mocha --recursive -r ts-node/register \"./src/**/*.test.ts\""
56
56
  },
57
- "gitHead": "0d713f9f82b9706214c459ba270fe8aeef340d58"
57
+ "gitHead": "7a39ad62875941802d64584fd776e63035ba7020"
58
58
  }