@promptbook/pdf 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
@@ -20,7 +20,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
20
20
  *
21
21
  * @see https://github.com/webgptorg/promptbook
22
22
  */
23
- var PROMPTBOOK_ENGINE_VERSION = '0.74.0-3';
23
+ var PROMPTBOOK_ENGINE_VERSION = '0.74.0-4';
24
24
  /**
25
25
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
26
26
  */
@@ -898,7 +898,7 @@ function isValidPipelineUrl(url) {
898
898
  if (!url.startsWith('https://')) {
899
899
  return false;
900
900
  }
901
- if (!url.endsWith('.ptbk.md')) {
901
+ if (!(url.endsWith('.book.md') || url.endsWith('.book') || url.endsWith('.ptbk.md') || url.endsWith('.ptbk'))) {
902
902
  return false;
903
903
  }
904
904
  if (url.includes('#')) {