Skip to content
Snippets Groups Projects
Commit 5222eebb authored by Jono Wenger's avatar Jono Wenger
Browse files

Increase version and add versions to web workers

parent 09e0827f
No related branches found
No related tags found
2 merge requests!67fix for latest client release,!52XX-4382 / Move indexedDb databases to web workers
This commit is part of merge request !67. Comments created here will be created in the context of that merge request.
...@@ -17,11 +17,15 @@ import ( ...@@ -17,11 +17,15 @@ import (
"syscall/js" "syscall/js"
) )
// SEMVER is the current semantic version of the xxDK channels web worker.
const SEMVER = "0.1.0"
func init() { func init() {
// Set up Javascript console listener set at level INFO // Set up Javascript console listener set at level INFO
ll := wasm.NewJsConsoleLogListener(jww.LevelInfo) ll := wasm.NewJsConsoleLogListener(jww.LevelInfo)
jww.SetLogListeners(ll.Listen) jww.SetLogListeners(ll.Listen)
jww.SetStdoutThreshold(jww.LevelFatal + 1) jww.SetStdoutThreshold(jww.LevelFatal + 1)
jww.INFO.Printf("xxDK channels web worker version: v%s", SEMVER)
} }
func main() { func main() {
......
...@@ -17,11 +17,15 @@ import ( ...@@ -17,11 +17,15 @@ import (
"syscall/js" "syscall/js"
) )
// SEMVER is the current semantic version of the xxDK DM web worker.
const SEMVER = "0.1.0"
func init() { func init() {
// Set up Javascript console listener set at level INFO // Set up Javascript console listener set at level INFO
ll := wasm.NewJsConsoleLogListener(jww.LevelInfo) ll := wasm.NewJsConsoleLogListener(jww.LevelInfo)
jww.SetLogListeners(ll.Listen) jww.SetLogListeners(ll.Listen)
jww.SetStdoutThreshold(jww.LevelFatal + 1) jww.SetStdoutThreshold(jww.LevelFatal + 1)
jww.INFO.Printf("xxDK DM web worker version: v%s", SEMVER)
} }
func main() { func main() {
......
...@@ -20,7 +20,7 @@ import ( ...@@ -20,7 +20,7 @@ import (
) )
// SEMVER is the current semantic version of xxDK WASM. // SEMVER is the current semantic version of xxDK WASM.
const SEMVER = "0.2.0" const SEMVER = "0.2.1"
// Storage keys. // Storage keys.
const ( const (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment