This repository was archived by the owner on Aug 24, 2021. It is now read-only.
This repository was archived by the owner on Aug 24, 2021. It is now read-only.
Incompatibility with "zii" #80
Closed
Description
Describe the bug
If the package "zii" is installed due to a dependency somewhere else in an npm project including js-multibase (in my case, from ipfs-repo-migrations from ipfs-core), this function:
Line 116 in c373031
...no longer works for types which use a code of "z". This happens in my case from here:
To Reproduce
Steps to reproduce the behavior:
- npm install js-multibase
- npm install zii
- Require both so they are pulled into your project.
- Try to decode "zQmdfTbBqBPQ7VNxZEYEj14VmRuZBkqFbiwReogJgS1zR1n"
Expected behavior
It decodes.
Actual behavior
I get this error: TypeError: enc.decode is not a function
Desktop (please complete the following information):
- OS: Gentoo Linux
- Browser: Chromium
- Version: 87
Metadata
Metadata
Assignees
Labels
No labels