Remove near-api-js
' Account
object dependency from set
function
#37
Labels
near-api-js
' Account
object dependency from set
function
#37
Summary
Currently, change functions require a dependency on the
near-api-js
'Account
object. However, this is almost impossible to use in some contexts (like the wallet selector).As the set function doesn't really need the whole
Account
object, we can just use the account ID and take the RPC URL to use as the connection.The text was updated successfully, but these errors were encountered: