@hxa-rn/react-native-quick-crypto 1.1.0-beta.1 → 1.1.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.
Files changed (55) hide show
  1. package/LICENSE +8 -1
  2. package/README.md +172 -171
  3. package/dist/commonjs/blake3.js +1 -1
  4. package/dist/commonjs/blake3.js.map +1 -1
  5. package/dist/commonjs/cipher.js +1 -1
  6. package/dist/commonjs/cipher.js.map +1 -1
  7. package/dist/commonjs/dhKeyPair.js +1 -1
  8. package/dist/commonjs/dhKeyPair.js.map +1 -1
  9. package/dist/commonjs/diffie-hellman.js +1 -1
  10. package/dist/commonjs/diffie-hellman.js.map +1 -1
  11. package/dist/commonjs/dsa.js +1 -1
  12. package/dist/commonjs/dsa.js.map +1 -1
  13. package/dist/commonjs/ec.js +1 -1
  14. package/dist/commonjs/ec.js.map +1 -1
  15. package/dist/commonjs/ecdh.js +1 -1
  16. package/dist/commonjs/ecdh.js.map +1 -1
  17. package/dist/commonjs/ed.js +1 -1
  18. package/dist/commonjs/ed.js.map +1 -1
  19. package/dist/commonjs/hash.js +1 -1
  20. package/dist/commonjs/hash.js.map +1 -1
  21. package/dist/commonjs/hmac.js +1 -1
  22. package/dist/commonjs/hmac.js.map +1 -1
  23. package/dist/commonjs/index.js +2 -1
  24. package/dist/commonjs/index.js.map +1 -1
  25. package/dist/commonjs/keys/classes.js +1 -1
  26. package/dist/commonjs/keys/classes.js.map +1 -1
  27. package/dist/commonjs/keys/signVerify.js +1 -1
  28. package/dist/commonjs/keys/signVerify.js.map +1 -1
  29. package/dist/commonjs/mldsa.js +1 -1
  30. package/dist/commonjs/mldsa.js.map +1 -1
  31. package/dist/commonjs/mlkem.js +1 -1
  32. package/dist/commonjs/mlkem.js.map +1 -1
  33. package/dist/commonjs/rsa.js +1 -1
  34. package/dist/commonjs/rsa.js.map +1 -1
  35. package/dist/commonjs/x509certificate.js +1 -1
  36. package/dist/commonjs/x509certificate.js.map +1 -1
  37. package/dist/module/blake3.js +1 -1
  38. package/dist/module/cipher.js +1 -1
  39. package/dist/module/dhKeyPair.js +1 -1
  40. package/dist/module/diffie-hellman.js +1 -1
  41. package/dist/module/dsa.js +1 -1
  42. package/dist/module/ec.js +1 -1
  43. package/dist/module/ecdh.js +1 -1
  44. package/dist/module/ed.js +1 -1
  45. package/dist/module/hash.js +1 -1
  46. package/dist/module/hmac.js +1 -1
  47. package/dist/module/keys/classes.js +1 -1
  48. package/dist/module/keys/signVerify.js +1 -1
  49. package/dist/module/mldsa.js +1 -1
  50. package/dist/module/mlkem.js +1 -1
  51. package/dist/module/rsa.js +1 -1
  52. package/dist/module/x509certificate.js +1 -1
  53. package/harmony/quick_crypto/LICENSE +9 -2
  54. package/harmony/quick_crypto.har +0 -0
  55. package/package.json +87 -87
