Skip to content

Commit

Permalink
PDF.js version 2.6.352
Browse files Browse the repository at this point in the history
Allows displaying signatures
  • Loading branch information
ChrisBase committed Aug 8, 2024
1 parent 211147b commit 1f047e8
Show file tree
Hide file tree
Showing 22 changed files with 42 additions and 45 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sitewaerts/pdfjs-dist",
"version": "2.6.351",
"version": "2.6.352",
"main": [
"build/pdf.js",
"build/pdf.worker.js"
Expand Down
10 changes: 5 additions & 5 deletions build/pdf.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/pdf.min.js

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions build/pdf.worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ Object.defineProperty(exports, "WorkerMessageHandler", {
}
});
var _worker = __w_pdfjs_require__(1);
const pdfjsVersion = '2.6.351';
const pdfjsBuild = '4000cc162';
const pdfjsVersion = '2.6.352';
const pdfjsBuild = '500b24b1f';

/***/ }),
/* 1 */
Expand Down Expand Up @@ -209,7 +209,7 @@ class WorkerMessageHandler {
var WorkerTasks = [];
const verbosity = (0, _util.getVerbosityLevel)();
const apiVersion = docParams.apiVersion;
const workerVersion = '2.6.351';
const workerVersion = '2.6.352';
if (apiVersion !== workerVersion) {
throw new Error(`The API version "${apiVersion}" does not match ` + `the Worker version "${workerVersion}".`);
}
Expand Down Expand Up @@ -15957,7 +15957,6 @@ class WidgetAnnotation extends Annotation {
data.readOnly = this.hasFieldFlag(_util.AnnotationFieldFlag.READONLY);
if (data.fieldType === "Sig") {
data.fieldValue = null;
this.setFlags(_util.AnnotationFlag.HIDDEN);
}
}
_constructFieldName(dict) {
Expand Down
2 changes: 1 addition & 1 deletion build/pdf.worker.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/pdf.worker.min.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions es5/build/pdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,8 @@ var _api_compatibility = __w_pdfjs_require__(206);
var _worker_options = __w_pdfjs_require__(209);
var _text_layer = __w_pdfjs_require__(217);
var _svg = __w_pdfjs_require__(218);
var pdfjsVersion = '2.6.351';
var pdfjsBuild = '4000cc162';
var pdfjsVersion = '2.6.352';
var pdfjsBuild = '500b24b1f';
{
var _require = __w_pdfjs_require__(7),
isNodeJS = _require.isNodeJS;
Expand Down Expand Up @@ -11904,7 +11904,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
}
return worker.messageHandler.sendWithPromise("GetDocRequest", {
docId: docId,
apiVersion: '2.6.351',
apiVersion: '2.6.352',
source: {
data: source.data,
url: source.url,
Expand Down Expand Up @@ -13878,9 +13878,9 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
}();
return InternalRenderTask;
}();
var version = '2.6.351';
var version = '2.6.352';
exports.version = version;
var build = '4000cc162';
var build = '500b24b1f';
exports.build = build;

/***/ }),
Expand Down
2 changes: 1 addition & 1 deletion es5/build/pdf.min.js

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions es5/build/pdf.worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ Object.defineProperty(exports, "WorkerMessageHandler", {
}
});
var _worker = __w_pdfjs_require__(1);
var pdfjsVersion = '2.6.351';
var pdfjsBuild = '4000cc162';
var pdfjsVersion = '2.6.352';
var pdfjsBuild = '500b24b1f';

