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

Revert "feat: protect pass by value when sending data out" #4442

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

lcovar
Copy link
Contributor

@lcovar lcovar commented Apr 16, 2024

This reverts commit 8755bdd.

TICKET: BTC-1084

This breaks WRW, run into strucutedClone is not defined error.

@lcovar lcovar marked this pull request as ready for review April 16, 2024 23:42
@lcovar lcovar requested review from a team as code owners April 16, 2024 23:42
@@ -683,12 +683,12 @@ export class BitGoAPI implements BitGoBase {
* Caution: contains sensitive data
*/
toJSON(): BitGoJson {
return structuredClone({
Copy link
Contributor

Choose a reason for hiding this comment

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

lol, the culprit

Copy link
Contributor Author

Choose a reason for hiding this comment

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

🤷‍♂️

@lcovar lcovar merged commit e9d620f into master Apr 17, 2024
9 checks 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.

3 participants