@promptbook/markdown-utils 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
@@ -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-2';
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
  */
@@ -1058,7 +1058,7 @@ function isValidPipelineUrl(url) {
1058
1058
  if (!url.startsWith('https://')) {
1059
1059
  return false;
1060
1060
  }
1061
- if (!url.endsWith('.ptbk.md')) {
1061
+ if (!(url.endsWith('.book.md') || url.endsWith('.book') || url.endsWith('.ptbk.md') || url.endsWith('.ptbk'))) {
1062
1062
  return false;
1063
1063
  }
1064
1064
  if (url.includes('#')) {