@grexie/keystore
Advanced tools
Comparing version 0.1.23 to 0.1.24
@@ -58,4 +58,3 @@ "use strict"; | ||
} | ||
yield __classPrivateFieldGet(this, _instances, "m", _setSecret).call(this, key.id, key.key); | ||
return __classPrivateFieldGet(this, _secret, "f"); | ||
return __classPrivateFieldGet(this, _instances, "m", _setSecret).call(this, key.id, key.key); | ||
}); | ||
@@ -74,3 +73,3 @@ } | ||
const { key } = __classPrivateFieldGet(this, _secrets, "f")[id]; | ||
yield __classPrivateFieldGet(this, _instances, "m", _setSecret).call(this, id, key); | ||
return __classPrivateFieldGet(this, _instances, "m", _setSecret).call(this, id, key); | ||
}); | ||
@@ -108,2 +107,3 @@ } | ||
this.emit('update', yield __classPrivateFieldGet(this, _secret, "f")); | ||
return __classPrivateFieldGet(this, _secret, "f"); | ||
}); | ||
@@ -110,0 +110,0 @@ }, |
@@ -17,3 +17,3 @@ /// <reference types="node" /> | ||
rotateSecret(): Promise<T | null>; | ||
restoreSecret(id: string): Promise<void>; | ||
restoreSecret(id: string): Promise<T | null>; | ||
} | ||
@@ -20,0 +20,0 @@ export interface ProviderOptions<T> { |
{ | ||
"name": "@grexie/keystore", | ||
"version": "0.1.23", | ||
"version": "0.1.24", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": "github:grexie/keystore/packages/keystore", |
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
11161