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/yahoo-mail/index.js | 4 ++-- recipes/yahoo-mail/package.json | 2 +- recipes/yahoo-mail/webview.js | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'recipes/yahoo-mail') diff --git a/recipes/yahoo-mail/index.js b/recipes/yahoo-mail/index.js index b47bdb4..858fff1 100644 --- a/recipes/yahoo-mail/index.js +++ b/recipes/yahoo-mail/index.js @@ -1,9 +1,9 @@ -module.exports = (Ferdi) => class YahooMail extends Ferdi { +module.exports = (Ferdium) => class YahooMail extends Ferdium { modifyRequestHeaders() { return [ { headers: { - // 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 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36', }, requestFilters: { diff --git a/recipes/yahoo-mail/package.json b/recipes/yahoo-mail/package.json index 1c6a2be..3bf5dbe 100644 --- a/recipes/yahoo-mail/package.json +++ b/recipes/yahoo-mail/package.json @@ -1,7 +1,7 @@ { "id": "yahoo-mail", "name": "Yahoo Mail", - "version": "1.1.2", + "version": "1.2.0", "license": "MIT", "config": { "serviceURL": "https://mail.yahoo.com", diff --git a/recipes/yahoo-mail/webview.js b/recipes/yahoo-mail/webview.js index 17ea298..d9f919c 100644 --- a/recipes/yahoo-mail/webview.js +++ b/recipes/yahoo-mail/webview.js @@ -1,8 +1,8 @@ -module.exports = (Ferdi) => { +module.exports = (Ferdium) => { const getMessages = () => { const count = document.querySelector('a[data-test-folder-name="Inbox"]').getAttribute('data-test-unread-count'); - Ferdi.setBadge(count); + Ferdium.setBadge(count); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); }; -- cgit v1.2.3-70-g09d2