@promptbook/remote-server 0.105.0-5 → 0.105.0-6

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
@@ -33,7 +33,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
33
33
  * @generated
34
34
  * @see https://github.com/webgptorg/promptbook
35
35
  */
36
- const PROMPTBOOK_ENGINE_VERSION = '0.105.0-5';
36
+ const PROMPTBOOK_ENGINE_VERSION = '0.105.0-6';
37
37
  /**
38
38
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
39
39
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -29,6 +29,7 @@ import { CountUtils } from '../utils/expectation-counters/index';
29
29
  import { $getCurrentDate } from '../utils/misc/$getCurrentDate';
30
30
  import { computeHash } from '../utils/misc/computeHash';
31
31
  import { debounce } from '../utils/misc/debounce';
32
+ import { linguisticHash } from '../utils/misc/linguisticHash';
32
33
  import { parseNumber } from '../utils/misc/parseNumber';
33
34
  import { capitalize } from '../utils/normalization/capitalize';
34
35
  import { decapitalize } from '../utils/normalization/decapitalize';
@@ -118,6 +119,7 @@ export { CountUtils };
118
119
  export { $getCurrentDate };
119
120
  export { computeHash };
120
121
  export { debounce };
122
+ export { linguisticHash };
121
123
  export { parseNumber };
122
124
  export { capitalize };
123
125
  export { decapitalize };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Creates human-readable hash
3
+ *
4
+ * @public exported from `@promptbook/utils`
5
+ */
6
+ export declare function linguisticHash(input: string): Promise<string>;
@@ -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.105.0-4`).
18
+ * It follows semantic versioning (e.g., `0.105.0-5`).
19
19
  *
20
20
  * @generated
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/remote-server",
3
- "version": "0.105.0-5",
3
+ "version": "0.105.0-6",
4
4
  "description": "Promptbook: Turn your company's scattered knowledge into AI ready books",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -95,7 +95,7 @@
95
95
  "module": "./esm/index.es.js",
96
96
  "typings": "./esm/typings/src/_packages/remote-server.index.d.ts",
97
97
  "peerDependencies": {
98
- "@promptbook/core": "0.105.0-5"
98
+ "@promptbook/core": "0.105.0-6"
99
99
  },
100
100
  "dependencies": {
101
101
  "colors": "1.4.0",
package/umd/index.umd.js CHANGED
@@ -47,7 +47,7 @@
47
47
  * @generated
48
48
  * @see https://github.com/webgptorg/promptbook
49
49
  */
50
- const PROMPTBOOK_ENGINE_VERSION = '0.105.0-5';
50
+ const PROMPTBOOK_ENGINE_VERSION = '0.105.0-6';
51
51
  /**
52
52
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
53
53
  * Note: [💞] Ignore a discrepancy between file name and entity name