iotaledger / identity.rs

Implementation of the Decentralized Identity standards such as DID and Verifiable Credentials by W3C for the IOTA Tangle.
https://www.iota.org
Apache License 2.0
290 stars 83 forks source link

Make base64 encoding target independent in `KeyIdMemStore` in wasm bindings #1386

Closed wulfraem closed 2 weeks ago

wulfraem commented 2 weeks ago

Description of change

Makes base64 encoding in KeyIdMemStore, methodDigestToString work for node and web targets. By using new dependency base64-arraybuffer.

Also adds smaller improvements for storage related errors.

Type of change

How the change has been tested

Tested in browser and against local wasm tests.

Change checklist

Add an x to the boxes that are relevant to your changes.