Skip to content

Commit

Permalink
chore: update extism-runtime.wasm (#71)
Browse files Browse the repository at this point in the history
add RuntimeVersion

closes #69
  • Loading branch information
hellodword authored Jul 22, 2024
1 parent 9338d91 commit 1fd5d5e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Binary file modified extism-runtime.wasm
Binary file not shown.
1 change: 1 addition & 0 deletions extism-runtime.wasm.version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v1.4.1
7 changes: 7 additions & 0 deletions extism.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ import (
//go:embed extism-runtime.wasm
var extismRuntimeWasm []byte

//go:embed extism-runtime.wasm.version
var extismRuntimeWasmVersion string

func RuntimeVersion() string {
return extismRuntimeWasmVersion
}

// Runtime represents the Extism plugin's runtime environment, including the underlying Wazero runtime and modules.
type Runtime struct {
Wazero wazero.Runtime
Expand Down

0 comments on commit 1fd5d5e

Please sign in to comment.