openzoo 0.51.17 → 0.51.18

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.
@@ -89,6 +89,10 @@ function showSavings(port = Number(process.env.OPENZOO_SAVINGS_PORT) || 8402) {
89
89
  const d = await r.json();
90
90
  if (!r.ok || d.youAreTalkingTo !== 'openzoo proxy') throw Error('Unavailable');
91
91
  last = d;
92
+ if (wallet && d.solana && typeof d.evm === 'string' && (wallet.solana !== d.solana || wallet.evm !== d.evm)) {
93
+ wallet = { solana: d.solana, evm: d.evm };
94
+ if (!window.isDestroyed()) window.webContents.send('deposit-wallet', wallet);
95
+ }
92
96
  if (!window.isDestroyed()) window.webContents.send('savings', { ...d, online: true });
93
97
  } catch { if (!window.isDestroyed()) window.webContents.send('savings', { ...last, online: false }); }
94
98
  finally { busy = false; }
package/lib/proxy.js CHANGED
@@ -676,6 +676,7 @@ export async function startProxy({ silent = false, requireToken = null, sessionM
676
676
  youAreTalkingTo: 'openzoo proxy',
677
677
  version: ozVersion,
678
678
  solana: client.address,
679
+ evm: client.evmAddress,
679
680
  yourEndpoint: self,
680
681
  reachedVia: viaTunnel ? 'public tunnel' : 'localhost',
681
682
  publicTunnel: tunnelGate?.publicUrl ? `${tunnelGate.publicUrl}/v1` : null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openzoo",
3
- "version": "0.51.17",
3
+ "version": "0.51.18",
4
4
  "description": "Local x402-paying proxy + MCP server for openzoo.fun — point any OpenAI-compatible harness (Cursor, Claude Code, aider, SDKs) at localhost and it pays per call from a local burner wallet. Solana and Base rails live; Robinhood experimental.",
5
5
  "license": "MIT",
6
6
  "type": "module",