expo-modules-core 1.3.1 → 1.3.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.
package/CHANGELOG.md
CHANGED
|
@@ -10,9 +10,17 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 1.3.2 — 2023-05-09
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- Fixed passing `JavaScriptObject` argument and view props. ([#22427](https://github.com/expo/expo/pull/22427) by [@lukmccall](https://github.com/lukmccall))
|
|
18
|
+
|
|
13
19
|
## 1.3.1 — 2023-05-08
|
|
14
20
|
|
|
15
|
-
|
|
21
|
+
### 💡 Others
|
|
22
|
+
|
|
23
|
+
- Made `JavaScriptValue.kind` public. ([#22386](https://github.com/expo/expo/pull/22386) by [@lukmccall](https://github.com/lukmccall))
|
|
16
24
|
|
|
17
25
|
## 1.3.0 — 2023-05-08
|
|
18
26
|
|
package/android/build.gradle
CHANGED
|
@@ -6,7 +6,7 @@ apply plugin: 'maven-publish'
|
|
|
6
6
|
apply plugin: "de.undercouch.download"
|
|
7
7
|
|
|
8
8
|
group = 'host.exp.exponent'
|
|
9
|
-
version = '1.3.
|
|
9
|
+
version = '1.3.2'
|
|
10
10
|
|
|
11
11
|
buildscript {
|
|
12
12
|
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
@@ -173,7 +173,7 @@ android {
|
|
|
173
173
|
targetSdkVersion safeExtGet("targetSdkVersion", 33)
|
|
174
174
|
consumerProguardFiles 'proguard-rules.pro'
|
|
175
175
|
versionCode 1
|
|
176
|
-
versionName "1.3.
|
|
176
|
+
versionName "1.3.2"
|
|
177
177
|
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled.toString()
|
|
178
178
|
|
|
179
179
|
testInstrumentationRunner "expo.modules.TestRunner"
|
|
@@ -83,7 +83,7 @@ public final class ClassComponent: ObjectDefinition {
|
|
|
83
83
|
internal protocol ClassAssociatedObject {}
|
|
84
84
|
|
|
85
85
|
// Basically we only need these two
|
|
86
|
-
extension JavaScriptObject: ClassAssociatedObject, AnyArgument {
|
|
86
|
+
extension JavaScriptObject: ClassAssociatedObject, AnyArgument, AnyJavaScriptValue {
|
|
87
87
|
internal static func convert(from value: JavaScriptValue, appContext: AppContext) throws -> Self {
|
|
88
88
|
guard value.kind == .object else {
|
|
89
89
|
throw Conversions.ConvertingException<JavaScriptObject>(value)
|
|
@@ -60,6 +60,10 @@ public final class ComponentData: RCTComponentData {
|
|
|
60
60
|
var remainingProps = props
|
|
61
61
|
|
|
62
62
|
for (key, prop) in propsDict {
|
|
63
|
+
if props.index(forKey: key) == nil {
|
|
64
|
+
continue
|
|
65
|
+
}
|
|
66
|
+
|
|
63
67
|
let newValue = props[key] as Any
|
|
64
68
|
|
|
65
69
|
// TODO: @tsapeta: Figure out better way to rethrow errors from here.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-modules-core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"description": "The core of Expo Modules architecture",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"@testing-library/react-hooks": "^7.0.1",
|
|
43
43
|
"expo-module-scripts": "^3.0.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "c7c6934083f19754254c77ec6b329b1c35b75269"
|
|
46
46
|
}
|