hsu-utils 0.0.24 → 0.0.25
Sign up to get free protection for your applications and to get access to all the features.
package/es/RenderPDF/index.js
CHANGED
@@ -8,7 +8,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
8
8
|
});
|
9
9
|
};
|
10
10
|
import { GlobalWorkerOptions, getDocument } from 'pdfjs-dist/legacy/build/pdf.js';
|
11
|
-
GlobalWorkerOptions.workerSrc = 'https://cdn.
|
11
|
+
GlobalWorkerOptions.workerSrc = 'https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/pdf.js/2.13.216/pdf.worker.js';
|
12
12
|
const PDFMap = new Map();
|
13
13
|
function load(pdfUrl) {
|
14
14
|
return __awaiter(this, void 0, void 0, function* () {
|
package/lib/RenderPDF/index.js
CHANGED
@@ -37,7 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
37
37
|
};
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
39
39
|
var pdf_js_1 = require("pdfjs-dist/legacy/build/pdf.js");
|
40
|
-
pdf_js_1.GlobalWorkerOptions.workerSrc = 'https://cdn.
|
40
|
+
pdf_js_1.GlobalWorkerOptions.workerSrc = 'https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/pdf.js/2.13.216/pdf.worker.js';
|
41
41
|
var PDFMap = new Map();
|
42
42
|
function load(pdfUrl) {
|
43
43
|
return __awaiter(this, void 0, void 0, function () {
|