@livestore/wa-sqlite 1.0.1-dev.27 → 1.0.1-dev.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livestore/wa-sqlite",
3
- "version": "1.0.1-dev.27",
3
+ "version": "1.0.1-dev.29",
4
4
  "type": "module",
5
5
  "main": "src/sqlite-api.js",
6
6
  "types": "src/types/index.d.ts",
@@ -1,6 +1,6 @@
1
- // declare namespace Asyncify {
2
- // function handleAsync(f: () => Promise<any>);
3
- // }
1
+ declare namespace Asyncify {
2
+ function handleAsync(f: () => Promise<any>);
3
+ }
4
4
 
5
5
  declare function UTF8ToString(ptr: number): string;
6
6
  declare function lengthBytesUTF8(s: string): number;
@@ -897,11 +897,15 @@ interface SQLiteAPI {
897
897
  vfs_registered: Set<string>;
898
898
  }
899
899
 
900
+ type SQLiteAPI_ = SQLiteAPI;
901
+ type SQLiteVFS_ = SQLiteVFS
902
+
900
903
  declare module '@livestore/wa-sqlite' {
901
- export type SQLiteAPI_ = SQLiteAPI;
902
- export type SQLiteVFS_ = SQLiteVFS;
904
+ export type SQLiteVFS = SQLiteVFS_;
905
+ export type SQLiteAPI = SQLiteAPI_
903
906
  }
904
907
 
908
+
905
909
  /** @ignore */
906
910
  declare module '@livestore/wa-sqlite/src/sqlite-constants.js' {
907
911
  export const SQLITE_OK: 0;