@promptbook/vercel 0.103.0-50 → 0.103.0-51

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/esm/index.es.js CHANGED
@@ -16,7 +16,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
16
16
  * @generated
17
17
  * @see https://github.com/webgptorg/promptbook
18
18
  */
19
- const PROMPTBOOK_ENGINE_VERSION = '0.103.0-50';
19
+ const PROMPTBOOK_ENGINE_VERSION = '0.103.0-51';
20
20
  /**
21
21
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
22
22
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -1,4 +1,3 @@
1
- import './PromptbookAgent.css';
2
1
  type PromptbookAgentProps = {
3
2
  /**
4
3
  * URL of the agent to connect to
@@ -6,6 +5,10 @@ type PromptbookAgentProps = {
6
5
  * @example "http://s6.ptbk.io/benjamin-white"
7
6
  */
8
7
  agentUrl: string;
8
+ /**
9
+ * Callback when the window is opened or closed
10
+ */
11
+ onOpenChange?: (isOpen: boolean) => void;
9
12
  };
10
13
  /**
11
14
  * Renders a floating agent button that opens a chat window with the remote agent.
@@ -15,7 +15,7 @@ export declare const BOOK_LANGUAGE_VERSION: string_semantic_version;
15
15
  export declare const PROMPTBOOK_ENGINE_VERSION: string_promptbook_version;
16
16
  /**
17
17
  * Represents the version string of the Promptbook engine.
18
- * It follows semantic versioning (e.g., `0.103.0-49`).
18
+ * It follows semantic versioning (e.g., `0.103.0-50`).
19
19
  *
20
20
  * @generated
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/vercel",
3
- "version": "0.103.0-50",
3
+ "version": "0.103.0-51",
4
4
  "description": "Promptbook: Turn your company's scattered knowledge into AI ready books",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -94,7 +94,7 @@
94
94
  "module": "./esm/index.es.js",
95
95
  "typings": "./esm/typings/src/_packages/vercel.index.d.ts",
96
96
  "peerDependencies": {
97
- "@promptbook/core": "0.103.0-50"
97
+ "@promptbook/core": "0.103.0-51"
98
98
  },
99
99
  "dependencies": {
100
100
  "colors": "^1.4.0",
package/umd/index.umd.js CHANGED
@@ -23,7 +23,7 @@
23
23
  * @generated
24
24
  * @see https://github.com/webgptorg/promptbook
25
25
  */
26
- const PROMPTBOOK_ENGINE_VERSION = '0.103.0-50';
26
+ const PROMPTBOOK_ENGINE_VERSION = '0.103.0-51';
27
27
  /**
28
28
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
29
29
  * Note: [💞] Ignore a discrepancy between file name and entity name