UNPKG

@wireapp/cryptobox

Version:

High-level API with persistent storage for Proteus.

14 lines (13 loc) 436 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Cryptobox_1 = require("../Cryptobox"); var PersistedRecord = (function () { function PersistedRecord(serialised, id) { this.created = Date.now(); this.id = id; this.serialised = serialised; this.version = Cryptobox_1.default.prototype.VERSION; } return PersistedRecord; }()); exports.default = PersistedRecord;