react-native-quick-crypto 0.7.0-rc.1 → 0.7.0-rc.2

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.
@@ -11,5 +11,6 @@ global.Buffer = _reactNativeBuffer.Buffer;
11
11
 
12
12
  // @ts-expect-error subtle isn't full implemented and Cryptokey is missing
13
13
  global.crypto = _QuickCrypto.QuickCrypto;
14
+ module.exports = _QuickCrypto.QuickCrypto;
14
15
  var _default = exports.default = _QuickCrypto.QuickCrypto;
15
16
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNativeBuffer","require","_QuickCrypto","global","Buffer","crypto","QuickCrypto","_default","exports","default"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA;AACAE,MAAM,CAACC,MAAM,GAAGA,yBAAM;;AAEtB;AACAD,MAAM,CAACE,MAAM,GAAGC,wBAAW;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEbH,wBAAW","ignoreList":[]}
1
+ {"version":3,"names":["_reactNativeBuffer","require","_QuickCrypto","global","Buffer","crypto","QuickCrypto","module","exports","_default","default"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA;AACAE,MAAM,CAACC,MAAM,GAAGA,yBAAM;;AAEtB;AACAD,MAAM,CAACE,MAAM,GAAGC,wBAAW;AAE3BC,MAAM,CAACC,OAAO,GAAGF,wBAAW;AAAC,IAAAG,QAAA,GAAAD,OAAA,CAAAE,OAAA,GACdJ,wBAAW","ignoreList":[]}
@@ -6,5 +6,6 @@ global.Buffer = Buffer;
6
6
 
7
7
  // @ts-expect-error subtle isn't full implemented and Cryptokey is missing
8
8
  global.crypto = QuickCrypto;
9
+ module.exports = QuickCrypto;
9
10
  export default QuickCrypto;
10
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["Buffer","QuickCrypto","global","crypto"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":"AAAA,SAASA,MAAM,QAAQ,gCAAgC;AACvD,SAASC,WAAW,QAAQ,eAAe;;AAE3C;AACAC,MAAM,CAACF,MAAM,GAAGA,MAAM;;AAEtB;AACAE,MAAM,CAACC,MAAM,GAAGF,WAAW;AAE3B,eAAeA,WAAW","ignoreList":[]}
1
+ {"version":3,"names":["Buffer","QuickCrypto","global","crypto","module","exports"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":"AAAA,SAASA,MAAM,QAAQ,gCAAgC;AACvD,SAASC,WAAW,QAAQ,eAAe;;AAE3C;AACAC,MAAM,CAACF,MAAM,GAAGA,MAAM;;AAEtB;AACAE,MAAM,CAACC,MAAM,GAAGF,WAAW;AAE3BG,MAAM,CAACC,OAAO,GAAGJ,WAAW;AAC5B,eAAeA,WAAW","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAQ5C,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAS5C,eAAe,WAAW,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-quick-crypto",
3
- "version": "0.7.0-rc.1",
3
+ "version": "0.7.0-rc.2",
4
4
  "description": "A fast implementation of Node's `crypto` module written in C/C++ JSI",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
package/src/index.ts CHANGED
@@ -7,4 +7,5 @@ global.Buffer = Buffer;
7
7
  // @ts-expect-error subtle isn't full implemented and Cryptokey is missing
8
8
  global.crypto = QuickCrypto;
9
9
 
10
+ module.exports = QuickCrypto;
10
11
  export default QuickCrypto;