@hazae41/glacier
Advanced tools
Comparing version 2.0.11-1 to 2.0.11-2
@@ -0,1 +1,2 @@ | ||
import { SuperEventTarget } from '@hazae41/plume'; | ||
import { Result } from '@hazae41/result'; | ||
@@ -9,2 +10,3 @@ import { Encoder, Bicoder } from '../../coders/coder.js'; | ||
readonly name?: string; | ||
readonly version?: number; | ||
readonly keySerializer?: Encoder<string, string>; | ||
@@ -23,7 +25,11 @@ readonly valueSerializer?: Bicoder<RawState, string>; | ||
readonly name: string; | ||
readonly version: number; | ||
readonly keySerializer: Encoder<string, string>; | ||
readonly valueSerializer: Bicoder<RawState, unknown>; | ||
readonly onCollect?: ((key: string) => Promise<void>) | undefined; | ||
readonly async: true; | ||
readonly database: Promise<Result<IDBDatabase, IDBError>>; | ||
readonly events: SuperEventTarget<{ | ||
upgrade: (e: IDBVersionChangeEvent) => void; | ||
collect: (key: string) => void; | ||
}>; | ||
private constructor(); | ||
@@ -30,0 +36,0 @@ [Symbol.dispose](): void; |
{ | ||
"type": "module", | ||
"name": "@hazae41/glacier", | ||
"version": "2.0.11-1", | ||
"version": "2.0.11-2", | ||
"author": "hazae41", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
604969
6502