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/pipefy/index.js | 4 ++-- recipes/pipefy/package.json | 2 +- recipes/pipefy/webview.js | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'recipes/pipefy') diff --git a/recipes/pipefy/index.js b/recipes/pipefy/index.js index 9e105e9..3dc9471 100644 --- a/recipes/pipefy/index.js +++ b/recipes/pipefy/index.js @@ -1,5 +1,5 @@ -module.exports = (Ferdi) => - class Pipefy extends Ferdi { +module.exports = (Ferdium) => + class Pipefy extends Ferdium { overrideUserAgent() { return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; } diff --git a/recipes/pipefy/package.json b/recipes/pipefy/package.json index 0c481a9..ba02935 100644 --- a/recipes/pipefy/package.json +++ b/recipes/pipefy/package.json @@ -1,7 +1,7 @@ { "id": "pipefy", "name": "Pipefy", - "version": "1.0.2", + "version": "1.1.0", "license": "MIT", "config": { "serviceURL": "https://app.pipefy.com/", diff --git a/recipes/pipefy/webview.js b/recipes/pipefy/webview.js index e0ac242..f951ad1 100644 --- a/recipes/pipefy/webview.js +++ b/recipes/pipefy/webview.js @@ -1,10 +1,10 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { const getMessages = () => { const getNotificationButton = document.querySelector( '#notifications_button', ); let hasNotification = getNotificationButton.classList.contains('pp-active'); - Ferdi.setBadge(0, hasNotification ? 1 : 0); + Ferdium.setBadge(0, hasNotification ? 1 : 0); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); }; -- cgit v1.2.3-54-g00ecf