@salutejs/storage-adapter-memory
Advanced tools
Comparing version 1.0.1-canary.118.7192992318.0 to 1.0.1-canary.118.7193093817.0
import { SaluteSession, SaluteSessionStorage } from '@salutejs/scenario'; | ||
export declare class SaluteMemoryStorage<S extends Record<string, unknown> = Record<string, unknown>> implements SaluteSessionStorage { | ||
export declare class SaluteMemoryStorage implements SaluteSessionStorage { | ||
private sessions; | ||
@@ -8,6 +8,6 @@ private lifetime; | ||
}); | ||
resolve(id: string): Promise<SaluteSession<S>>; | ||
resolve(id: string): Promise<SaluteSession<Record<string, unknown>>>; | ||
save({ id, session }: { | ||
id: string; | ||
session: SaluteSession<S>; | ||
session: SaluteSession; | ||
}): Promise<void>; | ||
@@ -14,0 +14,0 @@ reset(id: string): Promise<void>; |
{ | ||
"name": "@salutejs/storage-adapter-memory", | ||
"version": "1.0.1-canary.118.7192992318.0", | ||
"version": "1.0.1-canary.118.7193093817.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.7192992318.0" | ||
"@salutejs/scenario": "1.0.1-canary.118.7193093817.0" | ||
}, | ||
"gitHead": "ab73fbfdaaa9b82dfcbd1129c22e0734bddee2b4" | ||
"gitHead": "e8e16250dc4501d0b86272a85cd15cecac5b3820" | ||
} |
Sorry, the diff of this file is not supported yet
8178
+ Added@salutejs/scenario@1.0.1-canary.118.7193093817.0(transitive)
- Removed@salutejs/scenario@1.0.1-canary.118.7192992318.0(transitive)