Skip to content

Commit 1fd5d5e

Browse files
authored
chore: update extism-runtime.wasm (#71)
add RuntimeVersion closes #69
1 parent 9338d91 commit 1fd5d5e

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

extism-runtime.wasm

-54 Bytes
Binary file not shown.

extism-runtime.wasm.version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v1.4.1

extism.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ import (
2323
//go:embed extism-runtime.wasm
2424
var extismRuntimeWasm []byte
2525

26+
//go:embed extism-runtime.wasm.version
27+
var extismRuntimeWasmVersion string
28+
29+
func RuntimeVersion() string {
30+
return extismRuntimeWasmVersion
31+
}
32+
2633
// Runtime represents the Extism plugin's runtime environment, including the underlying Wazero runtime and modules.
2734
type Runtime struct {
2835
Wazero wazero.Runtime

0 commit comments

Comments
 (0)