@botpress/sdk 6.9.2 → 6.11.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.
@@ -1,5 +1,8 @@
1
- import { BaseLogger } from '../../base-logger';
1
+ import { BaseLogger, type LogLevel } from '../../base-logger';
2
2
  type IntegrationLogOptions = {
3
+ botId?: string;
4
+ integrationId?: string;
5
+ integrationAlias?: string;
3
6
  userId?: string;
4
7
  conversationId?: string;
5
8
  traceId?: string;
@@ -27,6 +30,6 @@ export declare class IntegrationLogger extends BaseLogger<IntegrationLogOptions>
27
30
  * Used to send the log _**only**_ to the bot owner and _**not**_ the integration owner
28
31
  */
29
32
  forBotOnly(): IntegrationLogger;
30
- protected getJsonMessage(msg: string): string;
33
+ protected getJsonMessage(level: LogLevel, msg: string): string;
31
34
  }
32
35
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/sdk",
3
- "version": "6.9.2",
3
+ "version": "6.11.0",
4
4
  "description": "Botpress SDK",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
@@ -20,7 +20,7 @@
20
20
  "author": "",
21
21
  "license": "MIT",
22
22
  "dependencies": {
23
- "@botpress/client": "1.44.0",
23
+ "@botpress/client": "1.45.0",
24
24
  "browser-or-node": "^2.1.1",
25
25
  "semver": "^7.3.8"
26
26
  },