17 lines
433 B
JavaScript
17 lines
433 B
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
class StateSnapshot {
|
||
|
constructor(cookies, storages) {
|
||
|
this.cookies = cookies;
|
||
|
this.storages = storages;
|
||
|
}
|
||
|
static empty() {
|
||
|
return new StateSnapshot(null, {
|
||
|
localStorage: '[[],[]]',
|
||
|
sessionStorage: '[[],[]]',
|
||
|
});
|
||
|
}
|
||
|
}
|
||
|
exports.default = StateSnapshot;module.exports = exports.default;
|
||
|
|