You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like a very polished tool, both for docs, code comments, and typed source code--nice!
Just wanted to suggest that for servers with CORS enabled, a browser client should be able to do pretty much anything that Node can do in the context of a Bot, so wanted to raise the possibility of having Node and browser entrance files, where the Node one would pass along node-fetch and the browser one, pass along window.fetch, etc., and the API would make use of them so one could use your code solely in browser-side code too.
For my purposes at least, I think it should be easier to just write client-side code (which I need for a GUI anyways).
Might not be something on your priority list, but wanted to express to give it some thoughts, if nothing else as an eventual goal perhaps. Thanks and best wishes!
The text was updated successfully, but these errors were encountered:
@brettz9 It's a fine idea. Mwn currently uses axios which runs on the browser as well. We would still need to make changes, I believe mainly around handling cookies and headers. OAuth may not even work client-side.
Looks like a very polished tool, both for docs, code comments, and typed source code--nice!
Just wanted to suggest that for servers with CORS enabled, a browser client should be able to do pretty much anything that Node can do in the context of a Bot, so wanted to raise the possibility of having Node and browser entrance files, where the Node one would pass along
node-fetch
and the browser one, pass alongwindow.fetch
, etc., and the API would make use of them so one could use your code solely in browser-side code too.For my purposes at least, I think it should be easier to just write client-side code (which I need for a GUI anyways).
Might not be something on your priority list, but wanted to express to give it some thoughts, if nothing else as an eventual goal perhaps. Thanks and best wishes!
The text was updated successfully, but these errors were encountered: