workers-types icon indicating copy to clipboard operation
workers-types copied to clipboard

Missing DigestStream in Crypto Type

Open harshal317 opened this issue 3 years ago • 3 comments

https://community.cloudflare.com/t/2021-12-10-workers-runtime-release-notes/334982

AFAICT there should be a DigestStream in the class def

harshal317 avatar Feb 24 '22 17:02 harshal317

Specifically crypto.DigestStream appears to be missing. Adding DigestStream: typeof DigestStream; to Crypto seems to resolve the issue.

vlovich avatar Feb 24 '22 19:02 vlovich

cc @threepointone

vlovich avatar Feb 24 '22 19:02 vlovich

Running into this issue as well — I'm trying to use it but getting We encountered an internal error. Please try again. (10001) as I don't understand what is returned by the undocumented interface.

haywirez avatar Aug 31 '22 14:08 haywirez

This appears to have been fixed since https://github.com/cloudflare/workers-types/pull/232.

mrbbot avatar Oct 21 '22 13:10 mrbbot