@promptbook/openai 0.39.1 → 0.39.2

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.
@@ -11,7 +11,7 @@ export type PromptbookLibrary = {
11
11
  /**
12
12
  * Gets all promptbooks in the library
13
13
  */
14
- listPromptbooks(): Array<string_promptbook_url>;
14
+ listPromptbooks(): Promisable<Array<string_promptbook_url>>;
15
15
  /**
16
16
  * Gets promptbook by its URL
17
17
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/openai",
3
- "version": "0.39.1",
3
+ "version": "0.39.2",
4
4
  "description": "Library to supercharge your use of large language models",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -37,7 +37,7 @@
37
37
  "openai": "4.2.0"
38
38
  },
39
39
  "peerDependencies": {
40
- "@promptbook/core": "0.39.1"
40
+ "@promptbook/core": "0.39.2"
41
41
  },
42
42
  "main": "./umd/index.umd.js",
43
43
  "module": "./esm/index.es.js",
@@ -11,7 +11,7 @@ export type PromptbookLibrary = {
11
11
  /**
12
12
  * Gets all promptbooks in the library
13
13
  */
14
- listPromptbooks(): Array<string_promptbook_url>;
14
+ listPromptbooks(): Promisable<Array<string_promptbook_url>>;
15
15
  /**
16
16
  * Gets promptbook by its URL
17
17
  *