@colisweb/rescript-toolkit 5.10.2 → 5.10.4
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": "5.10.
|
|
3
|
+
"version": "5.10.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "rescript clean",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@colisweb/bs-react-intl-extractor-bin": "0.12.2",
|
|
31
31
|
"@datadog/browser-rum": "5.8.0",
|
|
32
|
-
"@dck/rescript-ky": "2.0
|
|
32
|
+
"@dck/rescript-ky": "2.1.0",
|
|
33
33
|
"@dck/rescript-promise": "1.1.0",
|
|
34
34
|
"@dck/restorative": "1.1.0",
|
|
35
35
|
"@greenlabs/ppx-spice": "0.2.1",
|
package/src/request/Request.res
CHANGED
|
@@ -6,7 +6,7 @@ type error<'apiError> =
|
|
|
6
6
|
type requestConfig<'apiError, 'response> = {
|
|
7
7
|
kyInstance: Ky.Instance.t,
|
|
8
8
|
path: string,
|
|
9
|
-
requestOptions: Ky.requestOptions
|
|
9
|
+
requestOptions: Ky.requestOptions,
|
|
10
10
|
key?: array<string>,
|
|
11
11
|
mapCustomErrors?: Ky.error => Promise.t<error<'apiError>>,
|
|
12
12
|
mapRawResponse?: result<Js.Json.t, Ky.error> => Promise.t<result<'response, error<'apiError>>>,
|
|
@@ -55,7 +55,7 @@ module Core = {
|
|
|
55
55
|
<div className={cx([className, "flex flex-auto w-full overflow-x-auto relative"])}>
|
|
56
56
|
<Toolkit__Ui_Spread props={table.getTableProps()}>
|
|
57
57
|
<table className="border-b border-gray-300 w-full h-full">
|
|
58
|
-
<thead className="block
|
|
58
|
+
<thead className="block">
|
|
59
59
|
<tr className="flex">
|
|
60
60
|
{table.headers
|
|
61
61
|
->Array.mapWithIndex((index, column) => {
|