@oxyfoo/gamelife-types 2.2.2 → 2.2.4

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.
@@ -332,6 +332,7 @@ export interface ClientRequestBuyIAP {
332
332
  platform: 'ios' | 'android';
333
333
  transactionId: string;
334
334
  purchaseToken: string;
335
+ quantity?: number;
335
336
  callbackID?: string;
336
337
  }
337
338
  export interface ClientRequestBuyRandomChest {
@@ -409,7 +409,7 @@ export interface ServerRequestBuyIAP {
409
409
  }
410
410
  export interface ServerRequestBuyRandomChest {
411
411
  status: 'buy-random-chest';
412
- result: 'ok' | 'invalid-rarity' | 'not-enough-ox' | 'error';
412
+ result: 'ok' | 'invalid-rarity' | 'not-enough-ox' | 'no-items-available' | 'error';
413
413
  ox?: number;
414
414
  newItem?: Stuff;
415
415
  callbackID?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxyfoo/gamelife-types",
3
- "version": "2.2.2",
3
+ "version": "2.2.4",
4
4
  "description": "GameLife Types - TypeScript types for the GameLife project.",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "**/*.d.ts"
27
27
  ],
28
28
  "devDependencies": {
29
- "@oxyfoo/avatar-factory": "^1.1.3",
29
+ "@oxyfoo/avatar-factory": "^1.2.0",
30
30
  "@typescript-eslint/eslint-plugin": "^8.32.0",
31
31
  "@typescript-eslint/parser": "^8.32.0",
32
32
  "eslint": "^9.26.0",