@cosmicdrift/kumiko-dev-server 0.258.1 → 0.260.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmicdrift/kumiko-dev-server",
3
- "version": "0.258.1",
3
+ "version": "0.260.0",
4
4
  "description": "Dev-tooling for Kumiko apps: local dev-server bootstrap (runDevApp), scaffolding, codegen. Its compose-stacks/env-schema subpaths are consumed at prod boot too — see @cosmicdrift/kumiko-server-runtime for the prod runner itself.",
5
5
  "license": "BUSL-1.1",
6
6
  "author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
@@ -59,9 +59,9 @@
59
59
  "kumiko-upgrade": "./bin/kumiko-upgrade.ts"
60
60
  },
61
61
  "dependencies": {
62
- "@cosmicdrift/kumiko-bundled-features": "0.258.1",
63
- "@cosmicdrift/kumiko-framework": "0.258.1",
64
- "@cosmicdrift/kumiko-server-runtime": "0.258.1",
62
+ "@cosmicdrift/kumiko-bundled-features": "0.260.0",
63
+ "@cosmicdrift/kumiko-framework": "0.260.0",
64
+ "@cosmicdrift/kumiko-server-runtime": "0.260.0",
65
65
  "ts-morph": "^28.0.0"
66
66
  },
67
67
  "publishConfig": {
@@ -418,11 +418,8 @@ describe("saas-identity-wire", () => {
418
418
  { Authorization: `Bearer ${token}` },
419
419
  );
420
420
  expect(mineRes.status).toBe(200);
421
- const mineBody = (await mineRes.json()) as {
422
- data?: Array<{ id: string }> | { items?: Array<{ id: string }> };
423
- };
424
- const items = Array.isArray(mineBody.data) ? mineBody.data : (mineBody.data?.items ?? []);
425
- expect(items.some((s) => s.id === sid)).toBe(true);
421
+ const mineBody = (await mineRes.json()) as { data: { rows: Array<{ id: string }> } };
422
+ expect(mineBody.data.rows.some((s) => s.id === sid)).toBe(true);
426
423
 
427
424
  const rows = await selectMany(stack.db, userSessionTable, { userId });
428
425
  expect(rows.length).toBeGreaterThanOrEqual(1);