Skip to content

Version Packages#67

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

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

Conversation

@BCook98

@BCook98 BCook98 commented Jun 24, 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.15.0

Minor Changes

  • 384476e: Casino games: the game-kind meta section, credits host functions, and CtxFeatCredits (wire revision 7)

    • GameMeta.Kind (GameKindGame | GameKindCasino) classifies a game for
      the platform economy, with GameMeta.MaxPayoutMultiplier declaring a
      casino game's per-stake payout ceiling — a new presence-guarded trailing
      meta section (absent = game, so every existing artifact keeps its meaning).
    • Three new host functions — credits_balance, credits_wager,
      credits_settle — give casino-kind guests an account-wide, host-owned
      wallet: atomic escrow wagers, gross (stake-inclusive) settlement clamped to
      stake × the declared multiplier, typed refusals
      (ErrInsufficientCredits, ErrEconomyDisabled, ErrCreditsDenied,
      ErrCreditsUnavailable). Game-kind guests are rejected host-side.
    • CtxFeatCredits (bit 2) declares that an artifact wagers
      (declaration-only; no encoding change).
    • Go guest SDK: Services.Credits; Rust guest SDK: Room::credits_balance /
      credits_wager / credits_settle, Meta::kind +
      Meta::max_payout_multiplier, CTX_FEAT_CREDITS, CreditsError.
    • kittest.Room gains an in-memory wallet double (Credits,
      CreditsStakes, CreditsDisabled); the native dev runner and memsvc
      (behind shellcade-kit check/play) implement the same semantics.
    • Wire revision 6 → 7; ABI.md §3/§4.2 and GUIDE.md document the contract.

Patch Changes

  • c470738: Guard non-positive Room.Every durations so they return no timer instead of panicking, and fix stale package metadata.

@BCook98
BCook98 force-pushed the changeset-release/main branch from 5846cab to f5ab9db Compare July 3, 2026 01:42
@BCook98
BCook98 merged commit 73dd526 into main Jul 3, 2026
6 checks passed
@BCook98
BCook98 deleted the changeset-release/main branch July 3, 2026 01:43
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