@botpress/sdk 4.15.12 → 4.17.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.
- package/.turbo/turbo-build.log +5 -5
- package/dist/bot/definition.d.ts +1 -0
- package/dist/consts.d.ts +9 -0
- package/dist/index.cjs +11 -11
- package/dist/index.cjs.map +4 -4
- package/dist/index.mjs +36 -36
- package/dist/index.mjs.map +4 -4
- package/dist/integration/server/types.d.ts +1 -0
- package/dist/public-consts.d.ts +0 -8
- package/dist/utils/error-utils.d.ts +4 -0
- package/package.json +5 -2
|
@@ -17,6 +17,7 @@ export type IntegrationContext<TIntegration extends BaseIntegration = BaseIntegr
|
|
|
17
17
|
botId: string;
|
|
18
18
|
botUserId: string;
|
|
19
19
|
integrationId: string;
|
|
20
|
+
integrationAlias: string;
|
|
20
21
|
webhookId: string;
|
|
21
22
|
operation: string;
|
|
22
23
|
} & IntegrationContextConfig<TIntegration>;
|
package/dist/public-consts.d.ts
CHANGED
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
export declare const botIdHeader = "x-bot-id";
|
|
2
|
-
export declare const botUserIdHeader = "x-bot-user-id";
|
|
3
|
-
export declare const integrationIdHeader = "x-integration-id";
|
|
4
|
-
export declare const webhookIdHeader = "x-webhook-id";
|
|
5
|
-
export declare const configurationTypeHeader = "x-bp-configuration-type";
|
|
6
|
-
export declare const configurationHeader = "x-bp-configuration";
|
|
7
|
-
export declare const operationHeader = "x-bp-operation";
|
|
8
|
-
export declare const typeHeader = "x-bp-type";
|
|
9
1
|
export declare const WELL_KNOWN_ATTRIBUTES: {
|
|
10
2
|
readonly HIDDEN_IN_STUDIO: {
|
|
11
3
|
readonly bpActionHiddenInStudio: "true";
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@botpress/sdk",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.17.0",
|
|
4
4
|
"description": "Botpress SDK",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
|
+
"repository": {
|
|
9
|
+
"url": "https://github.com/botpress/botpress"
|
|
10
|
+
},
|
|
8
11
|
"scripts": {
|
|
9
12
|
"check:type": "tsc -p ./tsconfig.json --noEmit",
|
|
10
13
|
"build:type": "tsc -p ./tsconfig.package.json --emitDeclarationOnly --declaration",
|
|
@@ -16,7 +19,7 @@
|
|
|
16
19
|
"author": "",
|
|
17
20
|
"license": "MIT",
|
|
18
21
|
"dependencies": {
|
|
19
|
-
"@botpress/client": "1.
|
|
22
|
+
"@botpress/client": "1.26.0",
|
|
20
23
|
"browser-or-node": "^2.1.1"
|
|
21
24
|
},
|
|
22
25
|
"devDependencies": {
|