Commit compiled dist for git installs
This commit is contained in:
17
dist/interfaces.js
vendored
Normal file
17
dist/interfaces.js
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* In-memory storage implementation — used as the default when no storage adapter is provided.
|
||||
*/
|
||||
export class MemoryStorage {
|
||||
constructor() {
|
||||
this.store = new Map();
|
||||
}
|
||||
/** @inheritdoc */
|
||||
getItem(key) {
|
||||
return this.store.get(key) ?? null;
|
||||
}
|
||||
/** @inheritdoc */
|
||||
setItem(key, value) {
|
||||
this.store.set(key, value);
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=interfaces.js.map
|
||||
Reference in New Issue
Block a user