Skip to content

Request for a less restrictive Provider type in retrieveAndDecrypt. #296

@jdbertron

Description

@jdbertron

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions