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

Release 1.48.1 #4688

Merged
merged 5 commits into from
Dec 18, 2024
Merged

Release 1.48.1 #4688

merged 5 commits into from
Dec 18, 2024

Conversation

katspaugh
Copy link
Member

iamacook and others added 5 commits December 17, 2024 16:17
* fix: natively support clear signing with Ledger

* Use correct type

* Enable typed data signing support

* Fix module resolution imports

* Remove Jest setup

* Update packages

* Fix type issues

* Fix insufficient funds bug

* Update comment

* Facilitate toggling module

* Fix lock file

* Remove logs

* Get instead of converting to bytes

* Build ethers rejection error from error code

* Remove log
* Fix: add chain check in Delete Tx modal

* Fix: increase network selector width
Copy link

github-actions bot commented Dec 18, 2024

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Code review by ChatGPT

.github/dependabot.yml Show resolved Hide resolved
package.json Show resolved Hide resolved
src/components/new-safe/create/logic/index.ts Show resolved Hide resolved
@@ -559,6 +555,8 @@ export const dispatchBatchExecutionRelay = async (
to,
data,
version: safeVersion,
// We have no estimation in place
gasLimit: undefined,
})
} catch (error) {
txs.forEach(({ txId }) => {

Choose a reason for hiding this comment

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

Avoid setting gasLimit to undefined without context. If the estimation is unavailable, consider implementing a fallback mechanism or logging to track missing estimations. This prevents unexpected behavior or failures in transaction execution.

src/store/__tests__/txQueueSlice.test.ts Show resolved Hide resolved
src/store/api/gateway/proposers.ts Show resolved Hide resolved
@@ -13,7 +13,7 @@
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",

Choose a reason for hiding this comment

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

Changing moduleResolution to "Bundler" might affect compatibility. Ensure the build tool supports this setting. Consider keeping "node" for broader compatibility unless specific reasons are documented.

Copy link

📦 Next.js Bundle Analysis for safe-wallet-web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 1016.42 KB (🟡 +6.17 KB)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Eleven Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/apps 33.25 KB (🟡 +3.51 KB) 1.03 MB
/apps/custom 31.3 KB (🟡 +3.51 KB) 1.02 MB
/apps/open 53.64 KB (🟡 +3.51 KB) 1.04 MB
/home 58.7 KB (🟡 +3.51 KB) 1.05 MB
/settings/safe-apps 17.82 KB (🟡 +3.51 KB) 1.01 MB
/transactions 96.88 KB (🟡 +3.73 KB) 1.09 MB
/transactions/history 96.84 KB (🟡 +3.73 KB) 1.09 MB
/transactions/messages 58.4 KB (🟡 +3.51 KB) 1.05 MB
/transactions/msg 54.55 KB (🟡 +3.51 KB) 1.05 MB
/transactions/queue 47.51 KB (🟡 +3.51 KB) 1.04 MB
/transactions/tx 46.78 KB (🟡 +3.51 KB) 1.04 MB
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this.

Copy link

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements
73.92% (+0.01% 🔼)
14408/19492
🔴 Branches
51.45% (+0.01% 🔼)
3438/6682
🔴 Functions
56.88% (+0.02% 🔼)
2046/3597
🟡 Lines
75.45% (+0.01% 🔼)
13068/17320
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🟢
... / relaying.ts
100% 100% 100% 100%

Test suite run success

1715 tests passing in 233 suites.

Report generated by 🧪jest coverage report action from bc20acb

@liliya-soroka
Copy link
Member

Verified

@katspaugh katspaugh merged commit bc20acb into main Dec 18, 2024
19 of 21 checks passed
@katspaugh katspaugh deleted the release branch December 18, 2024 14:11
@github-actions github-actions bot locked and limited conversation to collaborators Dec 18, 2024
@katspaugh katspaugh restored the release branch January 3, 2025 06:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants