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
If we want to get ssb-chess into the browser eventually, we should get rid of the patchcore dependency which I think is only used to wrap the call through to ssb-backlinks at the moment.
Patchcore brings in dependencies which assume a nodejs environment (such as ssb-client, secret-handshake, etc.)
A good way to do this might be to 'abstract' the things we expect / need from the ssb-client sbot object that is passed as a parameter to this module into functions that can be implemented in different ways depending on what environment it is in rather than requiring ssb-client itself.
E.g. expect an object that has the following functions:
backlinks,
messagesByType,
publish,
get,
// Social graph functions to find friends / followees
...
The text was updated successfully, but these errors were encountered:
If we want to get ssb-chess into the browser eventually, we should get rid of the patchcore dependency which I think is only used to wrap the call through to
ssb-backlinks
at the moment.Patchcore brings in dependencies which assume a nodejs environment (such as ssb-client, secret-handshake, etc.)
A good way to do this might be to 'abstract' the things we expect / need from the
ssb-client
sbot object that is passed as a parameter to this module into functions that can be implemented in different ways depending on what environment it is in rather than requiringssb-client
itself.E.g. expect an object that has the following functions:
The text was updated successfully, but these errors were encountered: