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/chatra/index.js | 2 +- recipes/chatra/package.json | 2 +- recipes/chatra/webview.js | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'recipes/chatra') diff --git a/recipes/chatra/index.js b/recipes/chatra/index.js index 23607bd..dd41f72 100644 --- a/recipes/chatra/index.js +++ b/recipes/chatra/index.js @@ -1 +1 @@ -module.exports = Ferdi => Ferdi; +module.exports = Ferdium => Ferdium; diff --git a/recipes/chatra/package.json b/recipes/chatra/package.json index ecca6aa..22fa8c0 100644 --- a/recipes/chatra/package.json +++ b/recipes/chatra/package.json @@ -1,7 +1,7 @@ { "id": "chatra", "name": "Chatra", - "version": "1.1.2", + "version": "1.2.0", "license": "MIT", "config": { "serviceURL": "https://app.chatra.io/", diff --git a/recipes/chatra/webview.js b/recipes/chatra/webview.js index a82a78d..c1e6b7f 100644 --- a/recipes/chatra/webview.js +++ b/recipes/chatra/webview.js @@ -1,4 +1,4 @@ -module.exports = (Ferdi) => { +module.exports = (Ferdium) => { const getMessages = () => { // get new conversations in My Queue const myQueue = $('.super-nav a.super-nav__item.js-from-super-to-nav[href^="/chat/box:my"] .count').not('.count--gray').text(); @@ -6,11 +6,11 @@ module.exports = (Ferdi) => { // get all missed conversations const missed = $('.super-nav a.super-nav__item.js-from-super-to-nav[href^="/chat/box:missed"] .count').text(); - // set Ferdi badge + // set Ferdium badge // myQueue => New conversations in My Queue // missed => All missed conversations - Ferdi.setBadge(myQueue, missed); + Ferdium.setBadge(myQueue, missed); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); }; -- cgit v1.2.3-70-g09d2