Newer
Older
////////////////////////////////////////////////////////////////////////////////
// //
// Use of this source code is governed by a license that can be found in the //
////////////////////////////////////////////////////////////////////////////////
//go:build js && wasm

Jono Wenger
committed
"gitlab.com/elixxir/xxdk-wasm/utils"

Jono Wenger
committed
// GetVersion returns the current xxDK WASM semantic version.

Jono Wenger
committed
// - Current version (string).

Jono Wenger
committed
return utils.SEMVER
}
// GetClientVersion returns the current client xxDK semantic version
// ([xxdk.SEMVER]).
//
// Returns:
// - Current version (string).
func GetClientVersion(js.Value, []js.Value) interface{} {

Jono Wenger
committed
// GetClientGitVersion returns the current client xxDK git version
// ([xxdk.GITVERSION]).

Jono Wenger
committed
func GetClientGitVersion(js.Value, []js.Value) interface{} {

Jono Wenger
committed
// GetClientDependencies returns the client's dependencies
// ([xxdk.DEPENDENCIES]).

Jono Wenger
committed
// - Dependency list (string).
func GetClientDependencies(js.Value, []js.Value) interface{} {