@rwillians/qx 0.1.13 → 0.1.14
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/cjs/bun-sqlite.js
CHANGED
|
@@ -508,7 +508,7 @@ exports.connect = connect;
|
|
|
508
508
|
/**
|
|
509
509
|
* @public An in-memory database connection.
|
|
510
510
|
* @since 0.1.12
|
|
511
|
-
* @version
|
|
511
|
+
* @version 2
|
|
512
512
|
*/
|
|
513
|
-
const inmemory = connect(':memory:');
|
|
513
|
+
const inmemory = () => connect(':memory:');
|
|
514
514
|
exports.inmemory = inmemory;
|
package/dist/esm/bun-sqlite.js
CHANGED
|
@@ -504,9 +504,9 @@ const connect = (...args) => new BunSQLite(new Database(...args));
|
|
|
504
504
|
/**
|
|
505
505
|
* @public An in-memory database connection.
|
|
506
506
|
* @since 0.1.12
|
|
507
|
-
* @version
|
|
507
|
+
* @version 2
|
|
508
508
|
*/
|
|
509
|
-
const inmemory = connect(':memory:');
|
|
509
|
+
const inmemory = () => connect(':memory:');
|
|
510
510
|
// // // // // // // // // // // // // // // // // // // // // // // //
|
|
511
511
|
// EXPORTS //
|
|
512
512
|
// // // // // // // // // // // // // // // // // // // // // // // //
|
|
@@ -53,7 +53,7 @@ declare const connect: (...args: ConstructorParameters<typeof Database>) => BunS
|
|
|
53
53
|
/**
|
|
54
54
|
* @public An in-memory database connection.
|
|
55
55
|
* @since 0.1.12
|
|
56
|
-
* @version
|
|
56
|
+
* @version 2
|
|
57
57
|
*/
|
|
58
|
-
declare const inmemory: BunSQLite;
|
|
58
|
+
declare const inmemory: () => BunSQLite;
|
|
59
59
|
export { connect, inmemory, };
|