@promptbook/core 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
@@ -22,7 +22,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
22
22
  *
23
23
  * @see https://github.com/webgptorg/promptbook
24
24
  */
25
- var PROMPTBOOK_ENGINE_VERSION = '0.74.0-3';
25
+ var PROMPTBOOK_ENGINE_VERSION = '0.74.0-4';
26
26
  /**
27
27
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
28
28
  */
@@ -985,7 +985,7 @@ function isValidPipelineUrl(url) {
985
985
  if (!url.startsWith('https://')) {
986
986
  return false;
987
987
  }
988
- if (!url.endsWith('.ptbk.md')) {
988
+ if (!(url.endsWith('.book.md') || url.endsWith('.book') || url.endsWith('.ptbk.md') || url.endsWith('.ptbk'))) {
989
989
  return false;
990
990
  }
991
991
  if (url.includes('#')) {