electron-incremental-update 1.3.0 → 2.0.0-beta.10

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,31 +0,0 @@
1
- /**
2
- * parse Github CDN URL for accelerating the speed of downloading
3
- *
4
- * {@link https://github.com/XIU2/UserScript/blob/master/GithubEnhanced-High-Speed-Download.user.js#L34 some public CDN links}
5
- */
6
- declare function parseGithubCdnURL(originRepoURL: string, cdnPrefix: string, relativeFilePath: string): string;
7
- /**
8
- * handle all unhandled error
9
- * @param callback callback function
10
- */
11
- declare function handleUnexpectedErrors(callback: (err: unknown) => void): void;
12
- interface Version {
13
- major: number;
14
- minor: number;
15
- patch: number;
16
- stage: string;
17
- stageVersion: number;
18
- }
19
- declare function parseVersion(version: string): Version;
20
- type UpdateInfo = {
21
- signature: string;
22
- minimumVersion: string;
23
- version: string;
24
- size: number;
25
- };
26
- type UpdateJSON = UpdateInfo & {
27
- beta: UpdateInfo;
28
- };
29
- declare function isUpdateJSON(json: any): json is UpdateJSON;
30
-
31
- export { type UpdateInfo as U, type Version as V, type UpdateJSON as a, parseVersion as b, handleUnexpectedErrors as h, isUpdateJSON as i, parseGithubCdnURL as p };
@@ -1,31 +0,0 @@
1
- /**
2
- * parse Github CDN URL for accelerating the speed of downloading
3
- *
4
- * {@link https://github.com/XIU2/UserScript/blob/master/GithubEnhanced-High-Speed-Download.user.js#L34 some public CDN links}
5
- */
6
- declare function parseGithubCdnURL(originRepoURL: string, cdnPrefix: string, relativeFilePath: string): string;
7
- /**
8
- * handle all unhandled error
9
- * @param callback callback function
10
- */
11
- declare function handleUnexpectedErrors(callback: (err: unknown) => void): void;
12
- interface Version {
13
- major: number;
14
- minor: number;
15
- patch: number;
16
- stage: string;
17
- stageVersion: number;
18
- }
19
- declare function parseVersion(version: string): Version;
20
- type UpdateInfo = {
21
- signature: string;
22
- minimumVersion: string;
23
- version: string;
24
- size: number;
25
- };
26
- type UpdateJSON = UpdateInfo & {
27
- beta: UpdateInfo;
28
- };
29
- declare function isUpdateJSON(json: any): json is UpdateJSON;
30
-
31
- export { type UpdateInfo as U, type Version as V, type UpdateJSON as a, parseVersion as b, handleUnexpectedErrors as h, isUpdateJSON as i, parseGithubCdnURL as p };