diff --git a/com.pdma.notion-timer.sdPlugin/bin/plugin.js b/com.pdma.notion-timer.sdPlugin/bin/plugin.js index 29006ab..ba11ee6 100644 --- a/com.pdma.notion-timer.sdPlugin/bin/plugin.js +++ b/com.pdma.notion-timer.sdPlugin/bin/plugin.js @@ -6438,7 +6438,7 @@ async function stopTimer(token, entryId) { } // src/plugin.ts -var CURRENT_VERSION = "1.0.12"; +var CURRENT_VERSION = "1.0.13"; var GITEA_BASE = "https://gitea.pdmarf.co.uk/pdm/stream_deck_notion_timer/raw/branch/master"; var SIGNING_PUBLIC_KEY = `-----BEGIN PUBLIC KEY----- MCowBQYDK2VwAyEAN7ko8TUpuPzPAJuKAZCRjV0c4ZSlou5d9pUAF6o12b4= @@ -6500,9 +6500,6 @@ function buttonTitle(projectName) { } var TimerToggle = class extends SingletonAction { settingsCache = /* @__PURE__ */ new Map(); - async onWillDisappear(ev) { - this.settingsCache.delete(ev.action.id); - } async onWillAppear(ev) { this.settingsCache.set(ev.action.id, ev.payload.settings); const { activeEntryId, projectName } = ev.payload.settings; diff --git a/com.pdma.notion-timer.sdPlugin/bin/plugin.js.sig b/com.pdma.notion-timer.sdPlugin/bin/plugin.js.sig index d8aa744..ed36b9e 100644 Binary files a/com.pdma.notion-timer.sdPlugin/bin/plugin.js.sig and b/com.pdma.notion-timer.sdPlugin/bin/plugin.js.sig differ diff --git a/notion-timer.streamDeckPlugin b/notion-timer.streamDeckPlugin index 1ad5295..e76a07c 100644 Binary files a/notion-timer.streamDeckPlugin and b/notion-timer.streamDeckPlugin differ diff --git a/src/plugin.ts b/src/plugin.ts index f0151b6..dce2730 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -1,4 +1,4 @@ -const CURRENT_VERSION = "1.0.12"; +const CURRENT_VERSION = "1.0.13"; const GITEA_BASE = "https://gitea.pdmarf.co.uk/pdm/stream_deck_notion_timer/raw/branch/master"; const SIGNING_PUBLIC_KEY = `-----BEGIN PUBLIC KEY----- MCowBQYDK2VwAyEAN7ko8TUpuPzPAJuKAZCRjV0c4ZSlou5d9pUAF6o12b4= @@ -97,10 +97,6 @@ function buttonTitle(projectName: string): string { class TimerToggle extends SingletonAction { private settingsCache = new Map(); - async onWillDisappear(ev: WillAppearEvent): Promise { - this.settingsCache.delete(ev.action.id); - } - async onWillAppear(ev: WillAppearEvent): Promise { this.settingsCache.set(ev.action.id, ev.payload.settings); const { activeEntryId, projectName } = ev.payload.settings; diff --git a/version.json b/version.json index ff0173e..957b37a 100644 --- a/version.json +++ b/version.json @@ -1 +1 @@ -{ "version": "1.0.12" } +{ "version": "1.0.13" }