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: remove browserify, crypto-js, sourcemaps #157

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

rolznz
Copy link
Contributor

@rolznz rolznz commented Dec 6, 2023

Example codepen: https://codepen.io/rolznz/pen/yLZGwWw

Breaking change: generateAuthURL is now async.

Tested with examples/oauth2-public-callback_pkce_s256.mjs example (to confirm crypto-js replacement works) and codepen

Added example of using script in HTML to README

https://www.npmjs.com/package/@getalby/sdk
https://www.npmjs.com/package/rolznz-test2

package size decreased from 987 kB to 558 kB

@rolznz rolznz merged commit 890edc8 into master Dec 7, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant