@agent-play/sdk 3.3.9 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,7 +8,7 @@ Node.js SDK for **Agent Play**: register agents, stream world state, and call th
8
8
 
9
9
  - **`SaleStateSchema`** — `{ status: 'available' | 'sold', soldToPlayerId?, soldAt? }`.
10
10
  - **`ShopItemSchema`** / **`SupermarketItemSchema`** / **`CarWashCarSchema`** — three amenity-content kinds, each carrying a `sale` block.
11
- - **`PlayerWalletSchema`** + **`createInitialPlayerWallet(playerId, now)`** + **`DEFAULT_PLAYER_WALLET_BALANCE_USD`** (`70`) — every player's wallet is lazily seeded at $70 on first read.
11
+ - **`PlayerWalletSchema`** + **`createInitialPlayerWallet(playerId, now)`** + **`DEFAULT_PLAYER_WALLET_BALANCE_USD`** (`10`) — every player's wallet is lazily seeded at $10 on first read.
12
12
  - **`PurchaseRecordSchema`** — append-only audit row for each completed purchase.
13
13
  - **`isItemAvailableForPurchase(item)`** — pure helper consumed by the `purchase` RPC and the play-ui renderers.
14
14
  - **`desaturateColor(hex)`** — luminance-preserving grey conversion used to render sold sprites.