@govtechsg/open-attestation
Version:
12 lines (11 loc) • 551 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isWrapDocumentOptionV3 = void 0;
var document_1 = require("./document");
/**
* @deprecated will be removed in the next major release in favour of OpenAttestation v4.0 (more info: https://github.com/Open-Attestation/open-attestation/tree/alpha)
*/
var isWrapDocumentOptionV3 = function (options) {
return (options === null || options === void 0 ? void 0 : options.version) === document_1.SchemaId.v3;
};
exports.isWrapDocumentOptionV3 = isWrapDocumentOptionV3;