Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #3202

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Version Packages #3202

merged 1 commit into from
Sep 19, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 19, 2024

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 main, this PR will be updated.

Releases

@latticexyz/[email protected]

Patch Changes

@latticexyz/[email protected]

Patch Changes

@latticexyz/[email protected]

Patch Changes

@latticexyz/[email protected]

Patch Changes

@latticexyz/[email protected]

Patch Changes

@latticexyz/[email protected]

Patch Changes

@latticexyz/[email protected]

Patch Changes

@latticexyz/[email protected]

Patch Changes

@latticexyz/[email protected]

Patch Changes

@latticexyz/[email protected]

Patch Changes

@latticexyz/[email protected]

Patch Changes

  • 20fac30: Added @latticexyz/stash package, a TypeScript client state library optimized for the MUD Store data model.
    It uses the MUD store config to define local tables, which support writing, reading and subscribing to table updates.
    It comes with a query engine optimized for "ECS-style" queries (similar to @latticexyz/recs) but with native support for composite keys.

    You can find usage examples in the @latticexyz/stash README.md.

    This package is experimental and will have breaking changes while we refine its APIs and implementation. All of its exports are temporarily under @latticexyz/stash/internal until we consider it stable.

@latticexyz/[email protected]

Patch Changes

@latticexyz/[email protected]

Patch Changes

@latticexyz/[email protected]

Patch Changes

  • 8dc5889: Added a syncToStash util to hydrate a stash client store from MUD contract state. This is currently exported from @latticexyz/store-sync/internal while Stash package is unstable/experimental.

    import { createClient, http } from "viem";
    import { anvil } from "viem/chains";
    import { createStash } from "@latticexyz/stash/internal";
    import { syncToStash } from "@latticexyz/store-sync/internal";
    import config from "../mud.config";
    
    const client = createClient({
      chain: anvil,
      transport: http(),
    });
    
    const address = "0x...";
    
    const stash = createStash(config);
    const sync = await syncToStash({ stash, client, address });
  • Updated dependencies [20fac30]

@latticexyz/[email protected]

Patch Changes

@latticexyz/[email protected]

Patch Changes

@latticexyz/[email protected]

Patch Changes

@latticexyz/[email protected]

[email protected]

@latticexyz/[email protected]

@latticexyz/[email protected]

[email protected]

[email protected]

@latticexyz/[email protected]

[email protected]

[email protected]

@holic holic merged commit 512ddc4 into main Sep 19, 2024
1 check passed
@holic holic deleted the changeset-release/main branch September 19, 2024 12:59
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