From 5222eebbdc0903b58b3c94817f55d1d1256f2b2e Mon Sep 17 00:00:00 2001
From: Jono Wenger <jono@elixxir.io>
Date: Tue, 24 Jan 2023 10:06:31 -0800
Subject: [PATCH] Increase version and add versions to web workers

---
 indexedDb/impl/channels/main.go | 4 ++++
 indexedDb/impl/dm/main.go       | 4 ++++
 storage/version.go              | 2 +-
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/indexedDb/impl/channels/main.go b/indexedDb/impl/channels/main.go
index 73a34dd4..1ab19b8e 100644
--- a/indexedDb/impl/channels/main.go
+++ b/indexedDb/impl/channels/main.go
@@ -17,11 +17,15 @@ import (
 	"syscall/js"
 )
 
+// SEMVER is the current semantic version of the xxDK channels web worker.
+const SEMVER = "0.1.0"
+
 func init() {
 	// Set up Javascript console listener set at level INFO
 	ll := wasm.NewJsConsoleLogListener(jww.LevelInfo)
 	jww.SetLogListeners(ll.Listen)
 	jww.SetStdoutThreshold(jww.LevelFatal + 1)
+	jww.INFO.Printf("xxDK channels web worker version: v%s", SEMVER)
 }
 
 func main() {
diff --git a/indexedDb/impl/dm/main.go b/indexedDb/impl/dm/main.go
index 3dac36d4..37885aa1 100644
--- a/indexedDb/impl/dm/main.go
+++ b/indexedDb/impl/dm/main.go
@@ -17,11 +17,15 @@ import (
 	"syscall/js"
 )
 
+// SEMVER is the current semantic version of the xxDK DM web worker.
+const SEMVER = "0.1.0"
+
 func init() {
 	// Set up Javascript console listener set at level INFO
 	ll := wasm.NewJsConsoleLogListener(jww.LevelInfo)
 	jww.SetLogListeners(ll.Listen)
 	jww.SetStdoutThreshold(jww.LevelFatal + 1)
+	jww.INFO.Printf("xxDK DM web worker version: v%s", SEMVER)
 }
 
 func main() {
diff --git a/storage/version.go b/storage/version.go
index fc0d3a39..255fd137 100644
--- a/storage/version.go
+++ b/storage/version.go
@@ -20,7 +20,7 @@ import (
 )
 
 // SEMVER is the current semantic version of xxDK WASM.
-const SEMVER = "0.2.0"
+const SEMVER = "0.2.1"
 
 // Storage keys.
 const (
-- 
GitLab