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

Richard T. Carback III
committed
"gitlab.com/elixxir/client/v4/bindings"
"gitlab.com/elixxir/xxdk-wasm/storage"

Jono Wenger
committed
// GetVersion returns the current xxDK WASM semantic version.
// - Current version (string).
func GetVersion(js.Value, []js.Value) any {
return storage.SEMVER

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

Jono Wenger
committed
// GetClientGitVersion returns the current client xxDK git version
// ([xxdk.GITVERSION]).
// - Git version (string).
func GetClientGitVersion(js.Value, []js.Value) any {

Jono Wenger
committed
// GetClientDependencies returns the client's dependencies
// ([xxdk.DEPENDENCIES]).
// - Dependency list (string).
func GetClientDependencies(js.Value, []js.Value) any {