Conversation
chore: sync main → develop after v1.1.33
Names `@xyo-network/xl1-browser-system` as the preferred way to integrate XL1 into a website, and REST as the preferred chain-read transport when configuring it. React dApps stay on `InPageGatewaysProvider` — it already launches a browser system per network internally — but must pass `transport="rest"`, since the prop still defaults to `'rpc'`. Non-React realms (plain pages, workers, service workers, extension backgrounds) launch `launchXl1BrowserGatewaySystem` directly. - xl1-knowledge: new "Integrating XL1 Into a Website" section in gateway-browser.md covering entry point per app shape, the REST rule and endpoint semantics, compile-then-launch, and anti-patterns; router, package map, and the transports section updated to match - xl1-patterns: `transport="rest"` on every in-page provider snippet, a transport subsection in in-page-datalakes.md, and new checklist gates - xl1-scaffold: the react template now ships the provider stack wired for REST instead of a bare connect button - xl1-testing: browser-mode.md drops the deprecated `buildGateway` Also corrects a stale react-chain version reference (5.0.15 -> 5.5.3). 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.
Integration PR. Merge with "Create a merge commit" — never squash. Squashing
developintomainleaves phantom commits ingit log main..developthat accumulate over time, since both branches are long-lived.What ships
Browser-system and REST guidance (#84) — names
@xyo-network/xl1-browser-systemas the preferred way to integrate XL1 into a website, and REST as the preferred chain-read transport when configuring it.React dApps stay on
InPageGatewaysProvider, which already launches a browser system per network internally, but must passtransport="rest"because the prop still defaults to'rpc'. Non-React realms (plain pages, web workers, service workers, extension backgrounds) launchlaunchXl1BrowserGatewaySystemdirectly. REST changes reads only; mempool submission still goes over the RPC url.xl1-knowledge— new "Integrating XL1 Into a Website" section ingateway-browser.md; router, skill description, package map, and thegateway.mdtransports section updated to matchxl1-patterns—transport="rest"on every in-page provider snippet, a transport subsection inin-page-datalakes.md, new gates indapp-checklist.mdxl1-scaffold— thereacttemplate now ships the provider stack wired for REST, where it previously had no gateway provider at allxl1-testing—browser-mode.mddrops the deprecatedbuildGatewayBlock clock correction (5ca476b) —
$epochis leftover client meta rather than the block clock. The signednetwork.xyo.timepayload is, read viatimePayloadOfBlock/epochOfBlock. Nothing that gates qualification, finality, or head selection should accept$epoch.Verification
All checks passed on #84: skill validation, marketplace manifest rendering, conventional title, and the scaffold sync check.
🤖 Generated with Claude Code