Comparing version 0.3.15 to 0.3.16
@@ -47,3 +47,3 @@ { | ||
"name": "febs", | ||
"version": "0.3.15" | ||
"version": "0.3.16" | ||
} |
@@ -540,3 +540,3 @@ // Type definitions for febs | ||
*/ | ||
function accept(app: any, conditionCB: (data: any, filesize: number, filename: string, filemimeType: string) => string | null): Promise<boolean>; | ||
function accept(app: any, conditionCB: (data: any, filesize: number, filename: string, filemimeType: string) => Promise<string>): Promise<boolean>; | ||
} | ||
@@ -556,3 +556,3 @@ | ||
*/ | ||
function acceptHeader(app: any, conditionCB: (filesize: number, data: any) => string | null, sessionSet: (data: any) => void): Promise<boolean>; | ||
function acceptHeader(app: any, conditionCB: (filesize: number, data: any) => Promise<string>, sessionSet: (data: any) => void): Promise<boolean>; | ||
/** | ||
@@ -571,3 +571,3 @@ * 上传文件内容. | ||
*/ | ||
function accept(app: any, finishCB: (filename: string) => any, sessionGet: () => any, sessionSet: (data: any) => void, sessionClear: () => void): Promise<void>; | ||
function accept(app: any, finishCB: (filename: string) => Promise<any>, sessionGet: () => any, sessionSet: (data: any) => void, sessionClear: () => void): Promise<void>; | ||
/** | ||
@@ -574,0 +574,0 @@ * @desc: 在用户登出或其他中断传输中清除上传的数据. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
689950