@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
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
|
|
2
|
-
> @botpress/sdk@4.
|
|
2
|
+
> @botpress/sdk@4.17.0 build /home/runner/work/botpress/botpress/packages/sdk
|
|
3
3
|
> pnpm build:type && pnpm build:node && pnpm build:browser
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @botpress/sdk@4.
|
|
6
|
+
> @botpress/sdk@4.17.0 build:type /home/runner/work/botpress/botpress/packages/sdk
|
|
7
7
|
> tsc -p ./tsconfig.package.json --emitDeclarationOnly --declaration
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
> @botpress/sdk@4.
|
|
10
|
+
> @botpress/sdk@4.17.0 build:node /home/runner/work/botpress/botpress/packages/sdk
|
|
11
11
|
> ts-node -T ./build.ts --node
|
|
12
12
|
|
|
13
13
|
Done
|
|
14
14
|
|
|
15
|
-
> @botpress/sdk@4.
|
|
15
|
+
> @botpress/sdk@4.17.0 build:browser /home/runner/work/botpress/botpress/packages/sdk
|
|
16
16
|
> ts-node -T ./build.ts --browser
|
|
17
17
|
|
|
18
|
-
(node:
|
|
18
|
+
(node:3985) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
|
|
19
19
|
(Use `node --trace-deprecation ...` to show where the warning was created)
|
|
20
20
|
Done
|
package/dist/bot/definition.d.ts
CHANGED
|
@@ -60,6 +60,7 @@ export type TableDefinition<TTable extends BaseTables[string] = BaseTables[strin
|
|
|
60
60
|
}>;
|
|
61
61
|
export type IntegrationConfigInstance<I extends IntegrationPackage = IntegrationPackage> = {
|
|
62
62
|
enabled: boolean;
|
|
63
|
+
alias?: string;
|
|
63
64
|
disabledChannels?: StringKeys<NonNullable<I['definition']['channels']>>[];
|
|
64
65
|
} & ({
|
|
65
66
|
configurationType?: null;
|
package/dist/consts.d.ts
CHANGED
|
@@ -1,2 +1,11 @@
|
|
|
1
1
|
export * from './public-consts';
|
|
2
2
|
export declare const PLUGIN_PREFIX_SEPARATOR = "#";
|
|
3
|
+
export declare const BOT_ID_HEADER = "x-bot-id";
|
|
4
|
+
export declare const BOT_USER_ID_HEADER = "x-bot-user-id";
|
|
5
|
+
export declare const INTEGRATION_ID_HEADER = "x-integration-id";
|
|
6
|
+
export declare const INTEGRATION_ALIAS_HEADER = "x-integration-alias";
|
|
7
|
+
export declare const WEBHOOK_ID_HEADER = "x-webhook-id";
|
|
8
|
+
export declare const CONFIGURATION_TYPE_HEADER = "x-bp-configuration-type";
|
|
9
|
+
export declare const CONFIGURATION_PAYLOAD_HEADER = "x-bp-configuration";
|
|
10
|
+
export declare const OPERATION_TYPE_HEADER = "x-bp-operation";
|
|
11
|
+
export declare const OPERATION_SUBTYPE_HEADER = "x-bp-type";
|