gearboxdownloadmodal 5.0.67 → 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.
- package/dist/index.es.js +2691 -2786
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +27 -27
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/Card.d.ts +2 -2
- package/dist/src/components/CardSection.d.ts +2 -2
- package/dist/src/components/ConfirmModal.d.ts +1 -1
- package/dist/src/components/SpendCredit.d.ts +1 -1
- package/dist/src/components/TopBar.d.ts +1 -1
- package/dist/src/components/TopBarInfo.d.ts +1 -1
- package/dist/src/services/createPlayableLinkNew.d.ts +1 -0
- package/dist/src/services/createReadyLink.d.ts +1 -0
- package/dist/src/services/getReadyDownloadCount.d.ts +1 -0
- package/dist/src/utils/generateVersion.d.ts +8 -0
- package/package.json +1 -1
|
@@ -18,9 +18,9 @@ interface CardProps {
|
|
|
18
18
|
googleUrl: string | undefined;
|
|
19
19
|
};
|
|
20
20
|
game: any;
|
|
21
|
-
|
|
21
|
+
creditDownload: any;
|
|
22
22
|
setIsConfirmActive: Dispatch<any>;
|
|
23
|
-
|
|
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
|
-
|
|
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
|
-
|
|
17
|
+
getDownloadCount: any;
|
|
18
18
|
disabled: any;
|
|
19
19
|
setSafariCopyLink: any;
|
|
20
20
|
}
|
|
@@ -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 };
|