{"version":3,"file":"PlainLocalStorageDriver.mjs","names":[],"sources":["../../../../../../../cache/src/drivers/PlainLocalStorageDriver.ts"],"sourcesContent":["import { CacheDriverInterface } from \"../types\";\r\nimport BaseCacheEngine from \"./BaseCacheEngine\";\r\n\r\nexport default class PlainLocalStorageDriver\r\n  extends BaseCacheEngine\r\n  implements CacheDriverInterface\r\n{\r\n  /**\r\n   * Set the storage engine\r\n   *\r\n   * `localStorage` is synchronous; `BaseCacheEngine` wraps every call to\r\n   * it in `Promise.resolve(...)` so this driver exposes the same async\r\n   * contract as the IndexedDB one. Nothing about the timing of the write\r\n   * itself changes.\r\n   */\r\n  public storage = localStorage;\r\n}\r\n"],"mappings":";;;AAGA,IAAqB,0BAArB,cACU,gBAEV;;;iBASmB;;AACnB"}