decentralized-identity / decentralized-identity/web5-js

Document, polyfill, or make friendlier error message when `crypto.subtle` is undefined

Open
#158 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
142
Forks
56
PR merge metrics
No merged PRs in 30d

Description

Context: https://discord.com/channels/937858703112155166/1130936915038843021/1131012879810842665

Minimal reproduction: https://github.com/tylerami/react-web5-test

We've had a few people run into this on Discord. The root cause is that `crypto.subtle` is undefined for http origins. The error message is not the most clear. Might be worth documenting in a README or having a friendlier error message.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.