@promptbook/openai 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
@@ -20,7 +20,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
20
20
  * @generated
21
21
  * @see https://github.com/webgptorg/promptbook
22
22
  */
23
- const PROMPTBOOK_ENGINE_VERSION = '0.112.0-118';
23
+ const PROMPTBOOK_ENGINE_VERSION = '0.112.0-119';
24
24
  /**
25
25
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
26
26
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -6760,7 +6760,7 @@ class OpenAiVectorStoreKnowledgeSourcePreparer {
6760
6760
  return { skippedReason: 'invalid_data_url' };
6761
6761
  }
6762
6762
  return {
6763
- file: new File([parsed.buffer], parsed.filename, {
6763
+ file: new File([new Uint8Array(parsed.buffer)], parsed.filename, {
6764
6764
  type: parsed.mimeType,
6765
6765
  }),
6766
6766
  sizeBytes: parsed.buffer.length,