capacitor-secure-storage-plugin 0.6.4-testing → 0.6.4

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## v0.7.0
2
+
3
+ - based on current Capacitor 3.5.1 plugin template
4
+ - iOS - access when a device is locked
5
+ - fixed keys() on Web
6
+
1
7
  ## v0.6.2
2
8
 
3
9
  - fix keys() serialization error on Android
package/README.md CHANGED
@@ -3,20 +3,19 @@
3
3
  Capacitor plugin for storing string values securly on iOS and Android.
4
4
 
5
5
  ## How to install
6
+
6
7
  For Capacitor v3
7
8
 
8
9
  ```
9
10
  npm install capacitor-secure-storage-plugin
10
11
  ```
11
12
 
12
-
13
13
  For Capacitor v2 - install with fixed version 0.5.1
14
14
 
15
15
  ```
16
16
  npm install capacitor-secure-storage-plugin@0.5.1
17
17
  ```
18
18
 
19
-
20
19
  ## Usage
21
20
 
22
21
  For Capacitor v3
@@ -73,9 +72,11 @@ public class MainActivity extends BridgeActivity {
73
72
 
74
73
  * **keys**(): Promise<{ value: string[] }>
75
74
  * **set**(options: { key: string; value: string }): Promise<{ value: boolean }>
75
+ - return true in case of success otherwise throws an error
76
76
  * **remove**(options: { key: string }): Promise<{ value: boolean }>
77
+ - return true in case of success otherwise throws an error
77
78
  * **clear**(): Promise<{ value: boolean }>
78
- - set, remove and clear return true in case of success and false in case of error
79
+ - return true in case of success otherwise throws an error
79
80
 
80
81
  - **getPlatform**(): Promise<{ value: string }>
81
82
  - returns which implementation is used - one of 'web', 'ios' or 'android'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-secure-storage-plugin",
3
- "version": "0.6.4-testing",
3
+ "version": "0.6.4",
4
4
  "description": "Securely store secrets such as usernames, passwords, tokens, certificates or other sensitive information (strings) on iOS & Android",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",