Skip to content

TypeError: signers_1.InMemorySigner is not a constructor #4

@Muhammad-Altabba

Description

@Muhammad-Altabba

Hello,
I am facing the error "TypeError: signers_1.InMemorySigner is not a constructor" when traing to use @near-wallet-selector/here-wallet.

Dependencies:

"@here-wallet/core": "^3.3.1",
"@near-wallet-selector/core": "8.9.14",
"@near-wallet-selector/here-wallet": "8.9.14
"@near-wallet-selector/modal-ui": "8.9.14",
"near-api-js": "4.0.3",

Code to reproduce the error:

export const selector = await setupWalletSelector({
  network: 'mainnet',
  languageCode: 'en',
  modules: [
    setupHereWallet(),
  ],
});

The message in the Modal:
image

Error in the dev tools;
image

Note that the above code works fine with Nightly and Meteor. I will be useful if you can please provide a project were the wallet selector modal can be used with Here wallet, please.

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