@botpress/sdk 6.4.5 → 6.5.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.
@@ -17,6 +17,7 @@ export type IntegrationImplementationProps<TIntegration extends BaseIntegration
17
17
  channels: ChannelFunctions<TIntegration>;
18
18
  __advanced?: {
19
19
  unknownOperationHandler?: UnknownOperationFunction<TIntegration>;
20
+ managesOwnTracePropagation?: boolean;
20
21
  };
21
22
  };
22
23
  export declare class IntegrationImplementation<TIntegration extends BaseIntegration = BaseIntegration> {
@@ -29,6 +30,7 @@ export declare class IntegrationImplementation<TIntegration extends BaseIntegrat
29
30
  readonly createConversation: IntegrationImplementationProps<TIntegration>['createConversation'];
30
31
  readonly webhook: IntegrationImplementationProps<TIntegration>['handler'];
31
32
  readonly unknownOperationHandler: NonNullable<IntegrationImplementationProps<TIntegration>['__advanced']>['unknownOperationHandler'];
33
+ readonly managesOwnTracePropagation: NonNullable<IntegrationImplementationProps<TIntegration>['__advanced']>['managesOwnTracePropagation'];
32
34
  constructor(props: IntegrationImplementationProps<TIntegration>);
33
35
  readonly handler: (req: import("../serve").Request) => Promise<import("../serve").Response | void>;
34
36
  readonly start: (port?: number) => Promise<Server>;
@@ -103,5 +103,6 @@ export type IntegrationHandlers<TIntegration extends BaseIntegration> = {
103
103
  actions: ActionHandlers<TIntegration>;
104
104
  channels: ChannelHandlers<TIntegration>;
105
105
  unknownOperationHandler?: UnknownOperationHandler<TIntegration>;
106
+ managesOwnTracePropagation?: boolean;
106
107
  };
107
108
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/sdk",
3
- "version": "6.4.5",
3
+ "version": "6.5.0",
4
4
  "description": "Botpress SDK",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",