@promptbook/wizard 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
@@ -37,7 +37,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
37
37
  * @generated
38
38
  * @see https://github.com/webgptorg/promptbook
39
39
  */
40
- const PROMPTBOOK_ENGINE_VERSION = '0.112.0-118';
40
+ const PROMPTBOOK_ENGINE_VERSION = '0.112.0-119';
41
41
  /**
42
42
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
43
43
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -10019,7 +10019,7 @@ class OpenAiVectorStoreKnowledgeSourcePreparer {
10019
10019
  return { skippedReason: 'invalid_data_url' };
10020
10020
  }
10021
10021
  return {
10022
- file: new File([parsed.buffer], parsed.filename, {
10022
+ file: new File([new Uint8Array(parsed.buffer)], parsed.filename, {
10023
10023
  type: parsed.mimeType,
10024
10024
  }),
10025
10025
  sizeBytes: parsed.buffer.length,