react-native-security-suite 0.5.12 → 0.5.13

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.
@@ -136,7 +136,7 @@ public class Sslpinning {
136
136
 
137
137
  ReadableArray hashes = options.getArray("certificates");
138
138
  for (int i = 0; i < hashes.size(); i++) {
139
- certificatePinner.add(hostname, hashes.getString(i));
139
+ certificatePinner.add(hostname, "sha256/" + hashes.getString(i).replaceAll("sha256/", ""));
140
140
  }
141
141
 
142
142
  return certificatePinner.build();
@@ -1,4 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <Workspace
3
3
  version = "1.0">
4
+ <FileRef
5
+ location = "self:">
6
+ </FileRef>
4
7
  </Workspace>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-security-suite",
3
- "version": "0.5.12",
3
+ "version": "0.5.13",
4
4
  "description": "Security solution for React Native",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -1,6 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <Bucket
3
- uuid = "A64F3F4E-A635-49DB-ABEE-307D79B2D34E"
4
- type = "1"
5
- version = "2.0">
6
- </Bucket>