Skip to content

feature(release): version packages#57

Merged
coopbri merged 1 commit intomasterfrom
changeset-release/master
Jan 7, 2026
Merged

feature(release): version packages#57
coopbri merged 1 commit intomasterfrom
changeset-release/master

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Jan 7, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

@omnidotdev/rdk@0.7.0

Minor Changes

  • #56 39954c3 Thanks @coopbri! - Add status flags to backend hooks for safe destructuring.

    useGeolocationBackend() and useFiducialBackend() now return an object with isPending and isSuccess boolean flags instead of returning null on first render. This enables safe destructuring without null checks:

    // before (crashed on first render)
    const geo = useGeolocationBackend();
    const locar = geo?.locar;
    
    // after (safe destructuring)
    const { locar, isPending, isSuccess } = useGeolocationBackend();
    
    if (isSuccess && locar) {
      const worldCoords = locar.lonLatToWorldCoords(lon, lat);
    }

    New exported types: GeolocationBackendState, FiducialBackendState

@coopbri coopbri merged commit 8f9b8a9 into master Jan 7, 2026
@coopbri coopbri deleted the changeset-release/master branch January 7, 2026 06:55
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