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
Allow a space that isn't the current space to be passed to agent.delegate method.
This would allow us to get rid of the currentSpace concept more easily because right now the delegate assumes we are operating with the currentSpace so we often need to set it before calling the delegation method.
Once that is implemented, we can refactor the client.shareSpace (code) method to remove the Space reset logic because we will provide the space DID as part of the delegate call.
The text was updated successfully, but these errors were encountered:
fforbeck
changed the title
Refactor w3up-client to pass Space via agent.delegate call
Refactor w3up-client to pass Space via agent.delegate method
Sep 20, 2024
Allow a space that isn't the current space to be passed to
agent.delegate
method.This would allow us to get rid of the
currentSpace
concept more easily because right now the delegate assumes we are operating with thecurrentSpace
so we often need to set it before calling the delegation method.More info: storacha/w3up#1551 (comment)
Once that is implemented, we can refactor the
client.shareSpace
(code) method to remove the Space reset logic because we will provide the space DID as part of the delegate call.The text was updated successfully, but these errors were encountered: