react-3d-flipbook 1.1.6 → 1.1.7

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.
@@ -77,7 +77,7 @@ export declare function calculateFlipbookSizeFromPages(pages: FlipbookPage[], op
77
77
  * setPdfWorkerSrc(workerSrc);
78
78
  *
79
79
  * // For CDN
80
- * setPdfWorkerSrc('https://unpkg.com/pdfjs-dist@4.0.379/build/pdf.worker.mjs');
80
+ * setPdfWorkerSrc('https://unpkg.com/pdfjs-dist/build/pdf.worker.mjs');
81
81
  */
82
82
  export declare function setPdfWorkerSrc(workerSrc: string): void;
83
83
  export interface PdfToImagesOptions {
@@ -116,7 +116,7 @@ export interface PdfPageInfo {
116
116
  * import { pdfToFlipbookPages, setPdfWorkerSrc } from 'react-3d-flipbook/utils';
117
117
  *
118
118
  * // Set up worker first
119
- * setPdfWorkerSrc('https://unpkg.com/pdfjs-dist@4.0.379/build/pdf.worker.mjs');
119
+ * setPdfWorkerSrc('https://unpkg.com/pdfjs-dist/build/pdf.worker.mjs');
120
120
  *
121
121
  * // Convert PDF to flipbook pages
122
122
  * const pages = await pdfToFlipbookPages('https://example.com/document.pdf', {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-3d-flipbook",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "A modern React library for creating beautiful, interactive 3D flipbooks with realistic page-turning effects powered by WebGL and Three.js. Supports PDF loading, automatic page sizing, and customizable camera controls.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -78,7 +78,7 @@
78
78
  }
79
79
  },
80
80
  "optionalDependencies": {
81
- "pdfjs-dist": "^4.0.0"
81
+ "pdfjs-dist": "^5.4.449"
82
82
  },
83
83
  "devDependencies": {
84
84
  "@rollup/plugin-commonjs": "^25.0.7",