Patch Changes
- #79
795f4e4Thanks @JounQin! -randomUUIDnow has a source per platform:node:cryptoon Node, and the Web
Crypto API in a browser, wherebrowserinpackage.jsonmaps the built
random.jsto its browser twin as a bundler resolves the package through
exports. Every Node version the package declares keeps the UUID source it had,
and a browser bundle now builds, so a browser extension with host permissions for
the endpoint can use the library — a web page still cannot call it directly,
because the endpoint does not answer CORS for one. A test bundles the published
entry by package name forplatform: browserand fails ifnode:cryptoreaches
the output.