gearboxdownloadmodal 6.0.11 → 6.0.12
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 +1110 -1076
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +18 -18
- 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/Networks.d.ts +6 -0
- package/dist/src/components/Preview.d.ts +3 -0
- package/dist/src/components/Qrcode.d.ts +3 -0
- package/dist/src/services/updatePlayableVersion.d.ts +2 -2
- package/dist/src/utils/generateVersion.d.ts +2 -2
- package/package.json +1 -1
|
@@ -14,8 +14,8 @@ interface CardProps {
|
|
|
14
14
|
handleDownloadError: (message: string, res?: any) => void;
|
|
15
15
|
fetchFileUrl: string;
|
|
16
16
|
urls: {
|
|
17
|
-
iosUrl: string |
|
|
18
|
-
googleUrl: string |
|
|
17
|
+
iosUrl: string | null;
|
|
18
|
+
googleUrl: string | null;
|
|
19
19
|
};
|
|
20
20
|
game: any;
|
|
21
21
|
creditDownload: any;
|
|
@@ -10,8 +10,8 @@ interface CardSectionProps {
|
|
|
10
10
|
handleDownloadError: (message: string, res?: any) => void;
|
|
11
11
|
fetchFileUrl: string;
|
|
12
12
|
urls: {
|
|
13
|
-
iosUrl: string |
|
|
14
|
-
googleUrl: string |
|
|
13
|
+
iosUrl: string | null;
|
|
14
|
+
googleUrl: string | null;
|
|
15
15
|
};
|
|
16
16
|
game: any;
|
|
17
17
|
getDownloadCount: any;
|
|
@@ -13,6 +13,12 @@ interface NetworksProps {
|
|
|
13
13
|
fileSize: any;
|
|
14
14
|
setFileSize: any;
|
|
15
15
|
setSafariCopyLink: any;
|
|
16
|
+
iosLink: string | null;
|
|
17
|
+
androidLink: string | null;
|
|
18
|
+
setIosLink: any;
|
|
19
|
+
setAndroidLink: any;
|
|
20
|
+
urlType: string;
|
|
21
|
+
setUrlType: any;
|
|
16
22
|
}
|
|
17
23
|
declare const Networks: FC<NetworksProps>;
|
|
18
24
|
export default Networks;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
type ProductType = "Playable" | "Flex" | "Import" | "Ready" | string;
|
|
2
2
|
type Urls = {
|
|
3
|
-
iosUrl: string |
|
|
4
|
-
googleUrl: string |
|
|
3
|
+
iosUrl: string | null;
|
|
4
|
+
googleUrl: string | null;
|
|
5
5
|
} | null | undefined;
|
|
6
6
|
declare function generateVersion(versionId: string, networkName: string, urls: Urls, action?: "download" | "copy" | null, isTest?: boolean, extras?: any): Promise<unknown>;
|
|
7
7
|
declare function getMultiDownload(versionId: string, urls: Urls, networks: Array<string>): Promise<unknown>;
|