UNPKG

@dwn-protocol/id-sdk

Version:

SDK for accessing the features and capabilities

24 lines (23 loc) 574 B
/** * 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; } };