@botpress/sdk 2.4.3 → 2.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.
Files changed (66) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/dist/base-logger.d.ts +0 -0
  3. package/dist/bot/bot-logger.d.ts +0 -0
  4. package/dist/bot/client/index.d.ts +0 -0
  5. package/dist/bot/client/types.d.ts +0 -0
  6. package/dist/bot/client/types.test.d.ts +0 -0
  7. package/dist/bot/definition.d.ts +0 -0
  8. package/dist/bot/implementation.d.ts +0 -0
  9. package/dist/bot/index.d.ts +0 -0
  10. package/dist/bot/merge-bots.d.ts +0 -0
  11. package/dist/bot/server/context.d.ts +0 -0
  12. package/dist/bot/server/index.d.ts +0 -0
  13. package/dist/bot/server/types.d.ts +0 -0
  14. package/dist/bot/server/types.test.d.ts +0 -0
  15. package/dist/bot/types/common.d.ts +0 -0
  16. package/dist/bot/types/common.test.d.ts +0 -0
  17. package/dist/bot/types/generic.d.ts +0 -0
  18. package/dist/bot/types/generic.test.d.ts +0 -0
  19. package/dist/bot/types/index.d.ts +0 -0
  20. package/dist/const.d.ts +0 -0
  21. package/dist/fixtures.d.ts +0 -0
  22. package/dist/index.d.ts +0 -0
  23. package/dist/index.js +1 -1
  24. package/dist/index.js.map +2 -2
  25. package/dist/integration/client/index.d.ts +0 -0
  26. package/dist/integration/client/types.d.ts +0 -0
  27. package/dist/integration/client/types.test.d.ts +0 -0
  28. package/dist/integration/definition/branded-schema.d.ts +0 -0
  29. package/dist/integration/definition/generic.d.ts +0 -0
  30. package/dist/integration/definition/index.d.ts +5 -0
  31. package/dist/integration/definition/types.d.ts +0 -0
  32. package/dist/integration/implementation.d.ts +0 -0
  33. package/dist/integration/index.d.ts +0 -0
  34. package/dist/integration/server/action-metadata.d.ts +0 -0
  35. package/dist/integration/server/context.d.ts +0 -0
  36. package/dist/integration/server/index.d.ts +0 -0
  37. package/dist/integration/server/integration-logger.d.ts +0 -0
  38. package/dist/integration/server/types.d.ts +0 -0
  39. package/dist/integration/types/common.d.ts +0 -0
  40. package/dist/integration/types/generic.d.ts +0 -0
  41. package/dist/integration/types/generic.test.d.ts +0 -0
  42. package/dist/integration/types/index.d.ts +0 -0
  43. package/dist/interface/definition.d.ts +0 -0
  44. package/dist/interface/index.d.ts +0 -0
  45. package/dist/interface/types/generic.d.ts +0 -0
  46. package/dist/interface/types/generic.test.d.ts +0 -0
  47. package/dist/log.d.ts +0 -0
  48. package/dist/message.d.ts +0 -0
  49. package/dist/package.d.ts +0 -0
  50. package/dist/plugin/definition.d.ts +0 -0
  51. package/dist/plugin/implementation.d.ts +0 -0
  52. package/dist/plugin/index.d.ts +0 -0
  53. package/dist/plugin/server/types.d.ts +0 -0
  54. package/dist/plugin/server/types.test.d.ts +0 -0
  55. package/dist/plugin/types/generic.d.ts +0 -0
  56. package/dist/plugin/types/generic.test.d.ts +0 -0
  57. package/dist/retry.d.ts +0 -0
  58. package/dist/schema.d.ts +0 -0
  59. package/dist/serve.d.ts +0 -0
  60. package/dist/utils/array-utils.d.ts +0 -0
  61. package/dist/utils/index.d.ts +0 -0
  62. package/dist/utils/record-utils.d.ts +0 -0
  63. package/dist/utils/type-utils.d.ts +0 -0
  64. package/dist/utils/type-utils.test.d.ts +0 -0
  65. package/dist/zui.d.ts +0 -0
  66. package/package.json +10 -4
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,3 +1,4 @@
1
+ import type * as esbuild from 'esbuild';
1
2
  import { InterfacePackage } from '../../package';
2
3
  import { z } from '../../zui';
3
4
  import { SchemaStore, BrandedSchema } from './branded-schema';
@@ -43,6 +44,9 @@ export type IntegrationDefinitionProps<TName extends string = string, TVersion e
43
44
  [K in keyof TEntities]: EntityDefinition<TEntities[K]>;
44
45
  };
45
46
  interfaces?: Record<string, InterfaceExtension>;
47
+ __advanced?: {
48
+ esbuild?: Partial<esbuild.BuildOptions>;
49
+ };
46
50
  };
47
51
  type EntitiesOfPackage<TPackage extends InterfacePackage> = {
48
52
  [K in keyof TPackage['definition']['entities']]: NonNullable<TPackage['definition']['entities']>[K]['schema'];
@@ -71,6 +75,7 @@ export declare class IntegrationDefinition<TName extends string = string, TVersi
71
75
  readonly identifier: this['props']['identifier'];
72
76
  readonly entities: this['props']['entities'];
73
77
  readonly interfaces: this['props']['interfaces'];
78
+ readonly __advanced: this['props']['__advanced'];
74
79
  constructor(props: IntegrationDefinitionProps<TName, TVersion, TConfig, TConfigs, TEvents, TActions, TChannels, TStates, TEntities>);
75
80
  extend<P extends InterfacePackage>(interfacePkg: P, builder: ExtensionBuilder<TEntities, EntitiesOfPackage<P>>): this;
76
81
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/log.d.ts CHANGED
File without changes
package/dist/message.d.ts CHANGED
File without changes
package/dist/package.d.ts CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/retry.d.ts CHANGED
File without changes
package/dist/schema.d.ts CHANGED
File without changes
package/dist/serve.d.ts CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/dist/zui.d.ts CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/sdk",
3
- "version": "2.4.3",
3
+ "version": "2.5.0",
4
4
  "description": "Botpress SDK",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -16,11 +16,17 @@
16
16
  "dependencies": {
17
17
  "@botpress/client": "0.41.0"
18
18
  },
19
- "peerDependencies": {
20
- "@bpinternal/zui": "^0.13.5"
21
- },
22
19
  "devDependencies": {
23
20
  "esbuild": "^0.16.12",
24
21
  "tsup": "^8.0.2"
22
+ },
23
+ "peerDependencies": {
24
+ "@bpinternal/zui": "^0.13.5",
25
+ "esbuild": "^0.16.12"
26
+ },
27
+ "peerDependenciesMeta": {
28
+ "esbuild": {
29
+ "optional": true
30
+ }
25
31
  }
26
32
  }