@salutejs/storage-adapter-memory
Advanced tools
Comparing version 1.0.1-canary.118.7126677963.0 to 1.0.1-canary.118.7138903248.0
import { SaluteSession, SaluteSessionStorage } from '@salutejs/scenario'; | ||
export declare class SaluteMemoryStorage implements SaluteSessionStorage { | ||
export declare class SaluteMemoryStorage<S extends Record<string, unknown> = Record<string, unknown>> implements SaluteSessionStorage { | ||
private sessions; | ||
@@ -8,6 +8,6 @@ private lifetime; | ||
}); | ||
resolve(id: string): Promise<SaluteSession>; | ||
resolve(id: string): Promise<SaluteSession<S>>; | ||
save({ id, session }: { | ||
id: string; | ||
session: SaluteSession; | ||
session: SaluteSession<S>; | ||
}): Promise<void>; | ||
@@ -14,0 +14,0 @@ reset(id: string): Promise<void>; |
{ | ||
"name": "@salutejs/storage-adapter-memory", | ||
"version": "1.0.1-canary.118.7126677963.0", | ||
"version": "1.0.1-canary.118.7138903248.0", | ||
"description": "In memory storage adapter for SaluteJS", | ||
@@ -32,5 +32,5 @@ "author": "Salute Frontend Team <salute.developers@gmail.com>", | ||
"dependencies": { | ||
"@salutejs/scenario": "1.0.1-canary.118.7126677963.0" | ||
"@salutejs/scenario": "1.0.1-canary.118.7138903248.0" | ||
}, | ||
"gitHead": "e174bd468957014f5ddb63a3fff804f113fbfd45" | ||
"gitHead": "b7be0e51d775e32fac8124c56d82b3143f9eb15e" | ||
} |
Sorry, the diff of this file is not supported yet
8321
+ Added@salutejs/scenario@1.0.1-canary.118.7138903248.0(transitive)
- Removed@salutejs/scenario@1.0.1-canary.118.7126677963.0(transitive)