Skip to content
Snippets Groups Projects
Commit 3be821a5 authored by Igor Markin's avatar Igor Markin
Browse files

Update build

parent 15ddd117
No related branches found
No related tags found
1 merge request!75Upgrade lib-mime
Pipeline #42417 failed
import MIMEParser from "@vereign/mime-parser"; import MIMEParser from "@vereign/lib-mime";
declare const _default: (mime: string | MIMEParser, parseHTML?: (htmlString: string) => HTMLDocument) => Promise<{ declare const _default: (mime: string | MIMEParser, parseHTML?: (htmlString: string) => HTMLDocument) => Promise<{
sealUrl: string; sealUrl: string;
publicKey: string; publicKey: string;
......
...@@ -32,7 +32,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) { ...@@ -32,7 +32,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
}; };
Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "__esModule", { value: true });
exports.findSealContainer = void 0; exports.findSealContainer = void 0;
const mime_parser_1 = __importDefault(require("@vereign/mime-parser")); const lib_mime_1 = __importDefault(require("@vereign/lib-mime"));
const png_1 = __importStar(require("@vereign/png")); const png_1 = __importStar(require("@vereign/png"));
const url_parse_1 = __importDefault(require("url-parse")); const url_parse_1 = __importDefault(require("url-parse"));
const SealReadingError_1 = __importDefault(require("./SealReadingError")); const SealReadingError_1 = __importDefault(require("./SealReadingError"));
...@@ -45,7 +45,7 @@ const getSealId_1 = __importDefault(require("./getSealId")); ...@@ -45,7 +45,7 @@ const getSealId_1 = __importDefault(require("./getSealId"));
const OUTLOOK_SAFELINKS_WRAPPER = "safelinks.protection.outlook.com"; const OUTLOOK_SAFELINKS_WRAPPER = "safelinks.protection.outlook.com";
exports.default = (mime, parseHTML = null) => __awaiter(void 0, void 0, void 0, function* () { exports.default = (mime, parseHTML = null) => __awaiter(void 0, void 0, void 0, function* () {
if (typeof mime === "string") { if (typeof mime === "string") {
mime = new mime_parser_1.default(mime); mime = new lib_mime_1.default(mime);
} }
if (parseHTML) { if (parseHTML) {
mime.parseHTML = parseHTML; mime.parseHTML = parseHTML;
......
import SealReadingError from "./SealReadingError"; import SealReadingError from "./SealReadingError";
declare const _default: { declare const _default: {
SealReadingError: typeof SealReadingError; SealReadingError: typeof SealReadingError;
extractSealFromMime: (mime: string | import("@vereign/mime-parser/dist/MIMEParser").default, parseHTML?: (htmlString: string) => HTMLDocument) => Promise<{ extractSealFromMime: (mime: string | import("@vereign/lib-mime/dist/MIMEParser").default, parseHTML?: (htmlString: string) => HTMLDocument) => Promise<{
sealUrl: string; sealUrl: string;
publicKey: string; publicKey: string;
sealId: string; sealId: string;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment