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/amazon-work-mail/index.js | 2 +- recipes/amazon-work-mail/package.json | 2 +- recipes/amazon-work-mail/webview.js | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'recipes/amazon-work-mail') diff --git a/recipes/amazon-work-mail/index.js b/recipes/amazon-work-mail/index.js index 23607bd..dd41f72 100644 --- a/recipes/amazon-work-mail/index.js +++ b/recipes/amazon-work-mail/index.js @@ -1 +1 @@ -module.exports = Ferdi => Ferdi; +module.exports = Ferdium => Ferdium; diff --git a/recipes/amazon-work-mail/package.json b/recipes/amazon-work-mail/package.json index 0d04c13..dc41d0f 100644 --- a/recipes/amazon-work-mail/package.json +++ b/recipes/amazon-work-mail/package.json @@ -1,7 +1,7 @@ { "id": "amazon-work-mail", "name": "Amazon WorkMail", - "version": "1.1.1", + "version": "1.2.0", "license": "MIT", "config": { "serviceURL": "https://{teamID}.awsapps.com/mail", diff --git a/recipes/amazon-work-mail/webview.js b/recipes/amazon-work-mail/webview.js index 44f3058..36967fd 100644 --- a/recipes/amazon-work-mail/webview.js +++ b/recipes/amazon-work-mail/webview.js @@ -11,20 +11,20 @@ const reload = EventType => } }); -module.exports = Ferdi => { +module.exports = Ferdium => { const getUnread = () => { const nodes = document.querySelectorAll('.giraffe-hierarchy-node-counter'); let counter = 0; for (const node of nodes) { - counter += Ferdi.safeParseInt(node.textContent); + counter += Ferdium.safeParseInt(node.textContent); } - Ferdi.setBadge(counter); + Ferdium.setBadge(counter); }; if (!window.location.pathname.includes('auth')) { - Ferdi.loop(getUnread); + Ferdium.loop(getUnread); window.setInterval(() => { reload('click'); -- cgit v1.2.3-70-g09d2