diff --git a/README.md b/README.md index 2a2a610..63e8751 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ export type Api = typeof Api; const protocol = Subprotocol.init({ connectionMode: Subprotocol.ConnectionMode.Connectionless, - dataType: Subprotocol.Datatype(), + dataType: Subprotocol.DataType(), operationMode: Subprotocol.OperationMode.Unicast, transmissionMode: Subprotocol.TransmissionMode.HalfDuplex, });