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

fix: πŸ› Fix polyfill not working correctly #1932

Conversation

ZedLi
Copy link
Collaborator

@ZedLi ZedLi commented Sep 27, 2023

βœ… Closes: ICU-11211

🎟️ Jira ticket

Description

The main fix was in this PR to add a polyfill. However, it wasn't correctly getting activated because we didn't have the right dependencies.

Screenshots (if appropriate):

Before:
image

After:
image

How to Test

I tested this by running against boundary dev with a local build running and setting up ngrok to deliver an http only tunnel (no TLS) to confirm that we are getting a crypto.randomUUID() error when trying to create a new resource.

Checklist:

  • I have added before and after screenshots for UI changes
  • I have added JSON response output for API changes
  • I have added steps to reproduce and test for bug fixes in the description
  • I have commented on my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

@ZedLi ZedLi requested a review from a team as a code owner September 27, 2023 21:22
@ZedLi ZedLi self-assigned this Sep 27, 2023
@vercel
Copy link

vercel bot commented Sep 27, 2023

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated (UTC)
boundary-ui βœ… Ready (Inspect) Visit Preview Sep 27, 2023 9:22pm
boundary-ui-desktop βœ… Ready (Inspect) Visit Preview Sep 27, 2023 9:22pm

Copy link
Collaborator

@lisbet-alvarez lisbet-alvarez left a comment

Choose a reason for hiding this comment

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

Awesome work πŸ™Œ

@ZedLi ZedLi merged commit 4de4176 into main Sep 27, 2023
@ZedLi ZedLi deleted the ICU-11211-unable-to-create-resources-due-to-random-uuid-is-not-a-function-error branch September 27, 2023 21:45
Copy link
Collaborator

@calcaide calcaide left a comment

Choose a reason for hiding this comment

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

I know is already merged, but wanted to say thank you for this and good job!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants