Skip to content

Version Packages#74

Merged
BCook98 merged 1 commit into
mainfrom
changeset-release/main
Jul 3, 2026
Merged

Version Packages#74
BCook98 merged 1 commit into
mainfrom
changeset-release/main

Conversation

@BCook98

@BCook98 BCook98 commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

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

kit@2.16.1

Patch Changes

  • 8c904b5: Fix casino games showing a 0 balance and refusing wagers. The guest runtime built a fresh room every callback but created the game's Handler (and its stored Services) only once at OnStart, so svc.Credits was permanently bound to the start callback's roster. creditsSvc resolves a player's host-side index against that roster's ctx.members, which is empty for a solo game (the player joins after start) — so every Balance/Wager/Settle was denied at the guest facade (ErrCreditsDenied) and never reached the host. The room is now a single persistent instance refreshed in place each callback, so the game's stored Services always resolve against the live roster. (The kittest/native/memsvc doubles resolve by account id, not roster index, which is why unit tests and conformance did not catch this — it only manifested on the real wasm ABI path.) Casino games must be rebuilt against this release to pick up the fix.

@BCook98 BCook98 merged commit e4c9be0 into main Jul 3, 2026
6 checks passed
@BCook98 BCook98 deleted the changeset-release/main branch July 3, 2026 10:28
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