0.4.0: battlepass levelNumber fix, UGC removed, regenerated API types, CI publish on tags
CI / check (push) Successful in 59s
CI / publish (push) Failing after 23s

This commit is contained in:
edmand46
2026-08-19 17:48:55 +03:00
parent 25f66be16a
commit 322a2c0706
9 changed files with 42 additions and 90 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ interface AdminWalletDetails {
balance: number;
}
interface AdminInventoryItem {
itemId: string;
slug: string;
amount: number;
}
interface AdminPlayerDetails {
@@ -70,7 +70,7 @@ describe('e2e-prod: purchase (wallet/inventory/limits)', () => {
const details = await api.get<AdminPlayerDetails>(
`/game/v1/projects/${artifact.projectId}/players/${playerId}`,
);
const inv = details.inventory?.find((i) => i.itemId === artifact.item.id);
const inv = details.inventory?.find((i) => i.slug === artifact.item.id);
expect(Number(inv?.amount)).toBe(artifact.store.paidGrantAmount);
// 4. Idempotency: the same key twice charges once.