expo-crypto 14.0.3-canary-20250207-8bc5146 → 14.1.0
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 +13 -0
- package/android/build.gradle +5 -21
- package/ios/CryptoModule.swift +2 -2
- package/ios/ExpoCrypto.podspec +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -10,7 +10,20 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 14.1.0 — 2025-04-04
|
|
14
|
+
|
|
15
|
+
### 🛠 Breaking changes
|
|
16
|
+
|
|
17
|
+
- Bump minimum macOS version to 11.0. ([#34980](https://github.com/expo/expo/pull/34980) by [@gabrieldonadel](https://github.com/gabrieldonadel))
|
|
18
|
+
|
|
19
|
+
### 💡 Others
|
|
20
|
+
|
|
13
21
|
- [Android] Started using expo modules gradle plugin. ([#34176](https://github.com/expo/expo/pull/34176) by [@lukmccall](https://github.com/lukmccall))
|
|
22
|
+
- [iOS] Fix warnings which will become errors in Swift 6. ([#35288](https://github.com/expo/expo/pull/35288) by [@behenate](https://github.com/behenate))
|
|
23
|
+
|
|
24
|
+
## 14.0.2 - 2025-01-10
|
|
25
|
+
|
|
26
|
+
_This version does not introduce any user-facing changes._
|
|
14
27
|
|
|
15
28
|
## 14.0.1 — 2024-10-22
|
|
16
29
|
|
package/android/build.gradle
CHANGED
|
@@ -1,32 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
5
|
-
apply from: expoModulesCorePlugin
|
|
6
|
-
applyKotlinExpoModulesCorePlugin()
|
|
7
|
-
useCoreDependencies()
|
|
8
|
-
useDefaultAndroidSdkVersions()
|
|
9
|
-
useExpoPublishing()
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
try {
|
|
13
|
-
apply plugin: 'expo-module-gradle-plugin'
|
|
14
|
-
} catch (e) {
|
|
15
|
-
if (!e instanceof UnknownPluginException) {
|
|
16
|
-
throw e
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
useLegacyExpoModulesCorePlugin()
|
|
1
|
+
plugins {
|
|
2
|
+
id 'com.android.library'
|
|
3
|
+
id 'expo-module-gradle-plugin'
|
|
20
4
|
}
|
|
21
5
|
|
|
22
6
|
group = 'host.exp.exponent'
|
|
23
|
-
version = '14.0
|
|
7
|
+
version = '14.1.0'
|
|
24
8
|
|
|
25
9
|
android {
|
|
26
10
|
namespace "expo.modules.crypto"
|
|
27
11
|
defaultConfig {
|
|
28
12
|
versionCode 25
|
|
29
|
-
versionName "14.0
|
|
13
|
+
versionName "14.1.0"
|
|
30
14
|
}
|
|
31
15
|
}
|
|
32
16
|
|
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/ios/ExpoCrypto.podspec
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-crypto",
|
|
3
|
-
"version": "14.0
|
|
3
|
+
"version": "14.1.0",
|
|
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,10 @@
|
|
|
42
42
|
"base64-js": "^1.3.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"expo-module-scripts": "4.0
|
|
45
|
+
"expo-module-scripts": "^4.1.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"expo": "
|
|
48
|
+
"expo": "*"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "68b8233002dc678934ba40cbade7fbc80e71aeff"
|
|
51
51
|
}
|