@glennsl/rescript-fetch
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "@glennsl/rescript-fetch", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Zero-cost rescript bindings to the WHATWG Fetch API", | ||
@@ -32,4 +32,4 @@ "scripts": { | ||
"devDependencies": { | ||
"rescript": "^10.0.0-rc.1" | ||
"rescript": "^10.0.0" | ||
} | ||
} |
@@ -19,4 +19,4 @@ # rescript-fetch | ||
method: #POST, | ||
body: data->Js.Json.stringifyAny->Belt.Option.getExn->Body.Init.string, | ||
headers: Headers.Init.object({ | ||
body: data->Js.Json.stringifyAny->Belt.Option.getExn->Body.string, | ||
headers: Headers.fromObject({ | ||
"Content-type": "application/json", | ||
@@ -23,0 +23,0 @@ }), |
10187