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.
@@ -14,8 +14,8 @@ interface CardProps {
14
14
  handleDownloadError: (message: string, res?: any) => void;
15
15
  fetchFileUrl: string;
16
16
  urls: {
17
- iosUrl: string | undefined;
18
- googleUrl: string | undefined;
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 | undefined;
14
- googleUrl: string | undefined;
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;
@@ -8,6 +8,9 @@ interface PreviewProps {
8
8
  fetchFileUrl: string;
9
9
  copyLinkUrl: string;
10
10
  setSafariCopyLink: any;
11
+ iosLink: string | null;
12
+ androidLink: string | null;
13
+ urlType: string;
11
14
  }
12
15
  declare const Preview: FC<PreviewProps>;
13
16
  export default Preview;
@@ -5,6 +5,9 @@ interface QrcodeProps {
5
5
  copyLinkUrl: string;
6
6
  setSafariCopyLink: any;
7
7
  qrUrl: string;
8
+ iosLink: string | null;
9
+ androidLink: string | null;
10
+ urlType: string;
8
11
  }
9
12
  declare global {
10
13
  interface Window {
@@ -1,4 +1,4 @@
1
1
  export default function updatePlayableVersions(versionId: string, urls: {
2
- iosLink: string | undefined;
3
- androidLink: string | undefined;
2
+ iosLink: string | undefined | null;
3
+ androidLink: string | undefined | null;
4
4
  }, api: string): Promise<any>;
@@ -1,7 +1,7 @@
1
1
  type ProductType = "Playable" | "Flex" | "Import" | "Ready" | string;
2
2
  type Urls = {
3
- iosUrl: string | undefined;
4
- googleUrl: string | undefined;
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>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gearboxdownloadmodal",
3
3
  "private": false,
4
- "version": "6.0.11",
4
+ "version": "6.0.12",
5
5
  "type": "module",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.esm.js",