From e014fcce7e1c97ac1237faee6922f645826af7c5 Mon Sep 17 00:00:00 2001 From: Chris Fung Date: Tue, 9 Aug 2022 17:35:57 -0700 Subject: [PATCH 1/2] chore: update assemblyscript deps --- crates/as/index.ts | 2 +- crates/as/package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/as/index.ts b/crates/as/index.ts index 3259831..8fa9511 100644 --- a/crates/as/index.ts +++ b/crates/as/index.ts @@ -1,6 +1,6 @@ // required to use --abort=as-wasi // @ts-ignore -import { Console } from "as-wasi"; +import { Console } from "as-wasi/assembly"; import * as raw from "./raw"; /** Send an HTTP request and return an HTTP response. diff --git a/crates/as/package.json b/crates/as/package.json index a2f4234..8808d76 100644 --- a/crates/as/package.json +++ b/crates/as/package.json @@ -21,7 +21,7 @@ "asbuild": "asc index.ts -b build/optimized.wasm --use abort=wasi_abort --debug" }, "dependencies": { - "as-wasi": "0.4.4", - "assemblyscript": "^0.18.16" + "as-wasi": "^0.4.6", + "assemblyscript": "^0.20.18" } } From e089183789a1b9361029ed0e82252ceea02b0390 Mon Sep 17 00:00:00 2001 From: Chris Fung Date: Sun, 14 Aug 2022 19:31:29 -0700 Subject: [PATCH 2/2] Update crates/as/package.json Applying suggestion from @MaxGraey Co-authored-by: Max Graey --- crates/as/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/as/package.json b/crates/as/package.json index 8808d76..f6350d1 100644 --- a/crates/as/package.json +++ b/crates/as/package.json @@ -18,7 +18,7 @@ }, "license": "MIT", "scripts": { - "asbuild": "asc index.ts -b build/optimized.wasm --use abort=wasi_abort --debug" + "asbuild": "asc index.ts -o build/optimized.wasm --use abort=wasi_abort --debug" }, "dependencies": { "as-wasi": "^0.4.6",