From 925c18b7ffe78becbb4be7681c98739fade8af1c Mon Sep 17 00:00:00 2001 From: "Nguyen, Giang" Date: Fri, 11 Apr 2025 15:48:05 +0700 Subject: [PATCH] fix order() typespec, mismatch with the sctp --- lib/ex_webrtc/data_channel.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ex_webrtc/data_channel.ex b/lib/ex_webrtc/data_channel.ex index c18124d0..804d0e17 100644 --- a/lib/ex_webrtc/data_channel.ex +++ b/lib/ex_webrtc/data_channel.ex @@ -8,7 +8,7 @@ defmodule ExWebRTC.DataChannel do For the exact meaning, refer to the [RTCDataChannel: order property](https://developer.mozilla.org/en-US/docs/Web/API/RTCDataChannel/readyState). """ - @type order() :: :ordered | :unordered + @type order() :: boolean() @type ref() :: reference()