File websocket_client-1.3.0-fix.patch of Package websocket_client
diff -Ndurp websocket_client-1.3.0/src/wsc_lib.erl websocket_client-1.3.0-fix/src/wsc_lib.erl
--- websocket_client-1.3.0/src/wsc_lib.erl	2017-07-21 18:47:25.000000000 +0300
+++ websocket_client-1.3.0-fix/src/wsc_lib.erl	2018-06-13 13:56:20.000000000 +0300
@@ -1,10 +1,9 @@
--module(wsc_lib).
 %% @author Jeremy Ong
 %% @author Michael Coles
-%% Purely functional aspects of websocket client comms.
+%% @doc Purely functional aspects of websocket client comms.
 %%
 %% Herein live all the functions for pure data processing.
--compile([export_all]).
+-module(wsc_lib).
 -include("websocket_req.hrl").
 
 -export([create_auth_header/3]).
@@ -15,6 +14,7 @@
 -export([validate_handshake/2]).
 -export([decode_frame/2]).
 -export([decode_frame/5]).
+-export([mask_payload/2]).
 
 -spec create_auth_header(Type :: basic, User :: binary(), Pass :: binary()) ->
     {binary(), binary()}.