@promptbook/pdf 0.86.0-13 → 0.86.0-14

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
@@ -26,7 +26,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
26
26
  * @generated
27
27
  * @see https://github.com/webgptorg/promptbook
28
28
  */
29
- var PROMPTBOOK_ENGINE_VERSION = '0.86.0-13';
29
+ var PROMPTBOOK_ENGINE_VERSION = '0.86.0-14';
30
30
  /**
31
31
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
32
32
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -1097,7 +1097,7 @@ function capitalize(word) {
1097
1097
  * Converts promptbook in JSON format to string format
1098
1098
  *
1099
1099
  * @deprecated TODO: [🥍][🧠] Backup original files in `PipelineJson` same as in Promptbook.studio
1100
- * @param pipelineJson Promptbook in JSON format (.book.json)
1100
+ * @param pipelineJson Promptbook in JSON format (.bookc)
1101
1101
  * @returns Promptbook in string format (.book.md)
1102
1102
  * @public exported from `@promptbook/core`
1103
1103
  */
@@ -13,7 +13,7 @@ import type { PrepareAndScrapeOptions } from '../prepare/PrepareAndScrapeOptions
13
13
  * @param pipelineString {Promptbook} in string markdown format (.book.md)
14
14
  * @param tools - Tools for the preparation and scraping - if not provided together with `llm`, the preparation will be skipped
15
15
  * @param options - Options and tools for the compilation
16
- * @returns {Promptbook} compiled in JSON format (.book.json)
16
+ * @returns {Promptbook} compiled in JSON format (.bookc)
17
17
  * @throws {ParseError} if the promptbook string is not valid
18
18
  * @public exported from `@promptbook/core`
19
19
  */
@@ -11,7 +11,7 @@ import type { RemoteClientOptions } from '../remote-server/types/RemoteClientOpt
11
11
  *
12
12
  * @param pipelineString {Promptbook} in string markdown format (.book.md)
13
13
  * @param options - Configuration of the remote server
14
- * @returns {Promptbook} compiled in JSON format (.book.json)
14
+ * @returns {Promptbook} compiled in JSON format (.bookc)
15
15
  * @throws {ParseError} if the promptbook string is not valid
16
16
  * @public exported from `@promptbook/remote-client`
17
17
  */
@@ -12,7 +12,7 @@ import type { PipelineString } from '../pipeline/PipelineString';
12
12
  * Note: This function acts as compilation process
13
13
  *
14
14
  * @param pipelineString {Promptbook} in string markdown format (.book.md)
15
- * @returns {Promptbook} compiled in JSON format (.book.json)
15
+ * @returns {Promptbook} compiled in JSON format (.bookc)
16
16
  * @throws {ParseError} if the promptbook string is not valid
17
17
  * @public exported from `@promptbook/core`
18
18
  */
@@ -4,7 +4,7 @@ import type { PipelineString } from '../pipeline/PipelineString';
4
4
  * Converts promptbook in JSON format to string format
5
5
  *
6
6
  * @deprecated TODO: [🥍][🧠] Backup original files in `PipelineJson` same as in Promptbook.studio
7
- * @param pipelineJson Promptbook in JSON format (.book.json)
7
+ * @param pipelineJson Promptbook in JSON format (.bookc)
8
8
  * @returns Promptbook in string format (.book.md)
9
9
  * @public exported from `@promptbook/core`
10
10
  */
@@ -2,7 +2,7 @@ import type { PipelineJson } from '../../pipeline/PipelineJson/PipelineJson';
2
2
  import type { PipelineString } from '../../pipeline/PipelineString';
3
3
  import type { string_json } from '../../types/typeAliases';
4
4
  /**
5
- * Import the pipeline.book or pipeline.book.json file
5
+ * Import the pipeline.book or pipeline.bookc file
6
6
  *
7
7
  * Note: Using here custom import to work in jest tests
8
8
  * Note: Using sync version is 💩 in the production code, but it's ok here in tests
@@ -11,19 +11,19 @@ import type { string_json } from '../../types/typeAliases';
11
11
  * @private internal function of tests
12
12
  */
13
13
  export declare function importPipelineWithoutPreparation(path: `${string}.book`): PipelineString;
14
- export declare function importPipelineWithoutPreparation(path: `${string}.book.json`): PipelineJson;
14
+ export declare function importPipelineWithoutPreparation(path: `${string}.bookc`): PipelineJson;
15
15
  /**
16
- * Import the pipeline.book.json file as parsed JSON
16
+ * Import the pipeline.bookc file as parsed JSON
17
17
  *
18
18
  * @private internal function of tests
19
19
  */
20
- export declare function importPipelineJson(path: `${string}.book.json`): PipelineJson;
20
+ export declare function importPipelineJson(path: `${string}.bookc`): PipelineJson;
21
21
  /**
22
- * Import the pipeline.book.json file as string
22
+ * Import the pipeline.bookc file as string
23
23
  *
24
24
  * @private internal function of tests
25
25
  */
26
- export declare function importPipelineJsonAsString(path: `${string}.book.json`): string_json<PipelineJson>;
26
+ export declare function importPipelineJsonAsString(path: `${string}.bookc`): string_json<PipelineJson>;
27
27
  /**
28
28
  * Note: [💞] Ignore a discrepancy between file name and entity name
29
29
  * Note: [⚫] Code in this file should never be published in any package
@@ -18,5 +18,5 @@ export type PreparationJson = {
18
18
  /**
19
19
  * TODO: [🍙] Make some standard order of json properties
20
20
  * TODO: Maybe put here used `modelName`
21
- * TODO: [🍥] When using `date` it changes all examples .book.json files each time so until some more elegant solution omit the time from prepared pipeline
21
+ * TODO: [🍥] When using `date` it changes all examples .bookc files each time so until some more elegant solution omit the time from prepared pipeline
22
22
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/pdf",
3
- "version": "0.86.0-13",
3
+ "version": "0.86.0-14",
4
4
  "description": "It's time for a paradigm shift. The future of software in plain English, French or Latin",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -47,7 +47,7 @@
47
47
  "module": "./esm/index.es.js",
48
48
  "typings": "./esm/typings/src/_packages/pdf.index.d.ts",
49
49
  "peerDependencies": {
50
- "@promptbook/core": "0.86.0-13"
50
+ "@promptbook/core": "0.86.0-14"
51
51
  },
52
52
  "dependencies": {
53
53
  "crypto": "^1.0.1",
package/umd/index.umd.js CHANGED
@@ -25,7 +25,7 @@
25
25
  * @generated
26
26
  * @see https://github.com/webgptorg/promptbook
27
27
  */
28
- var PROMPTBOOK_ENGINE_VERSION = '0.86.0-13';
28
+ var PROMPTBOOK_ENGINE_VERSION = '0.86.0-14';
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
@@ -1096,7 +1096,7 @@
1096
1096
  * Converts promptbook in JSON format to string format
1097
1097
  *
1098
1098
  * @deprecated TODO: [🥍][🧠] Backup original files in `PipelineJson` same as in Promptbook.studio
1099
- * @param pipelineJson Promptbook in JSON format (.book.json)
1099
+ * @param pipelineJson Promptbook in JSON format (.bookc)
1100
1100
  * @returns Promptbook in string format (.book.md)
1101
1101
  * @public exported from `@promptbook/core`
1102
1102
  */