Skip to content

Commit

Permalink
bump to 0.5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
jkuri committed Jul 29, 2016
1 parent 3a62570 commit f763694
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ng2-uploader",
"description": "Angular2 File Uploader",
"version": "0.5.8",
"version": "0.5.9",
"license": "MIT",
"main": "ng2-uploader.ts",
"author": "Jan Kuri <[email protected]>",
Expand Down
19 changes: 18 additions & 1 deletion src/services/ng2-uploader.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
import { EventEmitter } from '@angular/core';
export declare class UploadedFile {
id: string;
status: number;
statusText: string;
progress: Object;
originalName: string;
size: number;
response: string;
done: boolean;
error: boolean;
abort: boolean;
constructor(id: string, originalName: string, size: number);
setProgres(progress: Object): void;
setError(): void;
setAbort(): void;
onFinished(status: number, statusText: string, response: string): void;
}
export declare class Ng2Uploader {
url: string;
cors: boolean;
Expand All @@ -13,7 +30,7 @@ export declare class Ng2Uploader {
multipart: boolean;
method: string;
debug: boolean;
customHeaders: Object;
customHeaders: any;
encodeHeaders: boolean;
authTokenPrefix: string;
authToken: string;
Expand Down

0 comments on commit f763694

Please sign in to comment.