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
Can we make the type less restrictive for the provider in retrieveAndDecrypt() ? public async retrieveAndDecrypt( provider: ethers.providers.Web3Provider, conditionExpr: ConditionExpression, variant: FerveoVariant, ciphertext: Ciphertext ): Promise<Uint8Array> {
Not everyone will use a Web interface and Wallet to connect. I'm using it within a node.js application and a JsonRpcProvider.
Using ethers it's probably OK to just use the generic Provider interface.
The text was updated successfully, but these errors were encountered:
Can we make the type less restrictive for the provider in retrieveAndDecrypt() ?
public async retrieveAndDecrypt( provider: ethers.providers.Web3Provider, conditionExpr: ConditionExpression, variant: FerveoVariant, ciphertext: Ciphertext ): Promise<Uint8Array> {
Not everyone will use a Web interface and Wallet to connect. I'm using it within a node.js application and a JsonRpcProvider.
Using ethers it's probably OK to just use the generic Provider interface.
The text was updated successfully, but these errors were encountered: