diff --git a/promise.js b/promise.js index 281c5fe..fd03987 100644 --- a/promise.js +++ b/promise.js @@ -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