@promptbook/wizard 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 +12 -12
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/utils.index.d.ts +2 -0
- package/esm/typings/src/utils/misc/linguisticHash.d.ts +6 -0
- package/esm/typings/src/utils/misc/linguisticHash.test.d.ts +1 -0
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +12 -12
- package/umd/index.umd.js.map +1 -1
package/esm/index.es.js
CHANGED
|
@@ -36,7 +36,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
|
|
|
36
36
|
* @generated
|
|
37
37
|
* @see https://github.com/webgptorg/promptbook
|
|
38
38
|
*/
|
|
39
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.105.0-
|
|
39
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.105.0-6';
|
|
40
40
|
/**
|
|
41
41
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
42
42
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -7493,6 +7493,17 @@ function computeHash(value) {
|
|
|
7493
7493
|
* TODO: [🥬][🥬] Use this ACRY
|
|
7494
7494
|
*/
|
|
7495
7495
|
|
|
7496
|
+
/**
|
|
7497
|
+
* Makes first letter of a string uppercase
|
|
7498
|
+
*
|
|
7499
|
+
* Note: [🔂] This function is idempotent.
|
|
7500
|
+
*
|
|
7501
|
+
* @public exported from `@promptbook/utils`
|
|
7502
|
+
*/
|
|
7503
|
+
function capitalize(word) {
|
|
7504
|
+
return word.substring(0, 1).toUpperCase() + word.substring(1);
|
|
7505
|
+
}
|
|
7506
|
+
|
|
7496
7507
|
/**
|
|
7497
7508
|
* Function parseNumber will parse number from string
|
|
7498
7509
|
*
|
|
@@ -7565,17 +7576,6 @@ function parseNumber(value) {
|
|
|
7565
7576
|
* TODO: [🧠][🌻] Maybe export through `@promptbook/markdown-utils` not `@promptbook/utils`
|
|
7566
7577
|
*/
|
|
7567
7578
|
|
|
7568
|
-
/**
|
|
7569
|
-
* Makes first letter of a string uppercase
|
|
7570
|
-
*
|
|
7571
|
-
* Note: [🔂] This function is idempotent.
|
|
7572
|
-
*
|
|
7573
|
-
* @public exported from `@promptbook/utils`
|
|
7574
|
-
*/
|
|
7575
|
-
function capitalize(word) {
|
|
7576
|
-
return word.substring(0, 1).toUpperCase() + word.substring(1);
|
|
7577
|
-
}
|
|
7578
|
-
|
|
7579
7579
|
/**
|
|
7580
7580
|
* Makes first letter of a string lowercase
|
|
7581
7581
|
*
|