Skip to content

fix: replace console.log with MDS.log in service.js, use PNG for shop icon - #22

Merged
eurobuddha merged 1 commit into
masterfrom
fix/service-console-and-shop-icon
Mar 25, 2026
Merged

fix: replace console.log with MDS.log in service.js, use PNG for shop icon#22
eurobuddha merged 1 commit into
masterfrom
fix/service-console-and-shop-icon

Conversation

@eurobuddha

Copy link
Copy Markdown
Owner

Summary

  • Minima's ServiceJSRunner runs in Rhino — console is not defined in that context. All console.log() calls in service.js threw ReferenceError: console is not defined every 10 seconds. Replaced all occurrences with MDS.log().
  • Shop dapp.conf was referencing ./icon.svg — switched to ./icon.png which is universally supported across all Minima hub versions.

Test plan

  • Reinstall miniMerchInbox.mds.zip on vendor node
  • Confirm SERVICEJS_POLL errors are gone from logs
  • Rebuild shop in Studio — confirm icon appears correctly in the Minima hub

🤖 Generated with Claude Code

… icon

Minima's ServiceJSRunner (Rhino) has no console object — every
console.log call threw ReferenceError every 10 seconds. Replaced all
occurrences with MDS.log().

Also switched shop dapp.conf icon from icon.svg to icon.png since PNG
is universally supported by all Minima hub versions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@eurobuddha
eurobuddha merged commit edaf8ca into master Mar 25, 2026
5 checks passed
@eurobuddha
eurobuddha deleted the fix/service-console-and-shop-icon branch March 25, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant