diff --git a/package.json b/package.json index 8cb2a27..0fc3e63 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wa-sqlite", - "version": "1.0.3", + "version": "1.0.4", "type": "module", "main": "src/sqlite-api.js", "types": "src/types/index.d.ts", diff --git a/src/types/index.d.ts b/src/types/index.d.ts index 4056786..d17895a 100644 --- a/src/types/index.d.ts +++ b/src/types/index.d.ts @@ -1315,3 +1315,18 @@ declare module 'wa-sqlite/src/examples/tag.js' { */ export function tag(sqlite3: any, db: number): (arg0: TemplateStringsArray, ...args: any[]) => Promise; } + +/** @ignore */ +declare module 'wa-sqlite/src/examples/IDBBatchAtomicVFS.js' { + import * as VFS from "wa-sqlite/src/VFS.js"; + + export interface IDBBatchAtomicVFSOptions { + durability?: "default" | "strict" | "relaxed"; + purge?: "deferred" | "manual"; + purgeAtLeast?: number; + } + + export class IDBBatchAtomicVFS extends VFS.Base { + constructor(idbDatabaseName:string, options: IDBBatchAtomicVFSOptions) + } +}