-
Notifications
You must be signed in to change notification settings - Fork 433
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: Update @safe-global/safe-apps-sdk to ^8.0.0 #2339
Conversation
Branch preview✅ Deploy successful! https://feat_update_safe_apps_sdk--walletweb.review-wallet-web.5afe.dev |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something is not right.
The deployment failed and all unit tests that import from the safe-apps-sdk fail.
6ac822c
to
7e4e943
Compare
@@ -40,7 +40,7 @@ const FEATURES = [ | |||
'speaker-selection', | |||
] | |||
|
|||
export type AllowedFeatures = typeof FEATURES[number] | |||
export type AllowedFeatures = (typeof FEATURES)[number] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This threw a linter error without the braces
public emit: (typeof EventEmitter)['emit'] | ||
// @ts-expect-error - 'on' does not exist on `typeof EventEmitter` | ||
public on: typeof EventEmitter['on'] | ||
public on: (typeof EventEmitter)['on'] | ||
// @ts-expect-error - 'removeListener' does not exist on `typeof EventEmitter` | ||
public removeListener: typeof EventEmitter['removeListener'] | ||
public removeListener: (typeof EventEmitter)['removeListener'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This threw a linter error without the braces
@mmv08 please solve the git conflicts, I've moved it to QA in the meanwhile. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a merge conflict.
sorted |
2c0f831
to
ff15ac3
Compare
The same tests fail in all the other PRs, so it isn't affected by my changes. Correct? |
Yes, the tests have unfortunately been flaky recently because of Goerli (supposedly). |
Works for me. |
I've realised that the |
I'll leave up to you to merge this since I might be slightly unaware of the release processes/plans |
We'll include it in the release after the upcoming one if you don't mind. |
ESLint Summary View Full Report
Report generated by eslint-plus-action |
What it solves
Resolves #2337
How this PR fixes it
By updating the safe apps SDK to the latest version. I also had to fix a couple of linter errors and add
TextEncoder
to the global env in jest because it was required byviem
but not included with JSDom.How to test it
Open a test safe app, and try to execute a couple of transactions and message signings.
Screenshots
Checklist