@promptbook/legacy-documents 0.104.0-17 → 0.104.0-19
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 +7 -5
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/core.index.d.ts +8 -6
- package/esm/typings/src/_packages/utils.index.d.ts +2 -0
- package/esm/typings/src/book-2.0/agent-source/AgentModelRequirements.d.ts +7 -2
- package/esm/typings/src/book-2.0/utils/generatePlaceholderAgentProfileImageUrl.d.ts +1 -1
- package/esm/typings/src/config.d.ts +8 -1
- package/esm/typings/src/utils/validators/url/isValidAgentUrl.d.ts +16 -0
- package/esm/typings/src/utils/validators/url/isValidAgentUrl.test.d.ts +1 -0
- package/esm/typings/src/utils/validators/url/isValidPipelineUrl.d.ts +2 -1
- package/esm/typings/src/utils/validators/url/isValidUrl.d.ts +4 -3
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +7 -5
- package/umd/index.umd.js.map +1 -1
- package/esm/typings/servers.d.ts +0 -50
package/esm/index.es.js
CHANGED
|
@@ -26,7 +26,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
|
|
|
26
26
|
* @generated
|
|
27
27
|
* @see https://github.com/webgptorg/promptbook
|
|
28
28
|
*/
|
|
29
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.104.0-
|
|
29
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.104.0-19';
|
|
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
|
|
@@ -1878,9 +1878,10 @@ function isValidFilePath(filename) {
|
|
|
1878
1878
|
*
|
|
1879
1879
|
* Note: [🔂] This function is idempotent.
|
|
1880
1880
|
* Note: Dataurl are considered perfectly valid.
|
|
1881
|
-
* Note: There are
|
|
1882
|
-
* - `isValidUrl` which tests any URL
|
|
1883
|
-
* - `
|
|
1881
|
+
* Note: There are few similar functions:
|
|
1882
|
+
* - `isValidUrl` *(this one)* which tests any URL
|
|
1883
|
+
* - `isValidAgentUrl` which tests just agent URL
|
|
1884
|
+
* - `isValidPipelineUrl` which tests just pipeline URL
|
|
1884
1885
|
*
|
|
1885
1886
|
* @public exported from `@promptbook/utils`
|
|
1886
1887
|
*/
|
|
@@ -2676,8 +2677,9 @@ function isValidPromptbookVersion(version) {
|
|
|
2676
2677
|
/**
|
|
2677
2678
|
* Tests if given string is valid pipeline URL URL.
|
|
2678
2679
|
*
|
|
2679
|
-
* Note: There are
|
|
2680
|
+
* Note: There are few similar functions:
|
|
2680
2681
|
* - `isValidUrl` which tests any URL
|
|
2682
|
+
* - `isValidAgentUrl` which tests just agent URL
|
|
2681
2683
|
* - `isValidPipelineUrl` *(this one)* which tests just pipeline URL
|
|
2682
2684
|
*
|
|
2683
2685
|
* @public exported from `@promptbook/utils`
|