Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Compatibility issue with arweave 1.13.6 #16

Open
luckyr13 opened this issue Apr 18, 2023 · 0 comments
Open

Compatibility issue with arweave 1.13.6 #16

luckyr13 opened this issue Apr 18, 2023 · 0 comments

Comments

@luckyr13
Copy link

Hello guys, how is it going?

Today I was updating the libraries on some of my projects and I noticed an error when using ardb. I updated arweave-js library to the latest version 1.13.6 but it seems that this new version has changes that are not compatible with ardb.

I'm getting this error:

Argument of type 'Arweave' is not assignable to parameter of type 'Arweave | Blockweave'.
  Type 'import("C:/xampp/htdocs/arwiki/node_modules/arweave/node/common").default' is not assignable to type 'import("C:/xampp/htdocs/arwiki/node_modules/blockweave/node_modules/arweave/node/common").default'.
    Types of property 'api' are incompatible.
      Type 'import("C:/xampp/htdocs/arwiki/node_modules/arweave/node/lib/api").default' is not assignable to type 'import("C:/xampp/htdocs/arwiki/node_modules/blockweave/node_modules/arweave/node/lib/api").default'.
        Types have separate declarations of a private property 'mergeDefaults'.

19   this._ardb = new ArDB(_arweave);

What do you think guys? Thanks in advance for your help 🙏

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant