Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: Add support for Edge Runtime #29

Merged
merged 13 commits into from
May 15, 2023
Merged

feat!: Add support for Edge Runtime #29

merged 13 commits into from
May 15, 2023

Conversation

agadzik
Copy link
Collaborator

@agadzik agadzik commented May 12, 2023

  • Implements a browser / edge compatible randomBytes function. Add dynamic import to this new function if in the correct environment.
  • adds ESM output

src/index.ts Outdated Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
package.json Show resolved Hide resolved
test/test.js Outdated Show resolved Hide resolved
tsconfig.esm.json Outdated Show resolved Hide resolved
@agadzik agadzik requested a review from styfle May 12, 2023 18:53
package.json Outdated Show resolved Hide resolved
.github/workflows/ci.yaml Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
test/test-esm.mjs Outdated Show resolved Hide resolved
test/test.js Outdated Show resolved Hide resolved
@agadzik agadzik changed the title Add support for Edge Runtime BREAKING CHANGE: Add support for Edge Runtime May 15, 2023
BREAKING CHANGE: Internals have been changed, new output has been created.
@agadzik agadzik changed the title BREAKING CHANGE: Add support for Edge Runtime feat!: Add support for Edge Runtime May 15, 2023
@agadzik agadzik requested a review from styfle May 15, 2023 13:24
Copy link
Member

@styfle styfle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@agadzik agadzik merged commit e1ab3a0 into vercel:main May 15, 2023
3 of 4 checks passed
@github-actions
Copy link

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@styfle styfle mentioned this pull request May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants