Skip to content

Commit df73df6

Browse files
guanbinruinuanyang233Jack-Works
authored
[Release] Hotfix 2.26.5 => 2.26.6 (patch) (#11717)
* chore: bump version to 2.26.6 * feat: lido withdraw (#11709) * feat: lido withdraw * chore: cspell * chore: reply review * refactor: lock file * fix: selector for link-only tweet (#11718) * fix: selector * chore: remove logs --------- Co-authored-by: guanbinrui <[email protected]> * feat: new gitcoin project card (#11714) (#11720) * feat: new gitcoin project card * fix: run codegen * chore: lint --------- Co-authored-by: nuanyang233 <[email protected]> * fix: infinite loop (#11721) * fix: extension compile cache (#11724) * fix: bugfix for gitcoin (#11725) * fix: bugfix for gitcoin * Update packages/plugins/Gitcoin/src/SiteAdaptor/PreviewCard.tsx --------- Co-authored-by: guanbinrui <[email protected]> * chore: default banner (#11726) * fix: lido withdraw nonce (#11727) * fix: switch chain before withdraw (#11729) * fix: wating time tips (#11730) * fix: read nonces from contract (#11731) * fix: bugfix for gitcoin (#11732) * chore: replace explore url (#11733) * Revert "chore: replace explore url (#11733)" This reverts commit de37ca3. --------- Co-authored-by: nuanyang233 <[email protected]> Co-authored-by: Jack Works <[email protected]> Co-authored-by: nuanyang233 <[email protected]>
1 parent 445bb3f commit df73df6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+3846
-1149
lines changed

Diff for: .github/workflows/compile.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ jobs:
4949
uses: actions/cache@v4
5050
with:
5151
path: packages/mask/node_modules/.cache/
52-
key: extension-v2-${{ hashFiles('pnpm-lock.yaml') }}-${{ steps.get-date.outputs.date }}
52+
key: extension-v3-${{ hashFiles('pnpm-lock.yaml') }}-${{ steps.get-date.outputs.date }}
5353
restore-keys: |
54-
extension-v2-${{ hashFiles('pnpm-lock.yaml') }}
55-
extension-v2-
54+
extension-v3-${{ hashFiles('pnpm-lock.yaml') }}
55+
extension-v3-
5656
- run: git config --global url."https://github.com/".insteadOf [email protected]
5757
- run: pnpm install
5858
- run: npx gulp build-ci

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.26.5",
11+
"version": "2.26.6",
1212
"private": true,
1313
"license": "AGPL-3.0-or-later",
1414
"scripts": {

Diff for: packages/icons/brands/GithubDark.svg

+10
Loading

Diff for: packages/icons/general/CalendarDark.svg

+4
Loading

Diff for: packages/icons/general/Global.svg

+3
Loading

Diff for: packages/icons/icon-generated-as-jsx.js

+15
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,11 @@ export const GitHub = /*#__PURE__*/ __createIcon('GitHub', [
214214
u: () => new URL('./brands/GitHub.svg', import.meta.url).href,
215215
},
216216
])
217+
export const GithubDark = /*#__PURE__*/ __createIcon('GithubDark', [
218+
{
219+
u: () => new URL('./brands/GithubDark.svg', import.meta.url).href,
220+
},
221+
])
217222
export const GitHubGray = /*#__PURE__*/ __createIcon('GitHubGray', [
218223
{
219224
u: () => new URL('./brands/GitHubGray.svg', import.meta.url).href,
@@ -1063,6 +1068,11 @@ export const Cached = /*#__PURE__*/ __createIcon('Cached', [
10631068
s: true,
10641069
},
10651070
])
1071+
export const CalendarDark = /*#__PURE__*/ __createIcon('CalendarDark', [
1072+
{
1073+
u: () => new URL('./general/CalendarDark.svg', import.meta.url).href,
1074+
},
1075+
])
10661076
export const Candle = /*#__PURE__*/ __createIcon('candle', [
10671077
{
10681078
u: () => new URL('./general/candle.svg', import.meta.url).href,
@@ -2073,6 +2083,11 @@ export const Gift = /*#__PURE__*/ __createIcon('Gift', [
20732083
u: () => new URL('./general/Gift.svg', import.meta.url).href,
20742084
},
20752085
])
2086+
export const Global = /*#__PURE__*/ __createIcon('Global', [
2087+
{
2088+
u: () => new URL('./general/Global.svg', import.meta.url).href,
2089+
},
2090+
])
20762091
export const Globe = /*#__PURE__*/ __createIcon('Globe', [
20772092
{
20782093
j: () =>

Diff for: packages/icons/icon-generated-as-url.js

+3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ export function firefly_light_url() { return new URL("./brands/Firefly.light.svg
3434
export function flow_url() { return new URL("./brands/Flow.svg", import.meta.url).href }
3535
export function gem_url() { return new URL("./brands/Gem.svg", import.meta.url).href }
3636
export function git_hub_url() { return new URL("./brands/GitHub.svg", import.meta.url).href }
37+
export function github_dark_url() { return new URL("./brands/GithubDark.svg", import.meta.url).href }
3738
export function git_hub_gray_url() { return new URL("./brands/GitHubGray.svg", import.meta.url).href }
3839
export function gnosis_url() { return new URL("./brands/Gnosis.svg", import.meta.url).href }
3940
export function instagram_url() { return new URL("./brands/Instagram.svg", import.meta.url).href }
@@ -142,6 +143,7 @@ export function bordered_success_url() { return new URL("./general/BorderedSucce
142143
export function busy_wallet_nav_url() { return new URL("./general/BusyWalletNav.svg", import.meta.url).href }
143144
export function buy_url() { return new URL("./general/Buy.svg", import.meta.url).href }
144145
export function cached_url() { return new URL("./general/Cached.svg", import.meta.url).href }
146+
export function calendar_dark_url() { return new URL("./general/CalendarDark.svg", import.meta.url).href }
145147
export function candle_url() { return new URL("./general/candle.svg", import.meta.url).href }
146148
export function card_url() { return new URL("./general/Card.svg", import.meta.url).href }
147149
export function check_url() { return new URL("./general/Check.svg", import.meta.url).href }
@@ -212,6 +214,7 @@ export function gear_dark_url() { return new URL("./general/Gear.dark.svg", impo
212214
export function gear_light_url() { return new URL("./general/Gear.light.svg", import.meta.url).href }
213215
export function gear_settings_url() { return new URL("./general/GearSettings.svg", import.meta.url).href }
214216
export function gift_url() { return new URL("./general/Gift.svg", import.meta.url).href }
217+
export function global_url() { return new URL("./general/Global.svg", import.meta.url).href }
215218
export function globe_url() { return new URL("./general/Globe.svg", import.meta.url).href }
216219
export function gray_masks_url() { return new URL("./general/GrayMasks.svg", import.meta.url).href }
217220
export function hamburger_menu_url() { return new URL("./general/HamburgerMenu.svg", import.meta.url).href }

Diff for: packages/mask/content-script/site-adaptors/twitter.com/collecting/post.ts

+1-9
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,7 @@ import {
3131
} from '../utils/selector.js'
3232
import { IdentityProviderTwitter } from './identity.js'
3333

34-
function getPostActionsNode(postNode: HTMLElement | null) {
35-
if (!postNode) return null
36-
return postNode.closest('[data-testid="tweet"]')?.querySelector<HTMLElement>(
37-
// query for the share button button which has a popup menu
38-
'[role="group"]:last-child > div:has([aria-haspopup="menu"]):last-child',
39-
)
40-
}
41-
42-
const getParentTweetNode = (node: HTMLElement) => {
34+
function getParentTweetNode(node: HTMLElement) {
4335
return node.closest<HTMLElement>('[data-testid="tweet"]')
4436
}
4537

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export function postsContentSelector() {
192192
'[data-testid="tweet"] + div > div div[data-testid="card.wrapper"]',
193193

194194
// tweets have only link that rendered as social media card
195-
'[data-testid="tweet"] [data-testid="card.wrapper"]:has([data-testid="card.layoutLarge.media"])',
195+
'[data-testid="tweet"] [data-testid="card.wrapper"]',
196196

197197
// quoted tweets in timeline
198198
'[data-testid="tweet"] [aria-labelledby] div[role="link"] div[lang]',

Diff for: packages/plugins/Gitcoin/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"quill-delta-to-html": "^0.12.1",
3434
"react-use": "^17.4.0",
3535
"urlcat": "^3.1.0",
36-
"web3-utils": "1.10.2"
36+
"web3-utils": "1.10.2",
37+
"date-fns": "^3.6.0"
3738
}
3839
}

0 commit comments

Comments
 (0)