@promptbook/website-crawler 0.74.0-4 → 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
@@ -24,7 +24,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
24
24
  *
25
25
  * @see https://github.com/webgptorg/promptbook
26
26
  */
27
- var PROMPTBOOK_ENGINE_VERSION = '0.74.0-3';
27
+ var PROMPTBOOK_ENGINE_VERSION = '0.74.0-4';
28
28
  /**
29
29
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
30
30
  */
@@ -1576,7 +1576,7 @@ function isValidPipelineUrl(url) {
1576
1576
  if (!url.startsWith('https://')) {
1577
1577
  return false;
1578
1578
  }
1579
- if (!url.endsWith('.ptbk.md')) {
1579
+ if (!(url.endsWith('.book.md') || url.endsWith('.book') || url.endsWith('.ptbk.md') || url.endsWith('.ptbk'))) {
1580
1580
  return false;
1581
1581
  }
1582
1582
  if (url.includes('#')) {