Skip to content

Conversation

SkySails
Copy link
Collaborator

@SkySails SkySails commented Sep 8, 2023

📝 Description

This PR fixes an issue where usage of Promise.finally within the @navigraph/auth package would throw exceptions in MSFS unless the environment was configured with a polyfill.

⛳️ Current behavior

Authenticating with the help of the SDK causes a TypeError upon request completion.

🚀 New behavior

No errors are thrown upon completing the sign-in, and the cleanups that were found in the finally section are now run correctly!

💣 Is this a breaking change (Yes/No):

No

@SkySails SkySails requested a review from a team as a code owner September 8, 2023 22:42
@changeset-bot
Copy link

changeset-bot bot commented Sep 8, 2023

🦋 Changeset detected

Latest commit: ebe1b9f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@navigraph/auth Patch
@navigraph/charts Patch
navigraph Patch
msfs-panel Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@SkySails SkySails merged commit 13522a4 into main Sep 8, 2023
@SkySails SkySails deleted the fix/polyfill-finally branch September 8, 2023 22:45
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