@colisweb/rescript-toolkit 4.10.6 → 4.10.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colisweb/rescript-toolkit",
3
- "version": "4.10.6",
3
+ "version": "4.10.8",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "clean": "rescript clean",
@@ -31,6 +31,9 @@ type formatDistanceToNowOptions = {locale: dateFnsLocale}
31
31
  external distanceInWordsToNow: (Js.Date.t, formatDistanceToNowOptions) => string =
32
32
  "formatDistanceToNow"
33
33
 
34
+ @module("date-fns/differenceInMinutes")
35
+ external differenceInMinutes: (Js.Date.t, Js.Date.t) => float = "default"
36
+
34
37
  @module("date-fns/differenceInDays")
35
38
  external differenceInDays: (Js.Date.t, Js.Date.t) => int = "default"
36
39
 
@@ -12,3 +12,4 @@ external uniqBy: (array<'a>, 'a => 'b) => array<'a> = "default"
12
12
  external orderBy: (array<'a>, 'a => 'b, ~orders: array<string>=?, unit) => array<'a> = "default"
13
13
  @module("lodash/difference")
14
14
  external difference: (array<'a>, array<'a>) => array<'a> = "default"
15
+ @module("lodash") external capitalize: string => string = "capitalize"