capacitor-mobile-claw 1.4.10 → 1.4.11
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.
|
@@ -327,7 +327,7 @@ async function refreshOAuthTokenIfNeeded(agentId = 'main') {
|
|
|
327
327
|
if (remaining > 3600000) continue; // >1h remaining, no refresh needed
|
|
328
328
|
console.log(`[auth] OAuth token expires in ${(remaining/3600000).toFixed(1)}h — refreshing...`);
|
|
329
329
|
try {
|
|
330
|
-
const resp = await fetch('https://
|
|
330
|
+
const resp = await fetch('https://console.anthropic.com/v1/oauth/token', {
|
|
331
331
|
method: 'POST',
|
|
332
332
|
headers: {
|
|
333
333
|
'Content-Type': 'application/json',
|