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