gearboxdownloadmodal 6.0.77 → 6.0.79
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.d.ts +1 -1
- package/dist/index.es.js +8345 -5660
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +35 -29
- package/dist/index.umd.js.map +1 -1
- package/dist/src/apis/clients.d.ts +1 -1
- package/dist/src/atoms.d.ts +5 -5
- package/dist/src/components/Button.d.ts +2 -1
- package/dist/src/components/Card.d.ts +2 -1
- package/dist/src/components/CardButton.d.ts +2 -1
- package/dist/src/components/CardSection.d.ts +3 -2
- package/dist/src/components/CardSectionFooter.d.ts +2 -1
- package/dist/src/components/Checkbox.d.ts +2 -1
- package/dist/src/components/ConfirmModal.d.ts +2 -1
- package/dist/src/components/Content.d.ts +2 -1
- package/dist/src/components/DownloadMonitor.d.ts +2 -1
- package/dist/src/components/Downloads.d.ts +2 -1
- package/dist/src/components/Duplicate.d.ts +2 -1
- package/dist/src/components/Ellipsis.d.ts +2 -1
- package/dist/src/components/FileSizeModal.d.ts +7 -1
- package/dist/src/components/GameUrls.d.ts +2 -1
- package/dist/src/components/Iframe.d.ts +2 -1
- package/dist/src/components/IframeName.d.ts +2 -1
- package/dist/src/components/InsightIcon.d.ts +2 -1
- package/dist/src/components/InstantGameModal.d.ts +2 -1
- package/dist/src/components/Link.d.ts +2 -1
- package/dist/src/components/Modal.d.ts +3 -2
- package/dist/src/components/MultiDownload.d.ts +2 -1
- package/dist/src/components/Networks.d.ts +2 -1
- package/dist/src/components/Preview.d.ts +2 -1
- package/dist/src/components/Qrcode.d.ts +2 -1
- package/dist/src/components/SafariCopyLinkModal.d.ts +2 -1
- package/dist/src/components/SingleUrl.d.ts +2 -1
- package/dist/src/components/SpendCredit.d.ts +2 -1
- package/dist/src/components/StarIcon.d.ts +2 -1
- package/dist/src/components/TopBar.d.ts +2 -1
- package/dist/src/components/TopBarInfo.d.ts +2 -1
- package/dist/src/components/TopBarNetworkTitle.d.ts +2 -1
- package/dist/src/components/TopBarTitle.d.ts +2 -1
- package/dist/src/i18n/index.d.ts +2 -1
- package/dist/src/main.d.ts +1 -0
- package/dist/src/services/compressByDiff.d.ts +1 -0
- package/dist/src/services/fusion.d.ts +2 -1
- package/dist/src/types/Playable.d.ts +2 -1
- package/dist/src/utils/generateVersion.d.ts +2 -1
- package/package.json +2 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('axios').AxiosInstance;
|
|
2
2
|
export default _default;
|
package/dist/src/atoms.d.ts
CHANGED
|
@@ -4,19 +4,19 @@ interface Network {
|
|
|
4
4
|
imageSrc: string;
|
|
5
5
|
apiName?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare const customUrlAtom: import(
|
|
7
|
+
export declare const customUrlAtom: import('jotai').PrimitiveAtom<string> & {
|
|
8
8
|
init: string;
|
|
9
9
|
};
|
|
10
|
-
export declare const customUrlModalAtom: import(
|
|
10
|
+
export declare const customUrlModalAtom: import('jotai').PrimitiveAtom<boolean> & {
|
|
11
11
|
init: boolean;
|
|
12
12
|
};
|
|
13
|
-
export declare const networksAtom: import(
|
|
13
|
+
export declare const networksAtom: import('jotai').PrimitiveAtom<Network[]> & {
|
|
14
14
|
init: Network[];
|
|
15
15
|
};
|
|
16
|
-
export declare const defaultNetworksAtom: import(
|
|
16
|
+
export declare const defaultNetworksAtom: import('jotai').PrimitiveAtom<string[]> & {
|
|
17
17
|
init: string[];
|
|
18
18
|
};
|
|
19
|
-
export declare const playableUseCustomUrlAtom: import(
|
|
19
|
+
export declare const playableUseCustomUrlAtom: import('jotai').PrimitiveAtom<boolean> & {
|
|
20
20
|
init: boolean;
|
|
21
21
|
};
|
|
22
22
|
export {};
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
import { Dispatch, FC } from
|
|
1
|
+
import { Dispatch, FC } from 'react';
|
|
2
|
+
|
|
2
3
|
interface FileSizeModalProps {
|
|
3
4
|
setIsExceedingFileSizeAccepted: Dispatch<boolean>;
|
|
4
5
|
closeModal: () => void;
|
|
5
6
|
setLoading: Dispatch<boolean>;
|
|
6
7
|
typeOfProduct: string;
|
|
8
|
+
versionId: string;
|
|
9
|
+
fileSize: number;
|
|
10
|
+
user: any;
|
|
11
|
+
compressApi?: string;
|
|
12
|
+
producerApi?: string;
|
|
7
13
|
}
|
|
8
14
|
declare const FileSizeModal: FC<FileSizeModalProps>;
|
|
9
15
|
export default FileSizeModal;
|
package/dist/src/i18n/index.d.ts
CHANGED
package/dist/src/main.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function compressByDiff(versionId: string, fileSize: number, api: string): Promise<any>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { FusionData } from
|
|
1
|
+
import { FusionData } from '../components/Modal';
|
|
2
|
+
|
|
2
3
|
export declare function createFusionVersionLink(api: string, versionId: string, network: string, fusionData?: FusionData, isTest?: boolean, extras?: any, androidLink?: string | null, iosLink?: string | null): Promise<any>;
|
|
3
4
|
export declare function updateFusionUrl(body: any, api: string): Promise<any>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { FusionData } from
|
|
1
|
+
import { FusionData } from '../components/Modal';
|
|
2
|
+
|
|
2
3
|
export type CoreProductType = "Playable" | "Flex" | "Ready" | "string";
|
|
3
4
|
export type ProductType = CoreProductType | "Import" | "Fusion" | "string";
|
|
4
5
|
type Urls = {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gearboxdownloadmodal",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "6.0.
|
|
4
|
+
"version": "6.0.79",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.umd.js",
|
|
7
7
|
"module": "dist/index.esm.js",
|
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
"react-modal": "^3.16.1",
|
|
39
39
|
"react-qr-code": "^2.0.12",
|
|
40
40
|
"react-toastify": "^9.1.3",
|
|
41
|
+
"socket.io-client": "^4.8.1",
|
|
41
42
|
"typescript-cookie": "^1.0.6"
|
|
42
43
|
},
|
|
43
44
|
"devDependencies": {
|