diff --git a/browser/src/plugin.ts b/browser/src/plugin.ts index 4d29d07..0244bd3 100644 --- a/browser/src/plugin.ts +++ b/browser/src/plugin.ts @@ -76,6 +76,9 @@ export default class ExtismPlugin { env: environment }; this.module = await WebAssembly.instantiate(this.moduleData, env); + if (this.module.instance.exports._start) { + wasi.start(this.module.instance); + } return this.module; } diff --git a/browser/tsconfig.json b/browser/tsconfig.json index 22abb0d..03bb4af 100644 --- a/browser/tsconfig.json +++ b/browser/tsconfig.json @@ -1,13 +1,13 @@ { - "compilerOptions": { - "target": "es2016", - "module": "commonjs", - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "declaration": true, - "strict": true, - "skipLibCheck": true, - "allowJs": true - }, - "exclude": ["node_modules", "dist", "**/*.test.ts"] - } + "compilerOptions": { + "target": "es2016", + "module": "commonjs", + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "declaration": true, + "strict": true, + "skipLibCheck": true, + "allowJs": true + }, + "exclude": ["node_modules", "dist", "**/*.test.ts"] +} diff --git a/dotnet/nuget/Extism.runtime.win.csproj b/dotnet/nuget/Extism.runtime.win.csproj index ca5e41d..54377ce 100644 --- a/dotnet/nuget/Extism.runtime.win.csproj +++ b/dotnet/nuget/Extism.runtime.win.csproj @@ -8,7 +8,7 @@ Extism.runtime.win-x64 - 0.2.0 + 0.3.0 Extism Contributors Internal implementation package for Extism to work on Windows x64 extism, wasm, plugin diff --git a/elixir/mix.exs b/elixir/mix.exs index ed0cf26..4ddd4b1 100644 --- a/elixir/mix.exs +++ b/elixir/mix.exs @@ -4,7 +4,7 @@ defmodule Extism.MixProject do def project do [ app: :extism, - version: "0.1.0", + version: "0.2.0", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, deps: deps(), diff --git a/elixir/native/extism_nif/Cargo.toml b/elixir/native/extism_nif/Cargo.toml index 06be263..d3f9588 100644 --- a/elixir/native/extism_nif/Cargo.toml +++ b/elixir/native/extism_nif/Cargo.toml @@ -11,5 +11,5 @@ crate-type = ["cdylib"] [dependencies] rustler = "0.26.0" -extism = { version = "0.1.0", path = "../../../rust" } +extism = { version = "0.2.0", path = "../../../rust" } log = "0.4" diff --git a/haskell/extism.cabal b/haskell/extism.cabal index 38bcf75..0600596 100644 --- a/haskell/extism.cabal +++ b/haskell/extism.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: extism -version: 0.0.1 +version: 0.1.0 license: BSD-3-Clause maintainer: oss@extism.org author: Extism authors diff --git a/java/pom.xml b/java/pom.xml index c5ab6d7..a1739ff 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -4,7 +4,7 @@ org.extism.sdk extism jar - 0.1.0 + 0.2.0 extism https://github.com/extism/extism Java-SDK for Extism to use webassembly from Java diff --git a/libextism/Cargo.toml b/libextism/Cargo.toml index 8455f4b..dd681cf 100644 --- a/libextism/Cargo.toml +++ b/libextism/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libextism" -version = "0.1.0" +version = "0.2.0" edition = "2021" authors = ["The Extism Authors", "oss@extism.org"] license = "BSD-3-Clause" diff --git a/manifest/Cargo.toml b/manifest/Cargo.toml index d84f391..8bd2591 100644 --- a/manifest/Cargo.toml +++ b/manifest/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "extism-manifest" -version = "0.1.0" +version = "0.2.0" edition = "2021" authors = ["The Extism Authors", "oss@extism.org"] license = "BSD-3-Clause" diff --git a/node/package.json b/node/package.json index 71c959d..9622c78 100644 --- a/node/package.json +++ b/node/package.json @@ -1,6 +1,6 @@ { "name": "@extism/extism", - "version": "0.1.0", + "version": "0.2.0", "description": "Extism Host SDK for Node", "keywords": [ "extism", diff --git a/ocaml/Makefile b/ocaml/Makefile index fd62e27..326d926 100644 --- a/ocaml/Makefile +++ b/ocaml/Makefile @@ -1,4 +1,4 @@ -VERSION?=0.0.0 +VERSION?=0.1.0 build: dune build diff --git a/python/pyproject.toml b/python/pyproject.toml index a7c1963..1a16af0 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "extism" -version = "0.1.0" +version = "0.2.0" description = "Extism Host SDK for python" authors = ["The Extism Authors "] license = "BSD-3-Clause" diff --git a/ruby/lib/extism/version.rb b/ruby/lib/extism/version.rb index 0f79e59..b6b085c 100644 --- a/ruby/lib/extism/version.rb +++ b/ruby/lib/extism/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Extism - VERSION = "0.1.0" + VERSION = "0.2.0" end diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 55f9076..bfbfd0f 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "extism-runtime" -version = "0.1.0" +version = "0.2.0" edition = "2021" authors = ["The Extism Authors", "oss@extism.org"] license = "BSD-3-Clause" @@ -22,7 +22,7 @@ log4rs = "1.1" url = "2" glob = "0.3" ureq = {version = "2.5", optional=true} -extism-manifest = { version = "0.1.0", path = "../manifest" } +extism-manifest = { version = "0.2.0", path = "../manifest" } pretty-hex = { version = "0.3" } uuid = { version = "1", features = ["v4"] } libc = "0.2" diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 130643c..b898327 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "extism" -version = "0.1.0" +version = "0.2.0" edition = "2021" authors = ["The Extism Authors", "oss@extism.org"] license = "BSD-3-Clause" @@ -9,8 +9,8 @@ repository = "https://github.com/extism/extism" description = "Extism Host SDK for Rust" [dependencies] -extism-manifest = { version = "0.1.0", path = "../manifest" } -extism-runtime = { version = "0.1.0", path = "../runtime"} +extism-manifest = { version = "0.2.0", path = "../manifest" } +extism-runtime = { version = "0.2.0", path = "../runtime"} serde_json = "1" log = "0.4" anyhow = "1" \ No newline at end of file