@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.
- package/dist/wa-sqlite.node.mjs +6261 -0
- package/dist/wa-sqlite.node.wasm +0 -0
- package/package.json +1 -1
- package/src/types/globals.d.ts +3 -3
- package/src/types/index.d.ts +6 -2
|
Binary file
|
package/package.json
CHANGED
package/src/types/globals.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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;
|
package/src/types/index.d.ts
CHANGED
|
@@ -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
|
|
902
|
-
export type
|
|
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;
|