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

Compatibility issue with arweave 1.13.6 #16

@luckyr13

Description

@luckyr13

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 🙏

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