@tivio/sdk-react 3.2.3 → 3.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -280,7 +280,7 @@ declare type TivioHooks = {
280
280
  purchaseRecoveryResult?: string;
281
281
  loading: boolean;
282
282
  error?: any;
283
- purchaseRecovery: (monetizationId: string) => Promise<string>;
283
+ purchaseRecovery: (monetizationId: string) => void;
284
284
  };
285
285
  useRowsInScreen: (screenId: string, options: PaginationOptions) => {
286
286
  pagination: PaginationInterface<Row> | null;
@@ -300,6 +300,12 @@ declare type TivioHooks = {
300
300
  canPurchaseWatchWithoutAds: boolean;
301
301
  showPurchaseDialog: () => void;
302
302
  };
303
+ useApplyInviteCode: () => {
304
+ applyInviteCodeResult?: boolean;
305
+ loading: boolean;
306
+ error?: any;
307
+ applyInviteCode: (code: string) => void;
308
+ };
303
309
  };
304
310
  export declare type UserPayload = Record<string, any>;
305
311
  declare type TivioBundle = {
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tivio/sdk-react",
3
- "version": "3.2.3",
3
+ "version": "3.2.4",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "source": "src/index.ts",
@@ -28,7 +28,7 @@
28
28
  "@material-ui/core": "^4.11.2",
29
29
  "@material-ui/icons": "^4.11.2",
30
30
  "@sentry/browser": "^6.1.0",
31
- "@tivio/common": "1.1.79",
31
+ "@tivio/common": "1.1.80",
32
32
  "es7-object-polyfill": "^1.0.1",
33
33
  "firebase": "^8.2.3",
34
34
  "formik": "^2.2.7",