gearboxdownloadmodal 5.0.66 → 5.0.68

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.
@@ -18,9 +18,9 @@ interface CardProps {
18
18
  googleUrl: string | undefined;
19
19
  };
20
20
  game: any;
21
- downloadFlex: any;
21
+ creditDownload: any;
22
22
  setIsConfirmActive: Dispatch<any>;
23
- flexDownloadCount: any;
23
+ getDownloadCount: any;
24
24
  disabled: boolean;
25
25
  user: any;
26
26
  setSafariCopyLink: any;
@@ -1,7 +1,7 @@
1
1
  import { FC } from "react";
2
2
  interface CardSectionProps {
3
3
  playable?: any;
4
- downloadFlex?: any;
4
+ creditDownload?: any;
5
5
  visible: boolean;
6
6
  versionId: string;
7
7
  typeOfProduct: string;
@@ -14,7 +14,7 @@ interface CardSectionProps {
14
14
  googleUrl: string | undefined;
15
15
  };
16
16
  game: any;
17
- flexDownloadCount: any;
17
+ getDownloadCount: any;
18
18
  disabled: any;
19
19
  setSafariCopyLink: any;
20
20
  }
@@ -4,7 +4,7 @@ interface ConfirmModalProps {
4
4
  creditConfirmType: string;
5
5
  handleCopyLink: any;
6
6
  download: any;
7
- flexDownloadCount: any;
7
+ getDownloadCount: any;
8
8
  }
9
9
  declare const ConfirmModal: FC<ConfirmModalProps>;
10
10
  export default ConfirmModal;
@@ -1,6 +1,6 @@
1
1
  import { FC } from "react";
2
2
  interface SpendCreditProps {
3
- downloadFlex: any;
3
+ creditDownload: any;
4
4
  api: string;
5
5
  }
6
6
  declare const SpendCredit: FC<SpendCreditProps>;
@@ -10,7 +10,7 @@ interface TopBarProps {
10
10
  handleIosChange: any;
11
11
  handleGoogleChange: any;
12
12
  disabled: boolean;
13
- downloadFlex: any;
13
+ creditDownload: any;
14
14
  api: any;
15
15
  }
16
16
  declare const TopBar: FC<TopBarProps>;
@@ -9,7 +9,7 @@ interface TopBarInfoProps {
9
9
  handleIosChange: any;
10
10
  handleGoogleChange: any;
11
11
  disabled: boolean;
12
- downloadFlex: any;
12
+ creditDownload: any;
13
13
  api: string;
14
14
  }
15
15
  declare const TopBarInfo: FC<TopBarInfoProps>;
@@ -0,0 +1 @@
1
+ export default function createPlayableLinkNew(api: string, selectedPlayableVersion: string, network: string): Promise<any>;
@@ -0,0 +1 @@
1
+ export default function createReadyLink(api: string, versionId: string, network: string): Promise<any>;
@@ -0,0 +1 @@
1
+ export default function getReadyDownloadCount(body: any, api: string): Promise<any>;
@@ -0,0 +1,8 @@
1
+ type ProductType = "Playable" | "Flex" | "Import" | "Ready" | string;
2
+ type Urls = {
3
+ iosUrl: string | undefined;
4
+ googleUrl: string | undefined;
5
+ } | null | undefined;
6
+ declare function generateVersion(typeOfProduct: ProductType, versionId: string, networkName: string, urls: Urls, api: any, isDownloadOrCopy: "copy" | "download" | undefined, setSafariCopyLink: any): Promise<unknown>;
7
+ declare function setFetchUrl(url: string): void;
8
+ export { generateVersion, setFetchUrl };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gearboxdownloadmodal",
3
3
  "private": false,
4
- "version": "5.0.66",
4
+ "version": "5.0.68",
5
5
  "type": "module",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.esm.js",