(source)
| 13 | } = deps; |
| 14 | |
| 15 | function getSourceLabel(source) { |
| 16 | const labels = { |
| 17 | 'gmail-mail': 'Gmail 邮箱', |
| 18 | 'sidepanel': '侧边栏', |
| 19 | 'signup-page': '认证页', |
| 20 | 'vps-panel': 'CPA 面板', |
| 21 | 'sub2api-panel': 'SUB2API 后台', |
| 22 | 'qq-mail': 'QQ 邮箱', |
| 23 | 'mail-163': '163 邮箱', |
| 24 | 'mail-2925': '2925 邮箱', |
| 25 | 'inbucket-mail': 'Inbucket 邮箱', |
| 26 | 'duck-mail': 'Duck 邮箱', |
| 27 | 'hotmail-api': 'Hotmail(API对接/本地助手)', |
| 28 | 'luckmail-api': 'LuckMail(API 购邮)', |
| 29 | 'cloudflare-temp-email': 'Cloudflare Temp Email', |
| 30 | }; |
| 31 | return labels[source] || source || '未知来源'; |
| 32 | } |
| 33 | |
| 34 | async function addLog(message, level = 'info') { |
| 35 | const state = await getState(); |
no outgoing calls
no test coverage detected