MCPcopy Create free account
hub / github.com/SenseUnit/dumbproxy / AddGetClientVersion

Function AddGetClientVersion

jsext/jsext.go:49–53  ·  view source on GitHub ↗
(vm *goja.Runtime)

Source from the content-addressed store, hash-verified

47const PACClientVersion = "1.0"
48
49func AddGetClientVersion(vm *goja.Runtime) error {
50 return vm.GlobalObject().Set("getClientVersion", func(call goja.FunctionCall) goja.Value {
51 return vm.ToValue(PACClientVersion)
52 })
53}

Callers 1

NewJSRouterFunction · 0.92

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected