@oxyfoo/gamelife-types 2.2.1 → 2.2.3

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.
@@ -8,4 +8,5 @@ export interface Account {
8
8
  Birthtime: number | null;
9
9
  LastChangeBirth: number | null;
10
10
  AccountAge: number;
11
+ AdRemaining: number;
11
12
  }
@@ -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 {
@@ -142,8 +142,9 @@ export interface ServerRequestGetAds {
142
142
  }
143
143
  export interface ServerRequestWatchAd {
144
144
  status: 'watch-ad';
145
- result: 'ok' | 'error';
145
+ result: 'ok' | 'error' | 'limit-reached';
146
146
  ox?: number;
147
+ adRemaining?: number;
147
148
  callbackID?: string;
148
149
  }
149
150
  export interface ServerRequestCreateSkill {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxyfoo/gamelife-types",
3
- "version": "2.2.1",
3
+ "version": "2.2.3",
4
4
  "description": "GameLife Types - TypeScript types for the GameLife project.",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",