@promptbook/legacy-documents 0.74.0-3 → 0.74.0-5
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 +2 -2
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/cli/test/ptbk.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +2 -2
- package/umd/index.umd.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/legacy-documents",
|
|
3
|
-
"version": "0.74.0-
|
|
3
|
+
"version": "0.74.0-5",
|
|
4
4
|
"description": "Supercharge your use of large language models",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"module": "./esm/index.es.js",
|
|
54
54
|
"typings": "./esm/typings/src/_packages/legacy-documents.index.d.ts",
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@promptbook/core": "0.74.0-
|
|
56
|
+
"@promptbook/core": "0.74.0-5"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"colors": "1.4.0",
|
package/umd/index.umd.js
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
*
|
|
24
24
|
* @see https://github.com/webgptorg/promptbook
|
|
25
25
|
*/
|
|
26
|
-
var PROMPTBOOK_ENGINE_VERSION = '0.74.0-
|
|
26
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.74.0-4';
|
|
27
27
|
/**
|
|
28
28
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
29
29
|
*/
|
|
@@ -1620,7 +1620,7 @@
|
|
|
1620
1620
|
if (!url.startsWith('https://')) {
|
|
1621
1621
|
return false;
|
|
1622
1622
|
}
|
|
1623
|
-
if (!url.endsWith('.ptbk.md')) {
|
|
1623
|
+
if (!(url.endsWith('.book.md') || url.endsWith('.book') || url.endsWith('.ptbk.md') || url.endsWith('.ptbk'))) {
|
|
1624
1624
|
return false;
|
|
1625
1625
|
}
|
|
1626
1626
|
if (url.includes('#')) {
|