@botonic/plugin-knowledge-bases 0.39.1 → 0.40.0
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.
|
@@ -4,7 +4,7 @@ exports.HubtypeApiService = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
6
6
|
const axios_1 = tslib_1.__importDefault(require("axios"));
|
|
7
|
-
const DEFAULT_TIMEOUT =
|
|
7
|
+
const DEFAULT_TIMEOUT = 20000;
|
|
8
8
|
class HubtypeApiService {
|
|
9
9
|
constructor(host, timeout, verbose) {
|
|
10
10
|
this.host = host;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __awaiter } from "tslib";
|
|
2
2
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
3
3
|
import axios from 'axios';
|
|
4
|
-
const DEFAULT_TIMEOUT =
|
|
4
|
+
const DEFAULT_TIMEOUT = 20000;
|
|
5
5
|
export class HubtypeApiService {
|
|
6
6
|
constructor(host, timeout, verbose) {
|
|
7
7
|
this.host = host;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botonic/plugin-knowledge-bases",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.40.0",
|
|
4
4
|
"description": "Use a Hubtype to make the bot respond through a knowledge base.",
|
|
5
5
|
"main": "./lib/cjs/index.js",
|
|
6
6
|
"module": "./lib/esm/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.26.0",
|
|
18
|
-
"@botonic/core": "^0.
|
|
18
|
+
"@botonic/core": "^0.40.0",
|
|
19
19
|
"axios": "^1.10.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|