@digipair/skill-chatbot 0.5.2 → 0.5.3

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.cjs2.js CHANGED
@@ -41082,6 +41082,11 @@ Summarize the conversation history in a short, clear and concise text, taking in
41082
41082
  }
41083
41083
  // SCENES
41084
41084
  async boost(params, _pinsSettingsList, context) {
41085
+ if (context.request.method !== 'POST') {
41086
+ return {
41087
+ error: 'Method not allowed'
41088
+ };
41089
+ }
41085
41090
  const { execute } = params;
41086
41091
  const result = await engine.executePinsList(execute, context);
41087
41092
  return result;
package/index.esm2.js CHANGED
@@ -41080,6 +41080,11 @@ Summarize the conversation history in a short, clear and concise text, taking in
41080
41080
  }
41081
41081
  // SCENES
41082
41082
  async boost(params, _pinsSettingsList, context) {
41083
+ if (context.request.method !== 'POST') {
41084
+ return {
41085
+ error: 'Method not allowed'
41086
+ };
41087
+ }
41083
41088
  const { execute } = params;
41084
41089
  const result = await executePinsList(execute, context);
41085
41090
  return result;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-chatbot",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "dependencies": {},
5
5
  "typings": "./index.d.ts",
6
6
  "main": "./index.cjs.js",