microsoftarchive / wunderlist.js

Wunderlist Javascript SDK
https://developer.wunderlist.com/documentation/tools/wunderlist.js
120 stars 29 forks source link

Added config option to enable/disable WebSockets #16

Open vpiskunov opened 7 years ago

vpiskunov commented 7 years ago

Due to WebSockets being refused by the server, a workaround is to disable WSS by default, and enable only when needed & if it is working by passing 'sockets': true to the constructor when creating a new instance (see issue #7 ) NB: typo on commit comment, option name is 'sockets', not 'websockets'

Diolor commented 7 years ago

@vpiskunov do you have your own distribution until and if this gets merged?

vpiskunov commented 7 years ago

I have a forked repo with this patch applied, look at https://github.com/vpiskunov/wunderlist.js

Let me know if you need anything else

timenengwerda commented 7 years ago

@vpiskunov could you compile the wunderlist.sdk.min.js in your forked repo (Or tell me how I can compile it myself) so I can replace my official wunderlist.sdk.min.js with yours (Getting tired of the error message by now ;-))