react-native-security-suite 0.5.8 → 0.5.9

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.
Files changed (2) hide show
  1. package/README.md +4 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -23,7 +23,7 @@ npm install react-native-security-suite
23
23
 
24
24
  ## Usage
25
25
 
26
- 1. Android Root or iOS Jailbreak devices detection example:
26
+ \1. Android Root or iOS Jailbreak devices detection example:
27
27
 
28
28
  ```js
29
29
  import { deviceHasSecurityRisk } from 'react-native-security-suite';
@@ -32,8 +32,7 @@ const isRiskyDevice = await deviceHasSecurityRisk();
32
32
  console.log('Root/Jailbreak detection result: ', isRiskyDevice);
33
33
  ```
34
34
 
35
- \
36
- 2. Text Encryption/Decryption example:
35
+ \2. Text Encryption/Decryption example:
37
36
 
38
37
  ```js
39
38
  //
@@ -53,8 +52,7 @@ SecureStorage.setItem('key', 'value');
53
52
  console.log(await SecureStorage.getItem('key'));
54
53
  ```
55
54
 
56
- \
57
- 4. Diffie–Hellman key exchange:
55
+ \4. Diffie–Hellman key exchange:
58
56
 
59
57
  ```js
60
58
  import {
@@ -83,8 +81,7 @@ const hardDecrypted = await decryptBySharedKey('STR_FOR_DECRYPT');
83
81
  console.log('Decrypted result: ', hardDecrypted);
84
82
  ```
85
83
 
86
- \
87
- 5. SSL Pinning example:
84
+ \5. SSL Pinning example:
88
85
 
89
86
  ```js
90
87
  import { fetch } from 'react-native-security-suite';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-security-suite",
3
- "version": "0.5.8",
3
+ "version": "0.5.9",
4
4
  "description": "Security solution for React Native",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",