@promptbook/pdf 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
|
@@ -24,7 +24,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
|
|
|
24
24
|
* @generated
|
|
25
25
|
* @see https://github.com/webgptorg/promptbook
|
|
26
26
|
*/
|
|
27
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.104.0-
|
|
27
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.104.0-19';
|
|
28
28
|
/**
|
|
29
29
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
30
30
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -1699,9 +1699,10 @@ function isValidFilePath(filename) {
|
|
|
1699
1699
|
*
|
|
1700
1700
|
* Note: [🔂] This function is idempotent.
|
|
1701
1701
|
* Note: Dataurl are considered perfectly valid.
|
|
1702
|
-
* Note: There are
|
|
1703
|
-
* - `isValidUrl` which tests any URL
|
|
1704
|
-
* - `
|
|
1702
|
+
* Note: There are few similar functions:
|
|
1703
|
+
* - `isValidUrl` *(this one)* which tests any URL
|
|
1704
|
+
* - `isValidAgentUrl` which tests just agent URL
|
|
1705
|
+
* - `isValidPipelineUrl` which tests just pipeline URL
|
|
1705
1706
|
*
|
|
1706
1707
|
* @public exported from `@promptbook/utils`
|
|
1707
1708
|
*/
|
|
@@ -2497,8 +2498,9 @@ function isValidPromptbookVersion(version) {
|
|
|
2497
2498
|
/**
|
|
2498
2499
|
* Tests if given string is valid pipeline URL URL.
|
|
2499
2500
|
*
|
|
2500
|
-
* Note: There are
|
|
2501
|
+
* Note: There are few similar functions:
|
|
2501
2502
|
* - `isValidUrl` which tests any URL
|
|
2503
|
+
* - `isValidAgentUrl` which tests just agent URL
|
|
2502
2504
|
* - `isValidPipelineUrl` *(this one)* which tests just pipeline URL
|
|
2503
2505
|
*
|
|
2504
2506
|
* @public exported from `@promptbook/utils`
|