Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions cohttp-lwt-jsoo.opam
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,9 @@ depends: [
"cohttp" {>= "1.0.0"}
"cohttp-lwt" {>= "1.0.0"}
"lwt" {>= "3.0.0"}
"js_of_ocaml" {>= "3.0"}
"js_of_ocaml-ppx" {>= "3.0"}
"js_of_ocaml-lwt"
]
conflicts: [
"lwt" {< "2.5.0"}
"js_of_ocaml" {< "2.8"}
"js_of_ocaml" {>= "3.3.0"}
"js_of_ocaml-ppx" {>= "3.3.0"}
"js_of_ocaml-lwt" {>= "3.3.0"}
]
build: [
["dune" "subst"] {pinned}
Expand Down
1 change: 1 addition & 0 deletions cohttp-lwt-jsoo/src/cohttp_lwt_xhr.ml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*
}}}*)

open Js_of_ocaml
module C = Cohttp
module CLB = Cohttp_lwt.Body

Expand Down
2 changes: 1 addition & 1 deletion cohttp-lwt-jsoo/src/cohttp_lwt_xhr.mli
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module type Params = sig

(** JavaScript string to OCaml conversion. [Js.to_bytestring] or
[Js.to_string] *)
val convert_body_string : Js.js_string Js.t -> string
val convert_body_string : Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t -> string

(** Whether withCredentials property of XHR is set. *)
val with_credentials : bool
Expand Down
2 changes: 1 addition & 1 deletion cohttp.opam
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ depends: [
"ppx_fields_conv" {>= "v0.9.0"}
"ppx_sexp_conv" {>= "v0.9.0"}
"stringext"
"base64" {>= "2.0.0"}
"base64" {>= "2.0.0" & <"3.0.0"}
"fmt" {with-test}
"jsonm" {build}
"alcotest" {with-test}
Expand Down