diff --git a/shared b/shared index 1d35914d..f468e7bf 160000 --- a/shared +++ b/shared @@ -1 +1 @@ -Subproject commit 1d35914de5f5896012d7c7f76a0eabf1ef91a78f +Subproject commit f468e7bf6263f70dc76f7946eaca4e8f0f415b33 diff --git a/src/extension/omnibar.ts b/src/extension/omnibar.ts index 4486be8c..ce399af5 100644 --- a/src/extension/omnibar.ts +++ b/src/extension/omnibar.ts @@ -414,8 +414,9 @@ sc.on('timerStopped', () => { ) : undefined; + // DISABLED FOR NOW (ESAW24). // Push actual data to the queue. - omnibar.value.alertQueue.push({ + /* omnibar.value.alertQueue.push({ type: 'MiniCredits', id: uuid(), data: { @@ -429,5 +430,5 @@ sc.on('timerStopped', () => { subscribers, cheers, }, - }); + }); */ }); diff --git a/src/extension/tracker/index.ts b/src/extension/tracker/index.ts index dfc97a03..87b44ed7 100644 --- a/src/extension/tracker/index.ts +++ b/src/extension/tracker/index.ts @@ -1,12 +1,11 @@ import { Configschema } from '@esa-layouts/types/schemas'; import type { Tracker } from '@shared/types'; -import clone from 'clone'; import type { NeedleResponse } from 'needle'; import needle from 'needle'; -import { DeepWritable } from 'ts-essentials'; +import type { DeepWritable } from 'ts-essentials'; import { get as nodecg } from '../util/nodecg'; import { mq } from '../util/rabbitmq'; -import { donationTotal, notableDonations } from '../util/replicants'; +import { donationTotal } from '../util/replicants'; export const eventInfo: Tracker.EventInfo[] = []; const eventConfig = nodecg().bundleConfig.event; @@ -76,8 +75,9 @@ mq.evt.on('donationTotalUpdated', (data) => { } }); +// DISABLED FOR NOW (ESAW24) // Triggered when a new donation is fully processed on the tracker. -mq.evt.on('donationFullyProcessed', (data) => { +/* mq.evt.on('donationFullyProcessed', (data) => { if (data.comment_state === 'APPROVED') { // eslint-disable-next-line no-underscore-dangle nodecg().log.debug('[Tracker] Received new donation with ID %s', data._id); @@ -87,7 +87,7 @@ mq.evt.on('donationFullyProcessed', (data) => { notableDonations.value.length = Math.min(notableDonations.value.length, 20); } } -}); +}); */ let isFirstLogin = true; async function loginToTracker(): Promise {