@livestore/wa-sqlite 1.0.1-dev.0 → 1.0.1-dev.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livestore/wa-sqlite",
3
- "version": "1.0.1-dev.0",
3
+ "version": "1.0.1-dev.1",
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;
@@ -151,14 +151,14 @@ declare interface SQLitePrepareOptions {
151
151
  *
152
152
  * ```javascript
153
153
  * // Import an ES6 module factory function from one of the
154
- * // package builds, either 'wa-sqlite.mjs' (synchronous) or
155
- * // 'wa-sqlite-async.mjs' (asynchronous). You should only
154
+ * // package builds, either '@livestore/wa-sqlite.mjs' (synchronous) or
155
+ * // '@livestore/wa-sqlite-async.mjs' (asynchronous). You should only
156
156
  * // use the asynchronous build if you plan to use an
157
157
  * // asynchronous VFS or module.
158
- * import SQLiteESMFactory from 'wa-sqlite/dist/wa-sqlite.mjs';
158
+ * import SQLiteESMFactory from '@livestore/wa-sqlite/dist/wa-sqlite.mjs';
159
159
  *
160
160
  * // Import the Javascript API wrappers.
161
- * import * as SQLite from 'wa-sqlite';
161
+ * import * as SQLite from '@livestore/wa-sqlite';
162
162
  *
163
163
  * // Use an async function to simplify Promise handling.
164
164
  * (async function() {
@@ -823,7 +823,7 @@ declare interface SQLiteAPI {
823
823
  }
824
824
 
825
825
  /** @ignore */
826
- declare module 'wa-sqlite/src/sqlite-constants.js' {
826
+ declare module '@livestore/wa-sqlite/src/sqlite-constants.js' {
827
827
  export const SQLITE_OK: 0;
828
828
  export const SQLITE_ERROR: 1;
829
829
  export const SQLITE_INTERNAL: 2;
@@ -1058,8 +1058,8 @@ declare module 'wa-sqlite/src/sqlite-constants.js' {
1058
1058
  export const SQLITE_PREPARE_NO_VTAB: 0x04;
1059
1059
  }
1060
1060
 
1061
- declare module 'wa-sqlite' {
1062
- export * from 'wa-sqlite/src/sqlite-constants.js';
1061
+ declare module '@livestore/wa-sqlite' {
1062
+ export * from '@livestore/wa-sqlite/src/sqlite-constants.js';
1063
1063
 
1064
1064
  /**
1065
1065
  * @ignore
@@ -1078,20 +1078,20 @@ declare module 'wa-sqlite' {
1078
1078
  }
1079
1079
 
1080
1080
  /** @ignore */
1081
- declare module 'wa-sqlite/dist/wa-sqlite.mjs' {
1081
+ declare module '@livestore/wa-sqlite/dist/wa-sqlite.mjs' {
1082
1082
  function ModuleFactory(config?: object): Promise<any>;
1083
1083
  export = ModuleFactory;
1084
1084
  }
1085
1085
 
1086
1086
  /** @ignore */
1087
- declare module 'wa-sqlite/dist/wa-sqlite-async.mjs' {
1087
+ declare module '@livestore/wa-sqlite/dist/wa-sqlite-async.mjs' {
1088
1088
  function ModuleFactory(config?: object): Promise<any>;
1089
1089
  export = ModuleFactory;
1090
1090
  }
1091
1091
 
1092
1092
  /** @ignore */
1093
- declare module 'wa-sqlite/src/VFS.js' {
1094
- export * from 'wa-sqlite/src/sqlite-constants.js';
1093
+ declare module '@livestore/wa-sqlite/src/VFS.js' {
1094
+ export * from '@livestore/wa-sqlite/src/sqlite-constants.js';
1095
1095
 
1096
1096
  export class Base {
1097
1097
  mxPathName: number;
@@ -1206,7 +1206,7 @@ declare module 'wa-sqlite/src/VFS.js' {
1206
1206
  }
1207
1207
 
1208
1208
  /** @ignore */
1209
- declare module 'wa-sqlite/src/examples/IndexedDbVFS.js' {
1209
+ declare module '@livestore/wa-sqlite/src/examples/IndexedDbVFS.js' {
1210
1210
  import * as VFS from "wa-sqlite/src/VFS.js";
1211
1211
  export class IndexedDbVFS extends VFS.Base {
1212
1212
  /**
@@ -1260,7 +1260,7 @@ declare module 'wa-sqlite/src/examples/IndexedDbVFS.js' {
1260
1260
  }
1261
1261
 
1262
1262
  /** @ignore */
1263
- declare module 'wa-sqlite/src/examples/MemoryVFS.js' {
1263
+ declare module '@livestore/wa-sqlite/src/examples/MemoryVFS.js' {
1264
1264
  import * as VFS from "wa-sqlite/src/VFS.js";
1265
1265
  /** @ignore */
1266
1266
  export class MemoryVFS extends VFS.Base {
@@ -1271,14 +1271,14 @@ declare module 'wa-sqlite/src/examples/MemoryVFS.js' {
1271
1271
  }
1272
1272
 
1273
1273
  /** @ignore */
1274
- declare module 'wa-sqlite/src/examples/MemoryAsyncVFS.js' {
1274
+ declare module '@livestore/wa-sqlite/src/examples/MemoryAsyncVFS.js' {
1275
1275
  import { MemoryVFS } from "wa-sqlite/src/examples/MemoryVFS.js";
1276
1276
  export class MemoryAsyncVFS extends MemoryVFS {
1277
1277
  }
1278
1278
  }
1279
1279
 
1280
1280
  /** @ignore */
1281
- declare module 'wa-sqlite/src/examples/tag.js' {
1281
+ declare module '@livestore/wa-sqlite/src/examples/tag.js' {
1282
1282
  /**
1283
1283
  * @ignore
1284
1284
  * Template tag builder. This function creates a tag with an API and