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/producthunt/index.js | 2 +- recipes/producthunt/package.json | 2 +- recipes/producthunt/webview.js | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'recipes/producthunt') diff --git a/recipes/producthunt/index.js b/recipes/producthunt/index.js index 7af3013..2d59d28 100644 --- a/recipes/producthunt/index.js +++ b/recipes/producthunt/index.js @@ -1 +1 @@ -module.exports = Ferdi => Ferdi +module.exports = Ferdium => Ferdium diff --git a/recipes/producthunt/package.json b/recipes/producthunt/package.json index 6f4bfb9..64a57a8 100644 --- a/recipes/producthunt/package.json +++ b/recipes/producthunt/package.json @@ -1,7 +1,7 @@ { "id": "producthunt", "name": "Product Hunt", - "version": "1.0.1", + "version": "1.1.0", "license": "MIT", "repository": "https://github.com/alexdevero/franz-producthunt-recipe", "config": { diff --git a/recipes/producthunt/webview.js b/recipes/producthunt/webview.js index 7f6c74b..86cab43 100644 --- a/recipes/producthunt/webview.js +++ b/recipes/producthunt/webview.js @@ -1,13 +1,13 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { const notificationsSelector = document.querySelector( '[class*=header_] [class*=content_] [class*=actions_] [class*=notificationsButton_]', ); const getMessages = () => { if (notificationsSelector) { - Ferdi.setBadge(notificationsSelector.textContent); + Ferdium.setBadge(notificationsSelector.textContent); } }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); }; -- cgit v1.2.3-70-g09d2