Skip to content

No provider with skipAuthentication: false #13

@sinolopes

Description

@sinolopes

When execute activate() with skipAuthentication: false, we have an error: No provider

Probably (107): if (!this.provider) throw new Error('No provider');

e.g. config:

import { initializeConnector } from "@web3-react/core";
import { Venly } from "@sinodevi/web3-react-venly";

export const [venly, venlyHooks] = initializeConnector<Venly>(
  (actions) =>
    new Venly({
      actions,
      options: {
        clientId: "Testaccount",
        environment: "staging",
        skipAuthentication: false,
      },
    })
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions