stentor-channel 1.52.21 → 1.52.24

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.
@@ -9,7 +9,7 @@ class TranslateStentorResponse extends patterns_1.Translator {
9
9
  const { request, response } = requestResponse;
10
10
  const channel = request.channel;
11
11
  // Ensure we are passing out the right markdown in the displayText!
12
- if (channel && channel.toLowerCase() === "widget") {
12
+ if (channel && channel.toLowerCase() === "widget" || channel.toLowerCase() === "intelligent-search") {
13
13
  response.outputSpeech = (0, stentor_utils_1.toResponseOutput)(response.outputSpeech);
14
14
  if (response.outputSpeech.displayText) {
15
15
  response.outputSpeech.html = (0, stentor_utils_1.toHTML)(response.outputSpeech.displayText);
@@ -1 +1 @@
1
- {"version":3,"file":"TranslateToStentorResponse.js","sourceRoot":"","sources":["../../src/Translators/TranslateToStentorResponse.ts"],"names":[],"mappings":";;;AAAA,oCAAoC;AACpC,6CAA4C;AAE5C,iDAAyD;AAEzD,MAAa,wBAAyB,SAAQ,qBAAqC;IACxE,SAAS,CAAC,eAAgC;QAE7C,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,eAAe,CAAC;QAE9C,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;QAEhC,mEAAmE;QACnE,IAAI,OAAO,IAAI,OAAO,CAAC,WAAW,EAAE,KAAK,QAAQ,EAAE;YAC/C,QAAQ,CAAC,YAAY,GAAG,IAAA,gCAAgB,EAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;YAChE,IAAI,QAAQ,CAAC,YAAY,CAAC,WAAW,EAAE;gBACnC,QAAQ,CAAC,YAAY,CAAC,IAAI,GAAG,IAAA,sBAAM,EAAC,QAAQ,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC;aAC1E;YACD,IAAI,QAAQ,CAAC,QAAQ,EAAE;gBACnB,QAAQ,CAAC,QAAQ,GAAG,IAAA,gCAAgB,EAAC,QAAQ,CAAC,QAAQ,CAAC,CAA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ACJ;QAED,OAAO,QAAQ,CAAC;IACpB,CAAC;CACJ;AAvBD,4DAuBC"}
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.52.21",
7
+ "version": "1.52.24",
8
8
  "description": "The most basic of channels, one that uses stentor requests & responses as input.",
9
9
  "types": "lib/index",
10
10
  "main": "lib/index",
@@ -23,13 +23,13 @@
23
23
  "mocha": "9.2.1",
24
24
  "sinon": "13.0.1",
25
25
  "sinon-chai": "3.7.0",
26
- "stentor-models": "1.52.19",
26
+ "stentor-models": "1.52.22",
27
27
  "ts-node": "10.5.0",
28
28
  "typescript": "4.5.5"
29
29
  },
30
30
  "dependencies": {
31
31
  "@xapp/patterns": "1.40.34",
32
- "stentor-utils": "1.52.21"
32
+ "stentor-utils": "1.52.24"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "stentor-models": "1.x"
@@ -39,5 +39,5 @@
39
39
  "clean": "rm -rf ./lib/*",
40
40
  "test": "mocha --recursive -r ts-node/register \"./src/**/*.test.ts\""
41
41
  },
42
- "gitHead": "36a20404eaaa838c56ceebb21609bfc75bdf631b"
42
+ "gitHead": "3eb352a1a781e79786b24f82c37141dd9b623088"
43
43
  }