From 18801ed0c02627e87639dc0848cab44dacc18be2 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Mon, 18 Apr 2022 06:51:50 -0500 Subject: Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2) --- recipes/slite/index.js | 2 +- recipes/slite/package.json | 2 +- recipes/slite/webview.js | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'recipes/slite') diff --git a/recipes/slite/index.js b/recipes/slite/index.js index 23607bd..dd41f72 100644 --- a/recipes/slite/index.js +++ b/recipes/slite/index.js @@ -1 +1 @@ -module.exports = Ferdi => Ferdi; +module.exports = Ferdium => Ferdium; diff --git a/recipes/slite/package.json b/recipes/slite/package.json index 4f1b753..6ed9773 100644 --- a/recipes/slite/package.json +++ b/recipes/slite/package.json @@ -1,7 +1,7 @@ { "id": "slite", "name": "Slite", - "version": "1.0.5", + "version": "1.1.0", "license": "MIT", "config": { "serviceURL": "https://{teamId}.slite.com", diff --git a/recipes/slite/webview.js b/recipes/slite/webview.js index f1d9f32..cb0bebf 100644 --- a/recipes/slite/webview.js +++ b/recipes/slite/webview.js @@ -1,10 +1,10 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { const getMessages = () => { const element = document.querySelector( "#app button[data-test-id='notificationsCount']", ); - Ferdi.setBadge(element ? Ferdi.safeParseInt(element.textContent) : 0); + Ferdium.setBadge(element ? Ferdium.safeParseInt(element.textContent) : 0); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); }; -- cgit v1.2.3-54-g00ecf