Closed danawoodman closed 1 year ago
Previous code threw because TypedArrays/ArrayBuffers will fail when you attempt to Stringify their prototype, like Uin8Array.
Instead we get the constructor of the prototype and check its name, which is also a bit more elegant and explicity as a bonus.
Closes #25
Thanks! Out in v0.7.5 🚀
v0.7.5
Verified in production, thanks!
Previous code threw because TypedArrays/ArrayBuffers will fail when you attempt to Stringify their prototype, like Uin8Array.
Instead we get the constructor of the prototype and check its name, which is also a bit more elegant and explicity as a bonus.
Closes #25