@digipair/skill-chatbot 0.1.16 → 0.1.17

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
@@ -41096,7 +41096,7 @@ Résumer dans un texte court, précis et concis l'historique de la conversation
41096
41096
  });
41097
41097
  return {
41098
41098
  assistant,
41099
- command: await preparePinsSettings(command, context),
41099
+ command: await Promise.all(command.map((settings)=>preparePinsSettings(settings, context))),
41100
41100
  sources,
41101
41101
  logs
41102
41102
  };
package/index.esm2.js CHANGED
@@ -41074,7 +41074,7 @@ Résumer dans un texte court, précis et concis l'historique de la conversation
41074
41074
  });
41075
41075
  return {
41076
41076
  assistant,
41077
- command: await preparePinsSettings(command, context),
41077
+ command: await Promise.all(command.map((settings)=>preparePinsSettings(settings, context))),
41078
41078
  sources,
41079
41079
  logs
41080
41080
  };
@@ -4,7 +4,7 @@ export declare const find: (params: any, pinsSettingsList: PinsSettings[], conte
4
4
  export declare const search: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
5
5
  export declare const chatbot: (params: any, pinsSettingsList: PinsSettings[], context: any) => Promise<{
6
6
  assistant: any;
7
- command: any;
7
+ command: any[];
8
8
  sources: any;
9
9
  logs: any;
10
10
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-chatbot",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "dependencies": {},
5
5
  "main": "./index.cjs.js",
6
6
  "module": "./index.esm.js"