openclaw-overlay-plugin 0.7.26 → 0.7.28

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.
@@ -184,8 +184,9 @@ export async function cmdBaemailRefund(requestId) {
184
184
  try {
185
185
  // Load UTXOs
186
186
  const address = walletIdentity.address;
187
- const utxosResp = await fetchWithTimeout(`https://api.whatsonchain.com/v1/bsv/main/address/${address}/unspent`);
188
- const utxos = await utxosResp.json();
187
+ const utxosResp = await fetchWithTimeout(`https://api.whatsonchain.com/v1/bsv/main/address/${address}/unspent/all`);
188
+ const data = await utxosResp.json();
189
+ const utxos = data.result || [];
189
190
  if (!utxos || utxos.length === 0) {
190
191
  return fail('No UTXOs available for refund');
191
192
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openclaw-overlay-plugin",
3
- "version": "0.7.26",
3
+ "version": "0.7.28",
4
4
  "description": "Openclaw BSV Overlay — agent discovery, service marketplace, and micropayments on the BSV blockchain",
5
5
  "publishConfig": {
6
6
  "access": "public"