@ -12330,6 +12330,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
@@ -12330,6 +12330,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
if ( worker . destroyed ) {
return Promise . reject ( new Error ( 'Worker was destroyed' ) ) ;
}
var apiVersion = '1.9.602' ;
source . disableAutoFetch = ( 0 , _dom _utils . getDefaultSetting ) ( 'disableAutoFetch' ) ;
source . disableStream = ( 0 , _dom _utils . getDefaultSetting ) ( 'disableStream' ) ;
source . chunkedViewerLoading = ! ! pdfDataRangeTransport ;
@ -12339,6 +12340,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
@@ -12339,6 +12340,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
}
return worker . messageHandler . sendWithPromise ( 'GetDocRequest' , {
docId : docId ,
apiVersion : apiVersion ,
source : {
data : source . data ,
url : source . url ,
@ -13632,8 +13634,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
@@ -13632,8 +13634,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
} ( ) ;
var version , build ;
{
exports . version = version = '1.9.600 ' ;
exports . build = build = 'b8371870 ' ;
exports . version = version = '1.9.602 ' ;
exports . build = build = '25806d17 ' ;
}
exports . getDocument = getDocument ;
exports . LoopbackPort = LoopbackPort ;
@ -29591,8 +29593,8 @@ exports.SVGGraphics = SVGGraphics;
@@ -29591,8 +29593,8 @@ exports.SVGGraphics = SVGGraphics;
"use strict" ;
var pdfjsVersion = '1.9.600 ' ;
var pdfjsBuild = 'b8371870 ' ;
var pdfjsVersion = '1.9.602 ' ;
var pdfjsBuild = '25806d17 ' ;
var pdfjsSharedUtil = _ _w _pdfjs _require _ _ ( 0 ) ;
var pdfjsDisplayGlobal = _ _w _pdfjs _require _ _ ( 98 ) ;
var pdfjsDisplayAPI = _ _w _pdfjs _require _ _ ( 55 ) ;
@ -35454,8 +35456,8 @@ if (!_global_scope2.default.PDFJS) {
@@ -35454,8 +35456,8 @@ if (!_global_scope2.default.PDFJS) {
}
var PDFJS = _global _scope2 . default . PDFJS ;
{
PDFJS . version = '1.9.600 ' ;
PDFJS . build = 'b8371870 ' ;
PDFJS . version = '1.9.602 ' ;
PDFJS . build = '25806d17 ' ;
}
PDFJS . pdfBug = false ;
if ( PDFJS . verbosity !== undefined ) {
@ -38412,6 +38414,11 @@ var WorkerMessageHandler = {
@@ -38412,6 +38414,11 @@ var WorkerMessageHandler = {
var terminated = false ;
var cancelXHRs = null ;
var WorkerTasks = [ ] ;
var apiVersion = docParams . apiVersion ;
var workerVersion = '1.9.602' ;
if ( apiVersion !== null && apiVersion !== workerVersion ) {
throw new Error ( 'The API version "' + apiVersion + '" does not match ' + ( 'the Worker version "' + workerVersion + '".' ) ) ;
}
var docId = docParams . docId ;
var docBaseUrl = docParams . docBaseUrl ;
var workerHandlerName = docParams . docId + '_worker' ;