Skip to content

Commit

Permalink
4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MoOx committed Jul 27, 2020
1 parent 81128a7 commit 1539c41
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ getPhotosParams:
~mimeTypes: array(string)=?,
~fromTime: float=?,
~toTime: float=?,
~include_: array(string)=?,
unit
) => getPhotosParams
```
Expand All @@ -214,12 +215,12 @@ getPhotosParams:

```reason
type image = {
filename: string,
filename: Js.Nullable.t(string),
uri: string,
height: float,
width: float,
isStored: Js.Nullable.t(bool),
playableDuration: float,
height: Js.Nullable.t(float),
width: Js.Nullable.t(float),
fileSize: Js.Nullable.t(float),
playableDuration: Js.Nullable.t(float),
}
```

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "@reason-react-native/cameraroll",
"version": "1.5.0",
"version": "4.0.0",
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"@react-native-community/cameraroll": "^1.5.0"
"@react-native-community/cameraroll": "^4.0.0"
},
"repository": "https://github.com/reason-react-native/cameraroll.git",
"author": "sgny (https://github.com/sgny)",
Expand Down
11 changes: 6 additions & 5 deletions src/ReactNativeCameraRoll.re
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ external getPhotosParams:
~mimeTypes: array(string)=?,
~fromTime: float=?,
~toTime: float=?,
~include_: array(string)=?,
unit
) =>
getPhotosParams;
Expand All @@ -58,12 +59,12 @@ and node = {
location: Js.Nullable.t(location),
}
and image = {
filename: string,
filename: Js.Nullable.t(string),
uri: string,
height: float,
width: float,
isStored: Js.Nullable.t(bool),
playableDuration: float,
height: Js.Nullable.t(float),
width: Js.Nullable.t(float),
fileSize: Js.Nullable.t(float),
playableDuration: Js.Nullable.t(float),
}
and location = {
latitude: Js.Nullable.t(float),
Expand Down

0 comments on commit 1539c41

Please sign in to comment.