Point the frontend guide at the embeddable widget; fix dead CDN tags - #157
Conversation
CosmJS publishes no browser bundle — the unpkg .../build/bundle.js script tags in FRONTEND_MIGRATION.md 404, so the copy-paste snippets could never run. Quick Start now leads with the prebuilt subscribe/gate widget (bluechipblockexplorer/widget, one script tag + pool address) and gives working manual paths for CosmJS (npm for bundler sites, esm.sh module shim for plain HTML). The full example page gets the same shim. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013UWKkumZFgbH5AZpbH5XWy
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5a3affa305
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| <!-- CosmJS — Required for all BlueChip interactions --> | ||
| <script src="https://unpkg.com/@cosmjs/cosmwasm-stargate@0.32.4/build/bundle.js"></script> | ||
| <script src="https://unpkg.com/@cosmjs/stargate@0.32.4/build/bundle.js"></script> | ||
| <script src="https://cdn.jsdelivr.net/gh/Bluechip23/bluechipblockexplorer@main/widget/dist/bluechip-widget.min.js"></script> |
There was a problem hiding this comment.
Publish the widget before recommending it
For users following the new recommended Quick Start, this script is fetched from Bluechip23/bluechipblockexplorer@main/widget/dist/..., but the public main tree for that repo does not contain a widget directory (the linked widget/README.md is absent too). In that case the CDN request 404s and the data-bluechip-* elements never initialize, leaving the documented “fastest path” unusable until the widget asset is published or the URL points at an existing release/path.
Useful? React with 👍 / 👎.
CosmJS publishes no browser bundle — the unpkg .../build/bundle.js script tags in FRONTEND_MIGRATION.md 404, so the copy-paste snippets could never run. Quick Start now leads with the prebuilt subscribe/gate widget (bluechipblockexplorer/widget, one script tag + pool address) and gives working manual paths for CosmJS (npm for bundler sites, esm.sh module shim for plain HTML). The full example page gets the same shim.
Claude-Session: https://claude.ai/code/session_013UWKkumZFgbH5AZpbH5XWy