document-viewer-ts
Advanced tools
Comparing version 0.7.0-legacy to 0.7.1-legacy
@@ -70,3 +70,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
prevButton.className = 'prev-button'; | ||
const loadingTask = getDocument(documentUrl); | ||
const loadingTask = getDocument({ url: documentUrl, isEvalSupported: false }); | ||
const zoomSelect = document.createElement('select'); | ||
@@ -73,0 +73,0 @@ zoomSelect.className = 'zoom-select'; |
@@ -73,3 +73,3 @@ "use strict"; | ||
prevButton.className = 'prev-button'; | ||
const loadingTask = (0, pdf_1.getDocument)(documentUrl); | ||
const loadingTask = (0, pdf_1.getDocument)({ url: documentUrl, isEvalSupported: false }); | ||
const zoomSelect = document.createElement('select'); | ||
@@ -76,0 +76,0 @@ zoomSelect.className = 'zoom-select'; |
{ | ||
"name": "document-viewer-ts", | ||
"version": "0.7.0-legacy", | ||
"version": "0.7.1-legacy", | ||
"description": "PDF and MS Doc viewer written in TypeScript for React and vanilla JavaScript", | ||
@@ -5,0 +5,0 @@ "main": "dist/lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
62278