Skip to content

Commit

Permalink
Added getSecretKey function, closes #27
Browse files Browse the repository at this point in the history
  • Loading branch information
RangerMauve committed Jan 20, 2020
1 parent ca24964 commit 671ef24
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions promise.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,11 @@ module.exports = function SDK (opts) {
})
}

async getSecretKey() {
await this._loadPromise
return this._archive.secretKey
}

async getInfo (opts = {}) {
return timer(to(opts), async () => {
await this._loadPromise
Expand Down

0 comments on commit 671ef24

Please sign in to comment.