@json-eval-rs/react-native 0.0.36 → 0.0.37

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.
@@ -333,16 +333,6 @@ class JsonEvalRsModule(reactContext: ReactApplicationContext) :
333
333
  // Subform Methods
334
334
  // ========================================================================
335
335
 
336
- @ReactMethod
337
- fun evaluateSubform(
338
- handle: String,
339
- subformPath: String,
340
- data: String,
341
- context: String?,
342
- promise: Promise
343
- ) {
344
- nativeEvaluateSubform(handle, subformPath, data, context ?: "", "", promise)
345
- }
346
336
 
347
337
  @ReactMethod
348
338
  fun validateSubform(
@@ -566,7 +556,7 @@ class JsonEvalRsModule(reactContext: ReactApplicationContext) :
566
556
  try {
567
557
  val list = ArrayList<String>()
568
558
  for (i in 0 until paths.size()) {
569
- list.add(paths.getString(i))
559
+ list.add(paths.getString(i) ?: "")
570
560
  }
571
561
  // Simple manual JSON array construction or use Gson if available?
572
562
  // Avoiding dependency: assume valid strings
@@ -8,32 +8,32 @@
8
8
  <key>BinaryPath</key>
9
9
  <string>libjson_eval_rs.a</string>
10
10
  <key>LibraryIdentifier</key>
11
- <string>ios-arm64</string>
11
+ <string>ios-arm64_x86_64-simulator</string>
12
12
  <key>LibraryPath</key>
13
13
  <string>libjson_eval_rs.a</string>
14
14
  <key>SupportedArchitectures</key>
15
15
  <array>
16
16
  <string>arm64</string>
17
+ <string>x86_64</string>
17
18
  </array>
18
19
  <key>SupportedPlatform</key>
19
20
  <string>ios</string>
21
+ <key>SupportedPlatformVariant</key>
22
+ <string>simulator</string>
20
23
  </dict>
21
24
  <dict>
22
25
  <key>BinaryPath</key>
23
26
  <string>libjson_eval_rs.a</string>
24
27
  <key>LibraryIdentifier</key>
25
- <string>ios-arm64_x86_64-simulator</string>
28
+ <string>ios-arm64</string>
26
29
  <key>LibraryPath</key>
27
30
  <string>libjson_eval_rs.a</string>
28
31
  <key>SupportedArchitectures</key>
29
32
  <array>
30
33
  <string>arm64</string>
31
- <string>x86_64</string>
32
34
  </array>
33
35
  <key>SupportedPlatform</key>
34
36
  <string>ios</string>
35
- <key>SupportedPlatformVariant</key>
36
- <string>simulator</string>
37
37
  </dict>
38
38
  </array>
39
39
  <key>CFBundlePackageType</key>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@json-eval-rs/react-native",
3
- "version": "0.0.36",
3
+ "version": "0.0.37",
4
4
  "description": "High-performance JSON Logic evaluator with schema validation for React Native",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",