@@ -64,7 +64,7 @@ module Hash = {
6464 type kind (' w , ' r ) = [ Stream.transform('w, 'r) | `Hash];
6565 type subtype (' w , ' r , ' a ) = Stream.subtype([> kind('w, 'r)] as 'a);
6666 type supertype (' w , ' r , ' a ) = Stream.subtype([< kind('w, 'r)] as 'a);
67- type t = subtype (Buffer . t , Buffer . t , kind ( ' w , ' r ));
67+ type t = Stream . subtype (kind ( Buffer . t , Buffer . t ));
6868 module Impl = {
6969 include Stream . Transform . Impl ;
7070 [@ bs . send ] external copy : t => t = "copy" ;
@@ -106,7 +106,7 @@ module Cipher = {
106106 type kind (' w , ' r ) = [ Stream.transform('w, 'r) | `Cipher];
107107 type subtype (' w , ' r , ' a ) = Stream.subtype([> kind('w, 'r)] as 'a);
108108 type supertype (' w , ' r , ' a ) = Stream.subtype([< kind('w, 'r)] as 'a);
109- type t = subtype (Buffer . t , Buffer . t , kind ( ' w , ' r ));
109+ type t = Stream . subtype (kind ( Buffer . t , Buffer . t ));
110110 module Impl = {
111111 include Stream . Transform . Impl ;
112112 [@ bs . send ] external final : (t , string ) => Buffer . t = "final" ;
@@ -150,7 +150,7 @@ module Decipher = {
150150 type kind (' w , ' r ) = [ Stream.transform('w, 'r) | `Decipher];
151151 type subtype (' w , ' r , ' a ) = Stream.subtype([> kind('w, 'r)] as 'a);
152152 type supertype (' w , ' r , ' a ) = Stream.subtype([< kind('w, 'r)] as 'a);
153- type t = subtype (Buffer . t , Buffer . t , kind ( ' w , ' r ));
153+ type t = Stream . subtype (kind ( Buffer . t , Buffer . t ));
154154 module Impl = {
155155 [@ bs . send ]
156156 external final : (subtype (' w , ' r , ' a ), string ) => Buffer . t = "final" ;
@@ -193,7 +193,7 @@ module Decipher = {
193193 ) =>
194194 t =
195195 "createDecipheriv" ;
196- };
196+ } /* } */ /* module Verify = */ ;
197197
198198// module DiffieHellman = {
199199
@@ -205,8 +205,4 @@ module Decipher = {
205205
206206// module Sign = {
207207
208- // };
209-
210- // module Verify = {
211-
212- // };
208+ // };
0 commit comments