mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-05 09:14:24 +01:00
use wasm-runtime from NPM instead of patched sources
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -23,6 +23,6 @@
|
||||
"test": "echo 'no tests'"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tursodatabase/wasm-runtime": "^0.2.0-pre.7"
|
||||
"@napi-rs/wasm-runtime": "^1.0.5"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user