@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 +29 -0
- package/README.md +355 -588
- package/dist/crowdy-client.d.ts +6 -4
- package/dist/crowdy-client.d.ts.map +1 -1
- package/dist/crowdy-client.js +0 -3
- package/dist/domains/admin.d.ts +0 -4
- package/dist/domains/admin.d.ts.map +1 -1
- package/dist/domains/admin.js +0 -1
- package/dist/domains/billing.d.ts +1 -21
- package/dist/domains/billing.d.ts.map +1 -1
- package/dist/domains/billing.js +1 -30
- package/dist/domains/controlPlane.d.ts +14 -170
- package/dist/domains/controlPlane.d.ts.map +1 -1
- package/dist/domains/controlPlane.js +14 -249
- package/dist/domains/udp.d.ts.map +1 -1
- package/dist/domains/udp.js +25 -0
- package/dist/domains/usage.d.ts +9 -32
- package/dist/domains/usage.d.ts.map +1 -1
- package/dist/domains/usage.js +9 -48
- package/dist/generated/graphql.d.ts +52 -2071
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +9 -59
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -3
- package/dist/kit/npcs.d.ts.map +1 -1
- package/dist/kit/social.d.ts.map +1 -1
- package/dist/lb-cookie-store.d.ts +4 -0
- package/dist/lb-cookie-store.d.ts.map +1 -1
- package/dist/lb-cookie-store.js +17 -0
- package/dist/realtime.d.ts +22 -0
- package/dist/realtime.d.ts.map +1 -1
- package/dist/realtime.js +115 -5
- package/package.json +1 -1
- package/dist/domains/environments.d.ts +0 -167
- package/dist/domains/environments.d.ts.map +0 -1
- package/dist/domains/environments.js +0 -238
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
|