creditdaddy 0.9.1 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +234 -225
- package/bin/creditdaddy.js +9 -9
- package/package.json +1 -1
- package/src/daemon.js +2 -1
- package/src/panel.html +2086 -2048
package/src/daemon.js
CHANGED
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
import { addAccount, importAccounts, refreshContext } from './accounts.js';
|
|
50
50
|
import { productImpl } from './providers.js';
|
|
51
51
|
import { readWorkbuddySessions, writeWorkbuddySession, workbuddyAuthDir, currentWorkbuddyUid } from './workbuddyLocal.js';
|
|
52
|
-
import { liveToAccount as zcodeLiveAccount, switchTo as zcodeSwitchTo, currentZcodeUid, currentZcodeIdentity, detectZcode, ensureVirtualDeviceMid, terminateZcode } from './zcodeLocal.js';
|
|
52
|
+
import { liveToAccount as zcodeLiveAccount, switchTo as zcodeSwitchTo, currentZcodeUid, currentZcodeIdentity, detectZcode, ensureVirtualDeviceMid, terminateZcode, zcodeRunning } from './zcodeLocal.js';
|
|
53
53
|
import { fetchClaimPlans, claimPlan, fetchCaptchaConfig, proxyFirst, setProxyFirst, proxyUrl, setProxyUrl, autoClaimEnabled, setAutoClaimEnabled } from './zcodeClient.js';
|
|
54
54
|
import { exportAccounts, parseImport, TransferError } from './transfer.js';
|
|
55
55
|
import { runCheckinTick, getSchedulerInfo, dayKey } from './checkin.js';
|
|
@@ -494,6 +494,7 @@ async function handleApi(req, res, url) {
|
|
|
494
494
|
workbuddyCurrentUid: currentWorkbuddyUid(),
|
|
495
495
|
zcodeCurrentUid: currentZcodeUid(),
|
|
496
496
|
zcodeCurrentIdentity: currentZcodeIdentity(),
|
|
497
|
+
zcodeClient: (() => { const d = detectZcode(); return { installed: d.exists, signedIn: d.signedIn, running: zcodeRunning() }; })(),
|
|
497
498
|
keyRequired: Boolean(PANEL_KEY),
|
|
498
499
|
});
|
|
499
500
|
}
|