@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.
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env ts-node
2
2
  /**
3
3
  * Note: Purpose of this file !!!!!!! vs other place
4
4
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/core",
3
- "version": "0.74.0-4",
3
+ "version": "0.74.0-5",
4
4
  "description": "Supercharge your use of large language models",
5
5
  "private": false,
6
6
  "sideEffects": false,
package/umd/index.umd.js CHANGED
@@ -24,7 +24,7 @@
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
  */
@@ -987,7 +987,7 @@
987
987
  if (!url.startsWith('https://')) {
988
988
  return false;
989
989
  }
990
- if (!url.endsWith('.ptbk.md')) {
990
+ if (!(url.endsWith('.book.md') || url.endsWith('.book') || url.endsWith('.ptbk.md') || url.endsWith('.ptbk'))) {
991
991
  return false;
992
992
  }
993
993
  if (url.includes('#')) {