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/superhuman/index.js | 4 ++-- recipes/superhuman/package.json | 2 +- recipes/superhuman/webview.js | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'recipes/superhuman') diff --git a/recipes/superhuman/index.js b/recipes/superhuman/index.js index 44bc55d..3cae124 100644 --- a/recipes/superhuman/index.js +++ b/recipes/superhuman/index.js @@ -1,6 +1,6 @@ -module.exports = Ferdi => class SuperHuman extends Ferdi { +module.exports = Ferdium => class SuperHuman extends Ferdium { overrideUserAgent() { - // TODO: Rather than hardcoding like this, the user should set it for their individual installation of Ferdi + // TODO: Rather than hardcoding like this, the user should set it for their individual installation of Ferdium return 'Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10136'; } }; diff --git a/recipes/superhuman/package.json b/recipes/superhuman/package.json index 4cb98f3..e4ea8ab 100644 --- a/recipes/superhuman/package.json +++ b/recipes/superhuman/package.json @@ -1,7 +1,7 @@ { "id": "superhuman", "name": "Superhuman", - "version": "1.1.2", + "version": "1.2.0", "license": "MIT", "repository": "https://github.com/CrystalLarsh/franz-superhuman-recipe", "config": { diff --git a/recipes/superhuman/webview.js b/recipes/superhuman/webview.js index 697efa6..0652545 100644 --- a/recipes/superhuman/webview.js +++ b/recipes/superhuman/webview.js @@ -1,8 +1,8 @@ -module.exports = (Ferdi) => { +module.exports = (Ferdium) => { const getMessages = () => { const mentions = document.querySelectorAll('.chat-line .mentioned').length; - Ferdi.setBadge(mentions, 0); + Ferdium.setBadge(mentions, 0); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); }; -- cgit v1.2.3-54-g00ecf