@promptbook/fake-llm 0.102.0-17 → 0.102.0-18

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
@@ -18,7 +18,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
18
18
  * @generated
19
19
  * @see https://github.com/webgptorg/promptbook
20
20
  */
21
- const PROMPTBOOK_ENGINE_VERSION = '0.102.0-17';
21
+ const PROMPTBOOK_ENGINE_VERSION = '0.102.0-18';
22
22
  /**
23
23
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
24
24
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -1049,7 +1049,7 @@ const ADMIN_GITHUB_NAME = 'hejny';
1049
1049
  * @public exported from `@promptbook/core`
1050
1050
  */
1051
1051
  const PROMPTBOOK_COLOR = Color.fromHex('#79EAFD');
1052
- // <- TODO: !!! How much is this adding to package size of @promptbook/core
1052
+ // <- TODO: [🧠] Using `Color` here increases the package size approx 3kb, maybe remove it
1053
1053
  /**
1054
1054
  * Dark color of the Promptbook
1055
1055
  *
@@ -15,7 +15,7 @@ export type ChatProps = {
15
15
  /**
16
16
  * The title of the chat
17
17
  */
18
- readonly title: string;
18
+ readonly title?: string;
19
19
  /**
20
20
  * Messages to render - they are rendered as they are
21
21
  */
@@ -8,7 +8,7 @@ export type ChatMessage = {
8
8
  /**
9
9
  * Unique identifier of the message
10
10
  */
11
- id: id;
11
+ id?: id;
12
12
  /**
13
13
  * Date when the message was created
14
14
  */
@@ -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.102.0-16`).
18
+ * It follows semantic versioning (e.g., `0.102.0-17`).
19
19
  *
20
20
  * @generated
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/fake-llm",
3
- "version": "0.102.0-17",
3
+ "version": "0.102.0-18",
4
4
  "description": "Promptbook: Run AI apps in plain human language across multiple models and platforms",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -96,7 +96,7 @@
96
96
  "module": "./esm/index.es.js",
97
97
  "typings": "./esm/typings/src/_packages/fake-llm.index.d.ts",
98
98
  "peerDependencies": {
99
- "@promptbook/core": "0.102.0-17"
99
+ "@promptbook/core": "0.102.0-18"
100
100
  },
101
101
  "dependencies": {
102
102
  "crypto": "1.0.1",
package/umd/index.umd.js CHANGED
@@ -22,7 +22,7 @@
22
22
  * @generated
23
23
  * @see https://github.com/webgptorg/promptbook
24
24
  */
25
- const PROMPTBOOK_ENGINE_VERSION = '0.102.0-17';
25
+ const PROMPTBOOK_ENGINE_VERSION = '0.102.0-18';
26
26
  /**
27
27
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
28
28
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -1053,7 +1053,7 @@
1053
1053
  * @public exported from `@promptbook/core`
1054
1054
  */
1055
1055
  const PROMPTBOOK_COLOR = Color.fromHex('#79EAFD');
1056
- // <- TODO: !!! How much is this adding to package size of @promptbook/core
1056
+ // <- TODO: [🧠] Using `Color` here increases the package size approx 3kb, maybe remove it
1057
1057
  /**
1058
1058
  * Dark color of the Promptbook
1059
1059
  *