heim 0.1.0-alpha.7 → 0.1.0-alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types.d.ts +2 -1
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -396,8 +396,9 @@ declare global {
|
|
|
396
396
|
* Stores a configuration value for the given key.
|
|
397
397
|
* @param key The key of the configuration item to store.
|
|
398
398
|
* @param value The value to store.
|
|
399
|
+
* @param options Mark passwords, tokens, etc... as secrets with `{ secret: true }`, so they are encrypted
|
|
399
400
|
*/
|
|
400
|
-
setItem(key: string, value: string): void;
|
|
401
|
+
setItem(key: string, value: string, options?: { secret?: boolean }): void;
|
|
401
402
|
/**
|
|
402
403
|
* Removes a configuration value for the given key.
|
|
403
404
|
* @param key The key of the configuration item to remove.
|