/***/ }),
/* 1 */
Expand Down Expand Up @@ -243,7 +243,7 @@ var WorkerMessageHandler = /*#__PURE__*/function () {
var WorkerTasks = [];
var verbosity = (0, _util.getVerbosityLevel)();
var apiVersion = docParams.apiVersion;
var workerVersion = '2.6.351';
var workerVersion = '2.6.352';
if (apiVersion !== workerVersion) {
throw new Error("The API version \"".concat(apiVersion, "\" does not match ") + "the Worker version \"".concat(workerVersion, "\"."));
}
Expand Down Expand Up @@ -27552,7 +27552,6 @@ var WidgetAnnotation = /*#__PURE__*/function (_Annotation2) {
data.readOnly = _this3.hasFieldFlag(_util.AnnotationFieldFlag.READONLY);
if (data.fieldType === "Sig") {
data.fieldValue = null;
_this3.setFlags(_util.AnnotationFlag.HIDDEN);
}
return _this3;
}
Expand Down
2 changes: 1 addition & 1 deletion es5/build/pdf.worker.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion es5/build/pdf.worker.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions es5/image_decoders/pdf.image_decoders.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions es5/web/pdf_viewer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions image_decoders/pdf.image_decoders.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion lib/core/annotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,6 @@ class WidgetAnnotation extends Annotation {
data.readOnly = this.hasFieldFlag(_util.AnnotationFieldFlag.READONLY);
if (data.fieldType === "Sig") {
data.fieldValue = null;
this.setFlags(_util.AnnotationFlag.HIDDEN);
}
}
_constructFieldName(dict) {
Expand Down
2 changes: 1 addition & 1 deletion lib/core/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class WorkerMessageHandler {
var WorkerTasks = [];
const verbosity = (0, _util.getVerbosityLevel)();
const apiVersion = docParams.apiVersion;
const workerVersion = '2.6.351';
const workerVersion = '2.6.352';
if (apiVersion !== workerVersion) {
throw new Error(`The API version "${apiVersion}" does not match ` + `the Worker version "${workerVersion}".`);
}
Expand Down
6 changes: 3 additions & 3 deletions lib/display/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function _fetchDocument(worker, source, pdfDataRangeTransport, docId) {
}
return worker.messageHandler.sendWithPromise("GetDocRequest", {
docId,
apiVersion: '2.6.351',
apiVersion: '2.6.352',
source: {
data: source.data,
url: source.url,
Expand Down Expand Up @@ -1753,7 +1753,7 @@ const InternalRenderTask = function InternalRenderTaskClosure() {
}
return InternalRenderTask;
}();
const version = '2.6.351';
const version = '2.6.352';
exports.version = version;
const build = '4000cc162';
const build = '500b24b1f';
exports.build = build;
4 changes: 2 additions & 2 deletions lib/pdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ var _api_compatibility = require("./display/api_compatibility.js");
var _worker_options = require("./display/worker_options.js");
var _text_layer = require("./display/text_layer.js");
var _svg = require("./display/svg.js");
const pdfjsVersion = '2.6.351';
const pdfjsBuild = '4000cc162';
const pdfjsVersion = '2.6.352';
const pdfjsBuild = '500b24b1f';
{
const {
isNodeJS
Expand Down
4 changes: 2 additions & 2 deletions lib/pdf.worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ Object.defineProperty(exports, "WorkerMessageHandler", {
}
});
var _worker = require("./core/worker.js");
const pdfjsVersion = '2.6.351';
const pdfjsBuild = '4000cc162';
const pdfjsVersion = '2.6.352';
const pdfjsBuild = '500b24b1f';
4 changes: 2 additions & 2 deletions lib/web/pdf_viewer.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,5 @@ var _pdf_history = require("./pdf_history.js");
var _pdf_page_view = require("./pdf_page_view.js");
var _pdf_single_page_viewer = require("./pdf_single_page_viewer.js");
var _pdf_viewer = require("./pdf_viewer.js");
const pdfjsVersion = '2.6.351';
const pdfjsBuild = '4000cc162';
const pdfjsVersion = '2.6.352';
const pdfjsBuild = '500b24b1f';
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sitewaerts/pdfjs-dist",
"version": "2.6.351",
"version": "2.6.352",
"main": "build/pdf.js",
"types": "types/pdf.d.ts",
"description": "Generic build of Mozilla's PDF.js library.",
Expand Down
4 changes: 2 additions & 2 deletions web/pdf_viewer.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1f047e8

Please sign in to comment.