Release shared 1.0.18 and client 0.1.8 with casino machine hooks - #9
Merged
Merged
Conversation
…to 0.1.8 `useCasinoMachine` and `useCasinoMachineAction` move from the web's CasinoMachine page into @gl3/client so the app can share them, keyed under `casino` so the lobby's invalidation refreshes the machine too. The version bumps carry the machine DTOs, the machine error copy and the round `payoutPoints` that landed on 1.0.17 / 0.1.7 after those were published.
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.
Publish the shared casino DTOs and client changes that had remained under previously published version numbers. Bump @gl3/shared to 1.0.18, @gl3/client to 0.1.8, and require shared ^1.0.18 from client; update the lockfile accordingly.
The client now exports useCasinoMachine, useCasinoMachineAction and CasinoMachineVerb. Machine queries use the casino cache namespace, and the web consumes these shared hooks instead of defining them locally. The releases also include the previously merged casino error messages, reel-display DTOs and round payoutPoints.
Validation: npm run verify:ci passed (1,283 tests, 1 skipped; no type errors). Both packed packages installed into a fresh consumer, and their machine schemas, hook exports and cache key were verified.
Published versions: @gl3/shared@1.0.18 and @gl3/client@0.1.8 on npm.gl3.dev, shared first so the client's dependency resolves.