@promptbook/node 0.112.0-118 → 0.112.0-119

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.
Files changed (27) hide show
  1. package/esm/index.es.js +2 -2
  2. package/esm/index.es.js.map +1 -1
  3. package/esm/src/book-components/BookEditor/BookEditor.d.ts +1 -1
  4. package/esm/src/book-components/BookEditor/BookEditorForClient.d.ts +1 -1
  5. package/esm/src/book-components/Chat/Chat/CitationIframePreview.d.ts +20 -0
  6. package/esm/src/book-components/_common/Dropdown/Dropdown.d.ts +1 -1
  7. package/esm/src/book-components/_common/MenuHoisting/MenuHoistingContext.d.ts +1 -1
  8. package/esm/src/book-components/_common/Modal/Modal.d.ts +1 -1
  9. package/esm/src/book-components/icons/AboutIcon.d.ts +1 -1
  10. package/esm/src/book-components/icons/DownloadIcon.d.ts +1 -1
  11. package/esm/src/book-components/icons/ExitFullscreenIcon.d.ts +1 -1
  12. package/esm/src/book-components/icons/FullscreenIcon.d.ts +1 -1
  13. package/esm/src/version.d.ts +1 -1
  14. package/package.json +2 -2
  15. package/umd/index.umd.js +2 -2
  16. package/umd/index.umd.js.map +1 -1
  17. package/umd/src/book-components/BookEditor/BookEditor.d.ts +1 -1
  18. package/umd/src/book-components/BookEditor/BookEditorForClient.d.ts +1 -1
  19. package/umd/src/book-components/Chat/Chat/CitationIframePreview.d.ts +20 -0
  20. package/umd/src/book-components/_common/Dropdown/Dropdown.d.ts +1 -1
  21. package/umd/src/book-components/_common/MenuHoisting/MenuHoistingContext.d.ts +1 -1
  22. package/umd/src/book-components/_common/Modal/Modal.d.ts +1 -1
  23. package/umd/src/book-components/icons/AboutIcon.d.ts +1 -1
  24. package/umd/src/book-components/icons/DownloadIcon.d.ts +1 -1
  25. package/umd/src/book-components/icons/ExitFullscreenIcon.d.ts +1 -1
  26. package/umd/src/book-components/icons/FullscreenIcon.d.ts +1 -1
  27. package/umd/src/version.d.ts +1 -1
package/esm/index.es.js CHANGED
@@ -35,7 +35,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
35
35
  * @generated
36
36
  * @see https://github.com/webgptorg/promptbook
37
37
  */
38
- const PROMPTBOOK_ENGINE_VERSION = '0.112.0-118';
38
+ const PROMPTBOOK_ENGINE_VERSION = '0.112.0-119';
39
39
  /**
40
40
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
41
41
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -33764,7 +33764,7 @@ class OpenAiVectorStoreKnowledgeSourcePreparer {
33764
33764
  return { skippedReason: 'invalid_data_url' };
33765
33765
  }
33766
33766
  return {
33767
- file: new File([parsed.buffer], parsed.filename, {
33767
+ file: new File([new Uint8Array(parsed.buffer)], parsed.filename, {
33768
33768
  type: parsed.mimeType,
33769
33769
  }),
33770
33770
  sizeBytes: parsed.buffer.length,