@promptbook/remote-server 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
@@ -39,7 +39,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
39
39
  * @generated
40
40
  * @see https://github.com/webgptorg/promptbook
41
41
  */
42
- const PROMPTBOOK_ENGINE_VERSION = '0.112.0-118';
42
+ const PROMPTBOOK_ENGINE_VERSION = '0.112.0-119';
43
43
  /**
44
44
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
45
45
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -38073,7 +38073,7 @@ class OpenAiVectorStoreKnowledgeSourcePreparer {
38073
38073
  return { skippedReason: 'invalid_data_url' };
38074
38074
  }
38075
38075
  return {
38076
- file: new File([parsed.buffer], parsed.filename, {
38076
+ file: new File([new Uint8Array(parsed.buffer)], parsed.filename, {
38077
38077
  type: parsed.mimeType,
38078
38078
  }),
38079
38079
  sizeBytes: parsed.buffer.length,