diff --git a/Makefile b/Makefile index 41da6f3b..f662f2de 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ # dependencies -SQLITE_AMALGAMATION = sqlite-amalgamation-3430100 +SQLITE_AMALGAMATION = sqlite-amalgamation-3440000 SQLITE_AMALGAMATION_ZIP_URL = https://www.sqlite.org/2023/${SQLITE_AMALGAMATION}.zip -SQLITE_AMALGAMATION_ZIP_SHA3 = 2110f85a90033016f5b5691812448e8dfa606fe407f4b2ebfec66dda2968fe3c +SQLITE_AMALGAMATION_ZIP_SHA3 = 91b5884ad3dd634f84a0096751d6c36812542e1e0042ad7b2ba059e639921d7e EXTENSION_FUNCTIONS = extension-functions.c EXTENSION_FUNCTIONS_URL = https://www.sqlite.org/contrib/download/extension-functions.c?get=25 diff --git a/demo/file/service-worker.js b/demo/file/service-worker.js index 7fce9491..18496d0a 100644 --- a/demo/file/service-worker.js +++ b/demo/file/service-worker.js @@ -100,6 +100,6 @@ class DatabaseSource { async function check(code) { if (await code !== VFS.SQLITE_OK) { - throw new Error(`Error code: ${code}`); + throw new Error(`Error code: ${await code}`); } } \ No newline at end of file diff --git a/dist/wa-sqlite-async.wasm b/dist/wa-sqlite-async.wasm index 942f178c..3661be61 100755 Binary files a/dist/wa-sqlite-async.wasm and b/dist/wa-sqlite-async.wasm differ diff --git a/dist/wa-sqlite.wasm b/dist/wa-sqlite.wasm index d96754c4..67dee05c 100755 Binary files a/dist/wa-sqlite.wasm and b/dist/wa-sqlite.wasm differ diff --git a/package.json b/package.json index 3336c727..05f2912f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wa-sqlite", - "version": "0.9.8", + "version": "0.9.9", "type": "module", "main": "src/sqlite-api.js", "types": "src/types/index.d.ts", diff --git a/test/sqlite-api.test.js b/test/sqlite-api.test.js index ab2a6359..d344898c 100644 --- a/test/sqlite-api.test.js +++ b/test/sqlite-api.test.js @@ -2,7 +2,7 @@ import { getSQLite, getSQLiteAsync } from './api-instances.js'; import * as SQLite from '../src/sqlite-api.js'; import sinon from '../.yarn/unplugged/sinon-npm-15.0.1-115ae39e4c/node_modules/sinon/pkg/sinon-esm.js'; -const LIBVERSION = '3.43.1'; +const LIBVERSION = '3.44.0'; const LIBVERSION_NUMBER = (function() { const version = LIBVERSION.split('.'); return parseInt(version[0] + version[1].padStart(3, '0') + version[2].padStart(3, '0'));