Add waitForRegistrationVisible#1774
Add waitForRegistrationVisible#1774neekolas wants to merge 1 commit into04-01-fix_flaky_stream_retry_testfrom
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
2c2a85b to
dd7f911
Compare

Add
waitForRegistrationVisibleoption to browser and node SDK client registrationwaitForRegistrationVisiblefield toOtherOptionsin both the browser and node SDKs, acceptingWasmVisibilityConfirmationOptions/VisibilityConfirmationOptionsrespectively.Client.registerpasses the option through to the underlyingregisterIdentitycall, causing registration to block until the identity is visible on the network.client.registerIdentityaction type.WasmVisibilityConfirmationOptionsandVisibilityConfirmationOptionsare re-exported from their respective SDK index files.@xmtp/node-bindingsand@xmtp/wasm-bindingsto dev builds that support this feature.Macroscope summarized 2c2a85b. (Automatic summaries will resume when PR exits draft mode or review begins).