Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import error in Angular with @web3-onboard/walletconnect #2028

Open
1 task done
RronKurtishi opened this issue Dec 15, 2023 · 0 comments
Open
1 task done

Import error in Angular with @web3-onboard/walletconnect #2028

RronKurtishi opened this issue Dec 15, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@RronKurtishi
Copy link

RronKurtishi commented Dec 15, 2023

Current Behavior

There is an error when importing WalletConnectOptions. It tries to import from types.js but it should be importing from ./types.js.

See image below for the error:
Screenshot 2023-12-15 at 15 00 33

Issue was introduced on @web3-onboard/walletconnect@2.5.0.

Expected Behavior

WalletConnectOptions should be importet and there should not be an error.

Steps To Reproduce

  1. In an Angular project install @web3-onboard/walletconnect@2.5.0 or @web3-onboard/walletconnect@2.5.1.
  2. Try to run the application.

What package is effected by this issue?

@web3-onboard/walletconnect

Is this a build or a runtime issue?

N/A

Package Version

2.5.0

Node Version

18.16.0

What browsers are you seeing the problem on?

No response

Relevant log output

Error: node_modules/@web3-onboard/walletconnect/dist/index.d. ts:2:43 - error TS2307: Cannot find module 'types.js' or its corresponding type declarations.

Anything else?

No response

Sanity Check

  • If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a Minimal, Reproducible Example.
@RronKurtishi RronKurtishi added the bug Something isn't working label Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants