Skip to content

Commit 1cdf4ce

Browse files
committed
v3.49.0-build2
1 parent 302a2a9 commit 1cdf4ce

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sqlite.org/sqlite-wasm",
3-
"version": "3.49.0-build1",
3+
"version": "3.49.0-build2",
44
"description": "SQLite Wasm conveniently wrapped as an ES Module.",
55
"keywords": [
66
"sqlite",

sqlite-wasm/jswasm/sqlite3-worker1-bundler-friendly.mjs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,14 @@
3232
directory from which `sqlite3.js` will be loaded.
3333
*/
3434
'use strict';
35-
{
35+
(async () => {
3636
const urlParams = globalThis.location
3737
? new URL(globalThis.location.href).searchParams
3838
: new URLSearchParams();
39-
let theJs = './sqlite3.js';
39+
let theJs = './sqlite3.js';
4040
if (urlParams.has('sqlite3.dir')) {
4141
theJs = urlParams.get('sqlite3.dir') + '/' + theJs;
4242
}
4343

4444
await import(theJs);
45-
}
46-
sqlite3InitModule().then((sqlite3) => sqlite3.initWorker1API());
45+
})().then(() => sqlite3InitModule().then((sqlite3) => sqlite3.initWorker1API()));

0 commit comments

Comments
 (0)