Skip to content

Commit 3871192

Browse files
[Release] Hotfix 2.25.0 => 2.25.1 (patch) (#11618)
* chore: bump version to 2.25.1 * fix: mask token order in swap (#11620) * fix: mismatch number tag (#11624) * fix: mask token order (#11626) --------- Co-authored-by: nuanyang233 <[email protected]>
1 parent d225877 commit 3871192

File tree

6 files changed

+16
-12
lines changed

6 files changed

+16
-12
lines changed

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"yarn": ">=999.0.0",
99
"npm": ">=999.0.0"
1010
},
11-
"version": "2.25.0",
11+
"version": "2.25.1",
1212
"private": true,
1313
"license": "AGPL-3.0-or-later",
1414
"scripts": {

Diff for: packages/mask/content-script/site-adaptors/twitter.com/injection/ToolboxHint.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ const SideBarNativeItemPaddingRef = new ValueRef('11px')
1313

1414
function toolboxInSidebarSelector() {
1515
// Organization account don't have a [data-testid=AppTabBar_More_Menu] in page. see MF-3866
16-
return querySelector<HTMLElement>('[role="banner"] nav[role="navigation"] > div[data-testid=AppTabBar_More_Menu]')
16+
return querySelector<HTMLElement>(
17+
'[role="banner"] nav[role="navigation"] > button[data-testid=AppTabBar_More_Menu]',
18+
)
1719
}
1820

1921
export function injectToolboxHintAtTwitter(signal: AbortSignal, category: 'wallet' | 'application') {

Diff for: packages/mask/content-script/site-adaptors/twitter.com/utils/selector.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,7 @@ export function postEditorContentInPopupSelector() {
106106
)
107107
}
108108
export function postEditorInPopupSelector() {
109-
return querySelector<E>(
110-
'[aria-labelledby="modal-header"] div[data-testid="toolBar"] [role="presentation"]:has(> div[data-testid="geoButton"])',
111-
)
109+
return querySelector<E>('div[data-testid="toolBar"] [role="presentation"]:has(> button[data-testid="geoButton"])')
112110
}
113111
export function sideBarProfileSelector() {
114112
return querySelector<E>('[role="banner"] [role="navigation"] [data-testid="AppTabBar_Profile_Link"] > div')
@@ -310,7 +308,7 @@ export function searchRetweetAvatarSelector() {
310308

311309
export function searchReplyToolbarSelector() {
312310
return querySelector<E>(
313-
'div[data-testid="primaryColumn"] div[data-testid="toolBar"] [role="presentation"]:has(> div[data-testid="geoButton"])',
311+
'div[data-testid="primaryColumn"] div[data-testid="toolBar"] [role="presentation"]:has(> button[data-testid="geoButton"])',
314312
)
315313
}
316314

Diff for: packages/typed-message/react/src/Renderer/utils/renderText.tsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ export const RenderLinkFragment = memo(function RenderLink(
2929
HashLink = Text,
3030
} = context
3131
const sharedProps = { style, children, suggestedPostImage }
32-
if (category === 'cash') return <CashLink {...sharedProps} />
32+
33+
if (category === 'cash') {
34+
if (/^\$\d+/.test(children)) return <Text {...sharedProps} />
35+
return <CashLink {...sharedProps} />
36+
}
3337
if (category === 'hash') return <HashLink {...sharedProps} />
3438
if (category === 'user') return <AtLink {...sharedProps} />
3539
return <Link {...sharedProps} href={href} />

Diff for: patches/@[email protected]

-59 KB
Binary file not shown.

Diff for: pnpm-lock.yaml

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)