@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 CHANGED
@@ -23,7 +23,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
23
23
  *
24
24
  * @see https://github.com/webgptorg/promptbook
25
25
  */
26
- var PROMPTBOOK_ENGINE_VERSION = '0.74.0-2';
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 @@ function isValidPipelineUrl(url) {
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('#')) {