You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 6, 2023. It is now read-only.
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 🙏