@crowdedkingdoms/crowdyjs 12.2.0 → 13.0.1

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/MIGRATION.md CHANGED
@@ -1,3 +1,32 @@
1
+ # CrowdyJS v13 — unified galaxy API (breaking)
2
+
3
+ The platform merged the Management API and Game API into ONE server on the
4
+ shared galaxy database. v13 resyncs the committed schema from the unified SDL
5
+ and removes the surfaces the platform retired:
6
+
7
+ - **`client.environments` (and `client.admin.environments`) removed.**
8
+ Dedicated customer environments no longer exist; every app runs on the
9
+ shared platform. `mintAppToken` still returns `gameApiUrl`/`gameApiWsUrl`
10
+ (they resolve to the shared host), so portal routing code keeps working.
11
+ - **`client.operator` reduced to platform compute ceilings**
12
+ (`computePlatformCeilings` / `setComputePlatformCeilings`). Infrastructure
13
+ operations (environments, change orders, secrets, releases, audit) moved to
14
+ the separate infra-control-plane service, which has its own auth, GraphQL
15
+ API, and operator console — not this SDK.
16
+ - **`client.usage`**: the per-environment rollups (`environmentSummary`,
17
+ `orgByEnvironment`, `environmentByApp`) are gone; org/app-scoped reporting
18
+ (`appSummary`, `appGraphqlOperations`, `playerPulse`) stays.
19
+ - **`client.billing`**: the per-environment capacity tier catalogs
20
+ (`buddyTiers`, `graphqlTiers`, `postgresTiers`) are gone; wallets, budgets
21
+ and transactions stay.
22
+ - **Endpoints**: `managementUrl` and `httpUrl` may now be the SAME origin
23
+ (e.g. `https://ck.test.cks-env.com`); configuring both remains supported
24
+ and the two-token model (session vs app-scoped) is unchanged.
25
+
26
+ Everything game-client (auth, users, world/UDP, stores, kit, game model,
27
+ compute, player compute/model, marketplace, Crowdy Studio + agent) is
28
+ unchanged — the merged schema is a superset for those surfaces.
29
+
1
30
  # CrowdyJS v12.1 — Crowdy Studio embed kit (additive)
2
31
 
3
32
  Version 12.1 ships the reusable game-embed chrome that previously lived only