mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-22 19:38:02 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.jsonEncryptFormat = jsonEncryptFormat;
|
||||
const index_js_1 = require("../base64/index.js");
|
||||
const constants_js_1 = require("./constants.js");
|
||||
function jsonEncryptFormat(encoded, contentType, isEncrypted) {
|
||||
return {
|
||||
encoded: (0, index_js_1.base64Encode)(encoded),
|
||||
encoding: {
|
||||
content: contentType,
|
||||
type: isEncrypted
|
||||
? constants_js_1.ENCODING
|
||||
: constants_js_1.ENCODING_NONE,
|
||||
version: constants_js_1.ENCODING_VERSION
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user