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/mysms/index.js | 2 +- recipes/mysms/package.json | 2 +- recipes/mysms/webview.js | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'recipes/mysms') diff --git a/recipes/mysms/index.js b/recipes/mysms/index.js index 23607bd..dd41f72 100644 --- a/recipes/mysms/index.js +++ b/recipes/mysms/index.js @@ -1 +1 @@ -module.exports = Ferdi => Ferdi; +module.exports = Ferdium => Ferdium; diff --git a/recipes/mysms/package.json b/recipes/mysms/package.json index a88baf3..a81fbc4 100644 --- a/recipes/mysms/package.json +++ b/recipes/mysms/package.json @@ -1,7 +1,7 @@ { "id": "mysms", "name": "MySMS", - "version": "1.1.2", + "version": "1.2.0", "license": "MIT", "config": { "serviceURL": "https://app.mysms.com" diff --git a/recipes/mysms/webview.js b/recipes/mysms/webview.js index 1878120..e0d638d 100644 --- a/recipes/mysms/webview.js +++ b/recipes/mysms/webview.js @@ -1,11 +1,11 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { const getMessages = () => { const elements = document.querySelectorAll('.unread'); let count = 0; for (const element of elements) { if ( - Ferdi.safeParseInt( + Ferdium.safeParseInt( element.textContent && element.textContent.replace(/[^\d.]/g, ''), ) > 0 ) { @@ -13,8 +13,8 @@ module.exports = Ferdi => { } } - Ferdi.setBadge(count); + Ferdium.setBadge(count); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); }; -- cgit v1.2.3-70-g09d2