Repository navigation
docs(extension): discovery, decodeRgbInvoice and the 0.2.0 package - #38
Merged
Merged
Conversation
…ackage Extension 0.3.0 was re-cut with the window.rgb follow-up, so the page was describing less than what testers are running: no provider discovery, no decodeRgbInvoice, and a TypeScript section still showing only the 0.1.0 requestProvider(). Adds the discovery section (rgb:requestProvider / rgb:announceProvider, listProviders, rdns com.kaleidoswap.extension), the decodeRgbInvoice row, a section on building against the mock with no extension installed, and the error-handling note that instanceof never works across postMessage. Same in the cn mirror; check-cn-parity is clean apart from the pre-existing navigation count gap. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extension 0.3.0 was re-cut with the
window.rgbfollow-up, so the dApp-connectivity page under-described what testers are running: it mentioned neither provider discovery nordecodeRgbInvoice, and its TypeScript section still showed only the 0.1.0requestProvider().window.rgbis a single slot, so the extension also announces itself EIP-6963 style (rgb:requestProvider/rgb:announceProvider,rdnscom.kaleidoswap.extension), withlistProviders()for a page that wants to offer a picker.decodeRgbInvoice— new row in the methods table: read-only, no confirmation,amount: nullfor an any-amount invoice.@kaleidorg/webrgb/mockand the conformance suite, both shipped in 0.2.0.postMessage, soinstanceofnever works; useisProviderError().listAssets()/listTransfers()always resolve to arrays from 0.3.0 on.check-cn-parity.py: structural parity and untranslated checks clean; the only failure is the pre-existing navigation count gap (en 91 / cn 87).🤖 Generated with Claude Code