expo-crypto 15.0.0-canary-20250305-0af9ad2 → 15.0.0-canary-20250320-7a205d3
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 +1 -0
- package/ios/CryptoModule.swift +2 -2
- package/package.json +4 -5
package/CHANGELOG.md
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
### 💡 Others
|
|
14
14
|
|
|
15
15
|
- [Android] Started using expo modules gradle plugin. ([#34176](https://github.com/expo/expo/pull/34176) by [@lukmccall](https://github.com/lukmccall))
|
|
16
|
+
- [iOS] Fix warnings which will become errors in Swift 6. ([#35288](https://github.com/expo/expo/pull/35288) by [@behenate](https://github.com/behenate))
|
|
16
17
|
|
|
17
18
|
## 14.0.2 - 2025-01-10
|
|
18
19
|
|
package/ios/CryptoModule.swift
CHANGED
|
@@ -73,13 +73,13 @@ private func digest(algorithm: DigestAlgorithm, output: TypedArray, data: TypedA
|
|
|
73
73
|
_ = algorithm.digest(data.rawPointer, UInt32(data.byteLength), outputPtr)
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
private class LossyConversionException: Exception {
|
|
76
|
+
private final class LossyConversionException: Exception {
|
|
77
77
|
override var reason: String {
|
|
78
78
|
"Unable to convert given string without losing some information"
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
private class FailedGeneratingRandomBytesException: GenericException<OSStatus> {
|
|
82
|
+
private final class FailedGeneratingRandomBytesException: GenericException<OSStatus> {
|
|
83
83
|
override var reason: String {
|
|
84
84
|
"Generating random bytes has failed with OSStatus code: \(param)"
|
|
85
85
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-crypto",
|
|
3
|
-
"version": "15.0.0-canary-
|
|
3
|
+
"version": "15.0.0-canary-20250320-7a205d3",
|
|
4
4
|
"description": "Provides cryptography primitives for Android, iOS and web.",
|
|
5
5
|
"main": "build/Crypto.js",
|
|
6
6
|
"types": "build/Crypto.d.ts",
|
|
@@ -42,10 +42,9 @@
|
|
|
42
42
|
"base64-js": "^1.3.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"expo-module-scripts": "4.0.5-canary-
|
|
45
|
+
"expo-module-scripts": "4.0.5-canary-20250320-7a205d3"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"expo": "53.0.0-canary-
|
|
49
|
-
}
|
|
50
|
-
"gitHead": "0af9ad2afd326af47eae076f81a89105a026312d"
|
|
48
|
+
"expo": "53.0.0-canary-20250320-7a205d3"
|
|
49
|
+
}
|
|
51
50
|
}
|