Skip to content

Commit

Permalink
feat: secret methods are async
Browse files Browse the repository at this point in the history
  • Loading branch information
@jotadeveloper authored and sergiohgz committed Jul 25, 2019
1 parent 7df1963 commit d5eacf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/types/src/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,8 @@ declare interface verdaccio$ILocalData {
add(name: string, callback: verdaccio$Callback): void;
remove(name: string, callback: verdaccio$Callback): void;
get(callback: verdaccio$Callback): void;
getSecret():string;
setSecret(secret: string): verdaccio$SyncReturn;
getSecret(): Promise<string>;
setSecret(secret: string): Promise<any>;
getPackageStorage(packageInfo: string): verdaccio$IPackageStorage;
}

Expand Down

0 comments on commit d5eacf5

Please sign in to comment.