@digipair/skill-chatbot 0.1.11 → 0.1.13
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 +1 -1
- package/index.esm2.js +1 -1
- package/package.json +1 -1
package/index.cjs2.js
CHANGED
@@ -41026,7 +41026,7 @@ let ChatbotService = class ChatbotService {
|
|
41026
41026
|
var _context_private;
|
41027
41027
|
const session = `${context.request.digipair}-${context.request.body.userId}`;
|
41028
41028
|
var _context_private_VESPA_SERVER;
|
41029
|
-
const { baseUrl = (_context_private_VESPA_SERVER = (_context_private = context.private) == null ? void 0 : _context_private.VESPA_SERVER) != null ? _context_private_VESPA_SERVER : VESPA_SERVER, limit = 100, orderby = '', targetHits = 50, language = 'fr', filter = '', query } = params;
|
41029
|
+
const { baseUrl = (_context_private_VESPA_SERVER = (_context_private = context.private) == null ? void 0 : _context_private.VESPA_SERVER) != null ? _context_private_VESPA_SERVER : VESPA_SERVER, limit = 100, orderby = '', targetHits = 50, language = 'fr', filter = 'true', query } = params;
|
41030
41030
|
if (orderby !== '' && !/^([a-zA-Z0-9_-]+)(,\s*[a-zA-Z0-9_-]+)*(\s+(asc|desc))?$/.test(orderby)) {
|
41031
41031
|
throw new Error('vespa:find - Invalid orderby parameter');
|
41032
41032
|
}
|
package/index.esm2.js
CHANGED
@@ -41004,7 +41004,7 @@ let ChatbotService = class ChatbotService {
|
|
41004
41004
|
var _context_private;
|
41005
41005
|
const session = `${context.request.digipair}-${context.request.body.userId}`;
|
41006
41006
|
var _context_private_VESPA_SERVER;
|
41007
|
-
const { baseUrl = (_context_private_VESPA_SERVER = (_context_private = context.private) == null ? void 0 : _context_private.VESPA_SERVER) != null ? _context_private_VESPA_SERVER : VESPA_SERVER, limit = 100, orderby = '', targetHits = 50, language = 'fr', filter = '', query } = params;
|
41007
|
+
const { baseUrl = (_context_private_VESPA_SERVER = (_context_private = context.private) == null ? void 0 : _context_private.VESPA_SERVER) != null ? _context_private_VESPA_SERVER : VESPA_SERVER, limit = 100, orderby = '', targetHits = 50, language = 'fr', filter = 'true', query } = params;
|
41008
41008
|
if (orderby !== '' && !/^([a-zA-Z0-9_-]+)(,\s*[a-zA-Z0-9_-]+)*(\s+(asc|desc))?$/.test(orderby)) {
|
41009
41009
|
throw new Error('vespa:find - Invalid orderby parameter');
|
41010
41010
|
}
|