package/package.json CHANGED
@@ -1,87 +1,87 @@
1
- {
2
- "name": "@hxa-rn/react-native-quick-crypto",
3
- "displayName": "@hxa-rn/react-native-quick-crypto",
4
- "version": "1.1.0-beta.1",
5
- "description": "A fast implementation of Node's `crypto` module written in C/C++ JSI",
6
- "main": "./dist/commonjs/index.js",
7
- "module": "./dist/module/index.js",
8
- "react-native": "./dist/module/index.js",
9
- "types": "./dist/typescript/index.d.ts",
10
- "license": "MIT",
11
- "private": false,
12
- "repository": {
13
- "type": "git",
14
- "url": "git+https://github.com/margelo/react-native-quick-crypto.git"
15
- },
16
- "keywords": [
17
- "react-native",
18
- "harmony",
19
- "harmonyos"
20
- ],
21
- "homepage": "https://github.com/margelo/react-native-quick-crypto#readme",
22
- "publishConfig": {
23
- "registry": "https://registry.npmjs.org/"
24
- },
25
- "files": [
26
- "dist/",
27
- "src/",
28
- "README.md",
29
- "LICENSE",
30
- "harmony/"
31
- ],
32
- "scripts": {
33
- "prepare": "tsc --noEmit && bob build",
34
- "codegen-lib": "react-native codegen-lib-harmony --no-safety-check --npm-package-name quick_crypto --cpp-output-path ./harmony/quick_crypto/src/main/cpp/generated --ets-output-path ./harmony/quick_crypto/src/main/ets/generated --turbo-modules-spec-paths ./src/specs/v1/NativeQuickCrypto.ts"
35
- },
36
- "peerDependencies": {
37
- "react-native": ">=0.72",
38
- "react": "*",
39
- "expo": ">=48.0.0",
40
- "expo-build-properties": "*"
41
- },
42
- "devDependencies": {
43
- "typescript": "5.8.3",
44
- "@react-native/typescript-config": "0.79.5",
45
- "react": "18.2.0",
46
- "@types/react": "18.2.79",
47
- "react-native": "0.72.5",
48
- "jest": "^29.6.3",
49
- "react-native-builder-bob": "^0.18.0",
50
- "@react-native-oh/react-native-harmony-cli": "^0.77.50",
51
- "metro": "^0.81.0",
52
- "react-native-nitro-modules": "0.31.10",
53
- "@types/node": "24.3.0",
54
- "@types/readable-stream": "4.0.18"
55
- },
56
- "engines": {
57
- "node": ">=18"
58
- },
59
- "harmony": {
60
- "alias": "react-native-quick-crypto",
61
- "autolinking": {
62
- "cmakeLibraryTargetName": "quick_crypto",
63
- "ohPackageName": "@hxa-rn/react-native-quick-crypto",
64
- "etsPackageClassName": "QuickCryptoPackage",
65
- "cppPackageClassName": "QuickCryptoPackage"
66
- }
67
- },
68
- "react-native-builder-bob": {
69
- "source": "src",
70
- "output": "dist",
71
- "targets": [
72
- "commonjs",
73
- "module",
74
- "typescript"
75
- ]
76
- },
77
- "dependencies": {
78
- "@craftzdog/react-native-buffer": "6.1.0",
79
- "events": "3.3.0",
80
- "readable-stream": "4.5.2",
81
- "safe-buffer": "^5.2.1",
82
- "string_decoder": "^1.3.0",
83
- "util": "0.12.5",
84
- "@react-native-ohos/react-native-nitro-modules": "0.31.11-rc.4",
85
- "@react-native-ohos/react-native-quick-base64": "2.2.0"
86
- }
87
- }
1
+ {
2
+ "name": "@hxa-rn/react-native-quick-crypto",
3
+ "displayName": "@hxa-rn/react-native-quick-crypto",
4
+ "version": "1.1.2",
5
+ "description": "A fast implementation of Node's `crypto` module written in C/C++ JSI",
6
+ "main": "./dist/commonjs/index.js",
7
+ "module": "./dist/module/index.js",
8
+ "react-native": "./dist/module/index.js",
9
+ "types": "./dist/typescript/index.d.ts",
10
+ "license": "MIT",
11
+ "private": false,
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://gitcode.com/hxa-rn/react-native-quick-crypto.git"
15
+ },
16
+ "keywords": [
17
+ "react-native",
18
+ "harmony",
19
+ "harmonyos"
20
+ ],
21
+ "homepage": "https://gitcode.com/hxa-rn/react-native-quick-crypto",
22
+ "publishConfig": {
23
+ "registry": "https://registry.npmjs.org/"
24
+ },
25
+ "files": [
26
+ "dist/",
27
+ "src/",
28
+ "README.md",
29
+ "LICENSE",
30
+ "harmony/"
31
+ ],
32
+ "scripts": {
33
+ "prepare": "tsc --noEmit && bob build",
34
+ "codegen-lib": "react-native codegen-lib-harmony --no-safety-check --npm-package-name quick_crypto --cpp-output-path ./harmony/quick_crypto/src/main/cpp/generated --ets-output-path ./harmony/quick_crypto/src/main/ets/generated --turbo-modules-spec-paths ./src/specs/v1/NativeQuickCrypto.ts"
35
+ },
36
+ "peerDependencies": {
37
+ "react-native": ">=0.72",
38
+ "react": "*",
39
+ "expo": ">=48.0.0",
40
+ "expo-build-properties": "*"
41
+ },
42
+ "devDependencies": {
43
+ "typescript": "5.8.3",
44
+ "@react-native/typescript-config": "0.79.5",
45
+ "react": "18.2.0",
46
+ "@types/react": "18.2.79",
47
+ "react-native": "0.72.5",
48
+ "jest": "^29.6.3",
49
+ "react-native-builder-bob": "^0.18.0",
50
+ "@react-native-oh/react-native-harmony-cli": "^0.77.50",
51
+ "metro": "^0.81.0",
52
+ "react-native-nitro-modules": "0.31.10",
53
+ "@types/node": "24.3.0",
54
+ "@types/readable-stream": "4.0.18"
55
+ },
56
+ "engines": {
57
+ "node": ">=18"
58
+ },
59
+ "harmony": {
60
+ "alias": "react-native-quick-crypto",
61
+ "autolinking": {
62
+ "cmakeLibraryTargetName": "quick_crypto",
63
+ "ohPackageName": "@hxa-rn/react-native-quick-crypto",
64
+ "etsPackageClassName": "QuickCryptoPackage",
65
+ "cppPackageClassName": "QuickCryptoPackage"
66
+ }
67
+ },
68
+ "react-native-builder-bob": {
69
+ "source": "src",
70
+ "output": "dist",
71
+ "targets": [
72
+ "commonjs",
73
+ "module",
74
+ "typescript"
75
+ ]
76
+ },
77
+ "dependencies": {
78
+ "@craftzdog/react-native-buffer": "6.1.0",
79
+ "events": "3.3.0",
80
+ "readable-stream": "4.5.2",
81
+ "safe-buffer": "^5.2.1",
82
+ "string_decoder": "^1.3.0",
83
+ "util": "0.12.5",
84
+ "@react-native-ohos/react-native-nitro-modules": "0.31.11-rc.4",
85
+ "@react-native-ohos/react-native-quick-base64": "2.2.0"
86
+ }
87
+ }