use wasm-runtime from NPM instead of patched sources

This commit is contained in:
Nikita Sivukhin
2025-09-23 12:28:01 +04:00
parent 9d395a5a52
commit 1faafdb57e
15 changed files with 48 additions and 24928 deletions

View File

@@ -5,7 +5,7 @@ import {
WASI as __WASI,
instantiateNapiModuleSync,
MessageHandler
} from '@tursodatabase/wasm-runtime'
} from '@napi-rs/wasm-runtime'
function getUint8ArrayFromMemory(memory: WebAssembly.Memory, ptr: number, len: number): Uint8Array {
ptr = ptr >>> 0;

View File

@@ -23,6 +23,6 @@
"test": "echo 'no tests'"
},
"dependencies": {
"@tursodatabase/wasm-runtime": "^0.2.0-pre.7"
"@napi-rs/wasm-runtime": "^1.0.5"
}
}