@scaleflex/widget-pdf-js 4.0.0 → 4.0.2

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.
package/CHANGELOG.md CHANGED
@@ -3,14 +3,37 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- # [4.0.0](https://code.scaleflex.cloud/scaleflex/widget/compare/v0.3.0...v4.0.0) (2025-08-26)
6
+ ## [4.0.2](https://code.scaleflex.cloud/scaleflex/widget/compare/v4.0.0...v4.0.2) (2025-08-26)
7
7
 
8
- **Note:** Version bump only for package @scaleflex/widget-pdf-js
9
8
 
9
+ ### Bug Fixes
10
10
 
11
+ * update output filename for Scaleflex widget CSS and adjust CDN links for consistency across various components ([244813e](https://code.scaleflex.cloud/scaleflex/widget/commits/244813e3100c606995ec8988484cf7697398f062))
11
12
 
12
13
 
13
14
 
15
+
16
+
17
+ ## [4.0.1](https://code.scaleflex.cloud/scaleflex/widget/compare/v4.0.0...v4.0.1) (2025-08-26)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * update output filename for Scaleflex widget CSS and adjust CDN links for consistency across various components ([244813e](https://code.scaleflex.cloud/scaleflex/widget/commits/244813e3100c606995ec8988484cf7697398f062))
23
+
24
+
25
+
26
+
27
+
28
+
29
+ # [4.0.0](https://code.scaleflex.cloud/scaleflex/widget/compare/v0.3.0...v4.0.0) (2025-08-26)
30
+
31
+ **Note:** Version bump only for package @scaleflex/widget-pdf-js
32
+
33
+
34
+
35
+
36
+
14
37
 
15
38
  # [0.3.0](https://code.scaleflex.cloud/scaleflex/widget/compare/v0.2.1...v0.3.0) (2025-08-12)
16
39
 
package/lib/index.js CHANGED
@@ -86,11 +86,11 @@ var PdfJs = /*#__PURE__*/function (_Plugin) {
86
86
  // Also would cause to change the bundled JS bundle type from umd to es, so using the CDN avoids that.
87
87
  var script = document.createElement('script');
88
88
  script.id = this.libId;
89
- script.src = 'https://scaleflex.cloudimg.io/v7/plugins/filerobot-widget/assets/js/pdf.min.js?vh=a4641a&func=proxy';
89
+ script.src = 'https://cdn.scaleflex.com/plugins/widget/assets/js/pdf.min.js?vh=a4641a&func=proxy';
90
90
  script.async = true;
91
91
  script.onload = function () {
92
92
  _this2.pdfJsLib = window.pdfjsLib;
93
- _this2.pdfJsLib.GlobalWorkerOptions.workerSrc = 'https://scaleflex.cloudimg.io/v7/plugins/filerobot-widget/assets/js/pdf.worker.js?vh=49162d&func=proxy';
93
+ _this2.pdfJsLib.GlobalWorkerOptions.workerSrc = 'https://cdn.scaleflex.com/plugins/widget/assets/js/pdf.worker.js?vh=49162d&func=proxy';
94
94
  _this2.isPdfJsLibLoading = false;
95
95
  if (typeof _this2.onLoadPdfJsLib === 'function') {
96
96
  _this2.onLoadPdfJsLib();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleflex/widget-pdf-js",
3
- "version": "4.0.0",
3
+ "version": "4.0.2",
4
4
  "description": "Pdf-js integration with Scaleflex",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.js",
@@ -15,7 +15,7 @@
15
15
  "dependencies": {
16
16
  "@scaleflex/icons": "^3.0.0-beta.11",
17
17
  "@scaleflex/ui": "^3.0.0-beta.11",
18
- "@scaleflex/widget-common": "^4.0.0"
18
+ "@scaleflex/widget-common": "^4.0.2"
19
19
  },
20
20
  "devDependencies": {
21
21
  "react": "^19.0.0",
@@ -27,5 +27,5 @@
27
27
  "react": ">=19.0.0",
28
28
  "react-dom": ">=19.0.0"
29
29
  },
30
- "gitHead": "bf4d9631c2695e70b94092490e4a9800b54b38b7"
30
+ "gitHead": "244f78ed198cf8709905eef721cf02d185f15051"
31
31
  }