@hortemo/expo-photos 13.0.0 → 13.0.1

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.
@@ -476,7 +476,8 @@ struct TargetSize: Convertible {
476
476
  extension Convertible where Self: RawRepresentable, Self.RawValue == Int {
477
477
  public static func convert(from value: Any?, appContext: AppContext) throws -> Self {
478
478
  guard
479
- let rawValue = value as? Int,
479
+ let number = value as? Double,
480
+ let rawValue = Int(exactly: number),
480
481
  let enumValue = Self(rawValue: rawValue)
481
482
  else {
482
483
  throw Conversions.ConvertingException<Self>(value)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hortemo/expo-photos",
3
- "version": "13.0.0",
3
+ "version": "13.0.1",
4
4
  "description": "Expo module exposing advanced iOS Photos APIs.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",