@promptbook/openai 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
@@ -19,7 +19,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
19
19
  * @generated
20
20
  * @see https://github.com/webgptorg/promptbook
21
21
  */
22
- const PROMPTBOOK_ENGINE_VERSION = '0.102.0-17';
22
+ const PROMPTBOOK_ENGINE_VERSION = '0.102.0-18';
23
23
  /**
24
24
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
25
25
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -1147,7 +1147,7 @@ const ADMIN_GITHUB_NAME = 'hejny';
1147
1147
  * @public exported from `@promptbook/core`
1148
1148
  */
1149
1149
  const PROMPTBOOK_COLOR = Color.fromHex('#79EAFD');
1150
- // <- TODO: !!! How much is this adding to package size of @promptbook/core
1150
+ // <- TODO: [🧠] Using `Color` here increases the package size approx 3kb, maybe remove it
1151
1151
  /**
1152
1152
  * Dark color of the Promptbook
1153
1153
  *
@@ -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/openai",
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,
@@ -102,7 +102,7 @@
102
102
  "module": "./esm/index.es.js",
103
103
  "typings": "./esm/typings/src/_packages/openai.index.d.ts",
104
104
  "peerDependencies": {
105
- "@promptbook/core": "0.102.0-17"
105
+ "@promptbook/core": "0.102.0-18"
106
106
  },
107
107
  "dependencies": {
108
108
  "bottleneck": "^2.19.5",
package/umd/index.umd.js CHANGED
@@ -25,7 +25,7 @@
25
25
  * @generated
26
26
  * @see https://github.com/webgptorg/promptbook
27
27
  */
28
- const PROMPTBOOK_ENGINE_VERSION = '0.102.0-17';
28
+ const PROMPTBOOK_ENGINE_VERSION = '0.102.0-18';
29
29
  /**
30
30
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
31
31
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -1153,7 +1153,7 @@
1153
1153
  * @public exported from `@promptbook/core`
1154
1154
  */
1155
1155
  const PROMPTBOOK_COLOR = Color.fromHex('#79EAFD');
1156
- // <- TODO: !!! How much is this adding to package size of @promptbook/core
1156
+ // <- TODO: [🧠] Using `Color` here increases the package size approx 3kb, maybe remove it
1157
1157
  /**
1158
1158
  * Dark color of the Promptbook
1159
1159
  *