import t from"lz-string";import{CACHE_VERSION as r,CACHE_TTL as e}from"./constants.js";var n=function(n){if(n.version!==r)return null;if(Date.now()-n.timestamp>=e)return null;var s=t.decompressFromUTF16(n.state);return s?{state:JSON.parse(s),timestamp:n.timestamp}:null};export{n as validateEnvelope};
//# sourceMappingURL=validateEnvelope.js.map
