gearboxdownloadmodal 8.5.5 → 8.5.6

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.
@@ -1 +1,6 @@
1
- export default function getPlayableVersionNames(api: string, isFlex: boolean | undefined, versionIds: string[]): Promise<any>;
1
+ type GetPlayableVersionNamesResponse = Array<{
2
+ _id: string;
3
+ name: string;
4
+ }>;
5
+ export default function getPlayableVersionNames(api: string, isFlex: boolean | undefined, versionIds: string[]): Promise<GetPlayableVersionNamesResponse>;
6
+ export {};
@@ -7,7 +7,13 @@ type Urls = {
7
7
  googleUrl: string | null;
8
8
  } | null | undefined;
9
9
  export declare const updateUrls: (versionId: string, urls: Urls, extras: any) => Promise<void>;
10
- declare function generateVersion(versionId: string, networkName: string, urls: Urls, action?: "download" | "copy" | null, isTest?: boolean, extras?: any): Promise<unknown>;
10
+ declare function generateVersion(versionId: string, networkName: string, urls: Urls, action?: "download" | "copy" | null, isTest?: boolean, extras?: any): Promise<{
11
+ url: string;
12
+ /**
13
+ * number in MB
14
+ */
15
+ size: number;
16
+ }>;
11
17
  declare function getMultiDownload(versionId: string, urls: Urls, networks: Array<string>, extras?: any): Promise<unknown>;
12
18
  declare function setDownloadDefaults(_typeOfProduct: string, _api: any, _setSafariCopyLink: any, _fetchFileUrl: string, _fustionData: FusionData | undefined): void;
13
19
  declare function setDownloadNetworks(_networks: any): void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "gearboxdownloadmodal",
3
3
  "private": false,
4
- "version": "8.5.5",
4
+ "version": "8.5.6",
5
5
  "type": "module",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.esm.js",