@enbox/dids
Version:
TBD DIDs library
24 lines • 622 B
JavaScript
/**
* No-op cache that is used as the default cache for did-resolver.
*
* The motivation behind using a no-op cache as the default stems from the desire to maximize the
* potential for this library to be used in as many JS runtimes as possible.
*/
export const DidResolverCacheNoop = {
get: function (_key) {
return null;
},
set: function (_key, _value) {
return null;
},
delete: function (_key) {
return null;
},
clear: function () {
return null;
},
close: function () {
return null;
}
};
//# sourceMappingURL=resolver-cache-noop.js.map