@chahakshah/terabox-api 2.6.2 → 2.6.4
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/index.d.ts +6 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// index.d.ts
|
|
2
2
|
|
|
3
|
-
declare module "terabox-api" {
|
|
3
|
+
declare module "@chahakshah/terabox-api" {
|
|
4
4
|
export interface FormUrlEncodedParams {
|
|
5
5
|
[key: string]: string;
|
|
6
6
|
}
|
|
@@ -415,17 +415,17 @@ declare module "terabox-api" {
|
|
|
415
415
|
|
|
416
416
|
export default TeraBoxApp;
|
|
417
417
|
}
|
|
418
|
-
declare module "terabox-api/helper" {
|
|
418
|
+
declare module "@chahakshah/terabox-api/helper" {
|
|
419
419
|
export function getChunkSize(fileSize: number, is_vip?: boolean): number;
|
|
420
420
|
export function hashFile(
|
|
421
421
|
filePath: string
|
|
422
|
-
): Promise<import("terabox-api").FileHashData>;
|
|
422
|
+
): Promise<import("@chahakshah/terabox-api").FileHashData>;
|
|
423
423
|
export function uploadChunks(
|
|
424
|
-
app: import("terabox-api").default,
|
|
425
|
-
data: import("terabox-api").UploadData,
|
|
424
|
+
app: import("@chahakshah/terabox-api").default,
|
|
425
|
+
data: import("@chahakshah/terabox-api").UploadData,
|
|
426
426
|
filePath: string,
|
|
427
427
|
maxTasks?: number,
|
|
428
428
|
maxTries?: number
|
|
429
|
-
): Promise<{ ok: boolean; data: import("terabox-api").UploadData }>;
|
|
429
|
+
): Promise<{ ok: boolean; data: import("@chahakshah/terabox-api").UploadData }>;
|
|
430
430
|
export function unwrapErrorMessage(err: any): string | undefined;
|
|
431
431
|
}
|