MCPcopy Create free account
hub / github.com/TheNetsky/Microsoft-Rewards-Script / findAccountByEmail

Function findAccountByEmail

scripts/utils.js:203–209  ·  view source on GitHub ↗
(accounts, email)

Source from the content-addressed store, hash-verified

201}
202
203export function findAccountByEmail(accounts, email) {
204 if (!email || typeof email !== 'string') return null
205 return (
206 accounts.find(a => a?.email && typeof a.email === 'string' && a.email.toLowerCase() === email.toLowerCase()) ||
207 null
208 )
209}
210
211export function getUserAgent(fingerprint) {
212 if (!fingerprint) return null

Callers 1

browserSession.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected