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

Firefly PC v5.2.0 #11610

Draft
wants to merge 87 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
7b2c864
feat: add `getOwnersByContract` api (#11609)
LeifXu May 10, 2024
e09739b
feat: add `getTopCollectorsByContract` api to `SimpleHashEVM` (#11611)
LeifXu May 10, 2024
ce7b7fe
fix: fw-555 wallet address is required to claim redpacket (#11614)
swkatmask May 13, 2024
3d04506
feat: export `resolveChainId` from `SimpleHash`
LeifXu May 13, 2024
2d17011
refactor: export simple hash helpers (#11615)
guanbinrui May 13, 2024
374fbef
refactor: revert resolveChainId
guanbinrui May 13, 2024
b1753de
feat: add params contract address to `getAssets` api in `SimpleHashAP…
LeifXu May 23, 2024
2a5f496
fix: simple hash (#11646)
guanbinrui May 23, 2024
eec9063
fix: entry helpers
guanbinrui May 23, 2024
3468d4e
fix: navigator is undefined
guanbinrui May 23, 2024
17bf902
fix: fix function `createNonFungibleAsset` hasn't owner (#11650)
LeifXu May 27, 2024
342617f
feat: add chain configs (#11651)
LeifXu May 28, 2024
fba63a8
feat: add new chain to resolveChainId (#11652)
LeifXu May 28, 2024
85e2b24
feat: add chain configs (#11654)
LeifXu May 29, 2024
deaae6f
feat: new zora icon (#11666)
LeifXu Jun 12, 2024
fd24ab6
feat: add poap event api (#11671)
LeifXu Jun 13, 2024
d7e37a5
fix: add collection id (#11672)
swkatmask Jun 13, 2024
34014b6
[Release] Hotfix 2.26.1 => 2.26.2 (patch) (#11673)
guanbinrui Jun 18, 2024
610f09e
feat: get params `count` to poap event api (#11674)
LeifXu Jun 19, 2024
8a41343
fix(Redpacket): address could be empty (#11678)
swkatmask Jun 22, 2024
1f13058
fix(RedPacket): disable share for twitter on Firefly (#11680)
swkatmask Jun 22, 2024
eaa720f
fix: coingecko data (#11683)
swkatmask Jun 30, 2024
bb3ae3a
fix: fw-1508 update repost text for lens (#11685)
swkatmask Jul 3, 2024
1b1ebcd
fix: disable history button when wallet not connected (#11679)
swkatmask Jul 4, 2024
adefeff
fix: fw-1575 only list supported chains in token picker (#11687)
swkatmask Jul 4, 2024
2bae552
fix: fw-1591 parsing redpacket could get null (#11688)
swkatmask Jul 4, 2024
74f4f10
refactor: remove sol sdk
guanbinrui Jul 15, 2024
9a81464
refactor: remove domain api
guanbinrui Jul 15, 2024
a08bf54
chore: engine
guanbinrui Jul 17, 2024
8d25af7
fix: adjust text (#11700)
LeifXu Jul 22, 2024
8bdd62a
chore: lock file
guanbinrui Jul 23, 2024
0144ce4
fix: remove calendar provider icon
LeifXu Jul 23, 2024
c42a267
feat: traditional chinese translation for calendar (#11702)
dudu0506 Jul 23, 2024
32e0f6f
fix: lazy load calendar data
swkatmask Jul 24, 2024
6648572
refactor: slim maskbook for firefly (#11694)
swkatmask Jul 26, 2024
97f9655
refactor: remove some more unused files (#11707)
swkatmask Jul 26, 2024
bec7d96
chore: remove more unused files (#11711)
swkatmask Jul 31, 2024
13fb5a3
fix: fw-1922 remain amount of refunded redpacket (#11712)
swkatmask Jul 31, 2024
f737512
feat: make red packet api root dynamic (#11719)
dudu0506 Aug 5, 2024
fe567e9
fix: bring back RecentTransaction
swkatmask Aug 6, 2024
c4b3c68
refactor: remove web3-telemetry
guanbinrui Aug 6, 2024
b7a2d39
refactor: remove unused hooks
guanbinrui Aug 6, 2024
0b04e48
chore: clean up web3-constants
guanbinrui Aug 6, 2024
e59654e
chore: remove Twitter API
guanbinrui Aug 6, 2024
0ca4da6
chore: cleanup web3-providers
guanbinrui Aug 6, 2024
31df4cd
chore: cleanup web3-providers
guanbinrui Aug 6, 2024
71ae464
chore: lock file
guanbinrui Aug 6, 2024
f59f981
fix: type errors
guanbinrui Aug 6, 2024
269980a
refactor: base contract wallet
guanbinrui Aug 6, 2024
8b5f76d
chore: remove pkgs
guanbinrui Aug 6, 2024
bd10d7d
refactor: update pkgs
guanbinrui Aug 6, 2024
f4e4afa
chore: shared-base-ui
guanbinrui Aug 7, 2024
d71c5b4
fix: fix polyfill decorate in brave (#11728)
LeifXu Aug 8, 2024
4047267
chore: upgrade anchormore
guanbinrui Aug 14, 2024
03f0fa4
chore: anchormore
guanbinrui Aug 14, 2024
9a51eca
chore: anchormore
guanbinrui Aug 14, 2024
1731223
chore: solana/web3
guanbinrui Aug 14, 2024
97dd868
chore: upgrade react use (#11735)
nuanyang233 Aug 14, 2024
411d146
refactor: remove unused icons
guanbinrui Aug 17, 2024
5a61def
feat: add `tokenCount` to NonFungibleAsset (#11750)
LeifXu Aug 19, 2024
07068d3
chore: add skip score check option
nuanyang233 Aug 20, 2024
da9173c
chore: candle.svg
guanbinrui Aug 20, 2024
332d143
fix: add skip score check for get asset
nuanyang233 Aug 20, 2024
0f14c04
fix: bugfix for rp history detail
nuanyang233 Aug 28, 2024
3aafab6
chore: up use-subscription (#11785)
guanbinrui Sep 11, 2024
c0ef310
refactor: remove calendar (#11751)
guanbinrui Sep 11, 2024
62ffa51
chore: codegen
guanbinrui Sep 11, 2024
f1dcbdf
feat: support scroll sdk (#11815)
dudu0506 Sep 26, 2024
0f388d6
Revert "feat: support scroll sdk (#11815)" (#11816)
dudu0506 Sep 26, 2024
153a169
refactor: remove some more unused files (#11772)
swkatmask Sep 30, 2024
4d63206
fix: export
guanbinrui Oct 1, 2024
b2f7634
Remove flow (#11831)
guanbinrui Oct 8, 2024
55883b5
refactor: mf-6329 rename $MATIC to $POL (#11826)
swkatmask Oct 8, 2024
19d629e
refactor: remove unused files (#11832)
guanbinrui Oct 8, 2024
8d908a6
refactor: getExplorerURL (#11835)
dudu0506 Oct 9, 2024
047d272
fixup! refactor: mf-6329 rename $MATIC to $POL (#11837)
swkatmask Oct 9, 2024
a276d5d
fix: fw-2503 put close on left side (#11854)
swkatmask Oct 12, 2024
b6e552b
fix: ff host (#11855)
guanbinrui Oct 12, 2024
fe71c6b
fix: redpacket claim requirements (#11860)
swkatmask Oct 14, 2024
493f484
fix: ts errors (#11872)
guanbinrui Oct 18, 2024
0a1545f
refactor: remove unused providers (#11873)
guanbinrui Oct 18, 2024
23b66f4
feat: support all network collection in rp (#11879)
nuanyang233 Oct 24, 2024
3fb107a
chore: missing file
nuanyang233 Oct 24, 2024
9c9544c
fix: update rp nft chain (#11891)
nuanyang233 Oct 31, 2024
2c3d82e
refactor: compress images (#11907)
guanbinrui Nov 6, 2024
09fd61f
feat: supplement SimpleHash api (#11933)
dudu0506 Nov 18, 2024
6a9c2cb
fix: skip score check in solana nft (#11936)
dudu0506 Nov 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
434 changes: 0 additions & 434 deletions .i18n-codegen.json

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@
"fileservice",
"finalised",
"flashloan",
"flowns",
"forcaster",
"fortmatic",
"funder",
"futuna",
"gapcheck",
Expand Down Expand Up @@ -161,9 +159,6 @@
"lockdown",
"logsearch",
"looksrare",
"maarten",
"macbinary",
"magiceden",
"maskbook",
"maskbox",
"masknet",
Expand Down Expand Up @@ -354,7 +349,6 @@
"apng",
"arbid",
"armv",
"blocto",
"bscscan",
"bsct",
"btcb",
Expand Down
29 changes: 0 additions & 29 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,12 @@ if (pathToFileURL(process.argv[1]).toString().includes('eslint/bin/eslint.js'))
const deferPackages = [
'wallet.ts',
'anchorme',
'@blocto/fcl',
'@metamask/eth-sig-util',
'@masknet/gun-utils',
'web3-eth',
'web3-eth-accounts',
'twitter-text',
'web3-utils',
'web3-eth-abi',
'@solana/web3.js',
'@project-serum/sol-wallet-adapter',
// add package names here.
]
Expand Down Expand Up @@ -465,24 +462,6 @@ const moduleSystemRules = {
'error',
{
zones: [
{
target: './packages/mask/background/**',
from: './packages/mask/shared-ui/',
message: 'Background cannot import Ui specific code.',
},
{
target: './packages/mask/!(background)/**',
from: './packages/mask/background/',
message: 'Use Services.* instead.',
},
{
target: './packages/mask/',
from: [
'./packages/plugin-infra/src/dom/context.ts',
'./packages/plugin-infra/src/site-adaptor/context.ts',
],
message: 'Use Services.* instead.',
},
// ideally shared folder should also bans import plugin context
// but that requires a lot of context passing. we leave it as a legacy escape path.
{
Expand Down Expand Up @@ -570,7 +549,6 @@ export default tseslint.config(
'**/languages.ts',
'packages/contracts',
'packages/scripts',
'packages/mask/.webpack',
],
},
{
Expand All @@ -596,13 +574,6 @@ export default tseslint.config(
...moduleSystemRules,
},
},
{
files: ['packages/mask/background/**/*.ts'],
plugins,
rules: {
'no-restricted-globals': ['error', 'setTimeout', 'setInterval'],
},
},
{
files: ['packages/**/tests/**/*.ts'],
rules: {
Expand Down
22 changes: 1 addition & 21 deletions knip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,6 @@ const config: KnipConfig = {
entry: ['*.js', '*.cjs'],
ignoreDependencies: ['@typescript/lib-dom', 'ses', 'eslint-import-resolver-typescript', 'vite'],
},
'packages/mask': {
ignore: ['public'],
entry: [
'.webpack/webpack.config.ts',
'background/initialization/mv2-entry.ts',
'background/initialization/mv3-entry.ts',
'dashboard/initialization/index.ts',
'popups/initialization/index.ts',
'swap/initialization/index.ts',
'content-script/index.ts',
'web-workers/wallet.ts',
'devtools/content-script/index.ts',
'devtools/panels/index.tsx',
],
ignoreDependencies: ['webpack-cli'],
},
'packages/web3-constants': {
entry: ['constants.ts'],
},
Expand All @@ -37,15 +21,11 @@ const config: KnipConfig = {
ignore: ['main/debugger.ts'],
entry: ['main/index.ts'],
},
'packages/mask-sdk': {
ignore: ['public-api'],
entry: ['main/index.ts'],
},
'packages/sentry': {
ignoreDependencies: ['@sentry/browser'],
},
},
ignoreWorkspaces: ['packages/polyfills', 'packages/sandboxed-plugins', 'packages/xcode'],
ignoreWorkspaces: ['packages/polyfills', 'packages/sandboxed-plugins'],
ignoreDependencies: ['buffer', 'https-browserify', 'punycode'],
}

Expand Down
37 changes: 7 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
{
"name": "mask-network",
"type": "module",
"packageManager": "pnpm@8.7.6",
"packageManager": "pnpm@8.15.8",
"engines": {
"node": ">=20.11.1",
"pnpm": ">=8.6.0",
"yarn": ">=999.0.0",
"npm": ">=999.0.0"
"pnpm": ">=8.15.8"
},
"version": "2.25.0",
"version": "2.26.2",
"private": true,
"license": "AGPL-3.0-or-later",
"scripts": {
Expand All @@ -32,18 +30,14 @@
"@dimensiondev/holoflows-kit": "0.9.0-20240322092738-f9180f3",
"@emotion/cache": "11.11.0",
"@emotion/react": "11.11.1",
"@emotion/serialize": "1.1.2",
"@emotion/styled": "11.11.0",
"@masknet/kit": "0.3.0",
"@mui/base": "5.0.0-beta.38",
"@mui/icons-material": "5.15.12",
"@mui/lab": "5.0.0-alpha.167",
"@mui/material": "5.15.12",
"@mui/system": "5.15.12",
"@tanstack/react-query": "^5.29.2",
"@types/masknet__global-types": "workspace:^",
"@types/react": "18.2.48",
"@types/react-dom": "^18.2.18",
"@typescript/lib-dom": "npm:@types/web@^0.0.143",
"i18next": "^23.2.11",
"knip": "^5.11.0",
Expand All @@ -67,6 +61,8 @@
"@swc/core": "1.3.106",
"@tanstack/eslint-plugin-query": "^5.28.11",
"@types/lodash-es": "^4.17.9",
"@types/react": "18.2.48",
"@types/react-dom": "^18.2.18",
"@vitest/ui": "^0.34.3",
"cross-fetch": "^4.0.0",
"cspell": "^7.2.0",
Expand Down Expand Up @@ -96,11 +92,9 @@
"cross-blob": "3.0.1",
"i18next-translation-parser>html-parse-stringify2": "github:locize/html-parse-stringify2#d463109433b2c49c74a081044f54b2a6a1ccad7c",
"web3@0.20.7>bignumber.js": "git+https://github.com/frozeman/bignumber.js-nolookahead.git#57692b3ecfc98bbdd6b3a516cb2353652ea49934",
"@protobufjs/inquire": "1.1.0",
"reflect-metadata": "0.1.13",
"webpack@5": "Jack-Works/webpack#528c91e564d5756e21c9c462b607d913452af770",
"@tanstack/react-query": "^5.29.2",
"@lifi/widget": "^2.10.1"
"@tanstack/react-query": "^5.29.2"
},
"override comments": {
"i18next-translation-parser": "see https://github.com/i18next/i18next-translation-parser/issues/11 we manually pin the commit"
Expand All @@ -125,30 +119,13 @@
}
},
"patchedDependencies": {
"@ceramicnetwork/rpc-transport@0.3.1": "patches/@ceramicnetwork__rpc-transport@0.3.1.patch",
"micromark@3.1.0": "patches/micromark@3.1.0.patch",
"micromark-util-symbol@1.0.1": "patches/micromark-util-symbol@1.0.1.patch",
"@types/react-avatar-editor@13.0.0": "patches/@types__react-avatar-editor@13.0.0.patch",
"rss3-next@0.6.17": "patches/rss3-next@0.6.17.patch",
"@project-serum/sol-wallet-adapter@0.2.6": "patches/@project-serum__sol-wallet-adapter@0.2.6.patch",
"@types/react-highlight-words@0.16.4": "patches/@types__react-highlight-words@0.16.4.patch",
"@cyberlab/cyberconnect@4.2.2": "patches/@cyberlab__cyberconnect@4.2.2.patch",
"fortmatic@2.2.1": "patches/fortmatic@2.2.1.patch",
"reflect-metadata@0.1.13": "patches/reflect-metadata@0.1.13.patch",
"bloom-filters@3.0.0": "patches/bloom-filters@3.0.0.patch",
"urlcat@3.1.0": "patches/urlcat@3.1.0.patch",
"@chainsafe/as-sha256@0.3.1": "patches/@chainsafe__as-sha256@0.3.1.patch",
"@protobufjs/inquire@1.1.0": "patches/@protobufjs__inquire@1.1.0.patch",
"@splinetool/runtime@0.9.342": "patches/@splinetool__runtime@0.9.342.patch",
"web3-core@1.10.2": "patches/web3-core@1.10.2.patch",
"react-devtools-inline@4.28.5": "patches/react-devtools-inline@4.28.5.patch",
"eslint-plugin-i@2.29.1": "patches/eslint-plugin-i@2.29.1.patch",
"@mui/material@5.15.12": "patches/@mui__material@5.15.12.patch",
"@lifi/widget@2.10.1": "patches/@lifi__widget@2.10.1.patch",
"@mui/base@5.0.0-beta.38": "patches/@mui__base@5.0.0-beta.38.patch",
"@lifi/wallet-management@2.6.0": "patches/@lifi__wallet-management@2.6.0.patch",
"gulp@4.0.2": "patches/gulp@4.0.2.patch",
"react-use@17.4.0": "patches/react-use@17.4.0.patch"
"react-use@17.5.1": "patches/react-use@17.5.1.patch"
}
}
}
11 changes: 0 additions & 11 deletions packages/backup-format/README.md

This file was deleted.

23 changes: 0 additions & 23 deletions packages/backup-format/package.json

This file was deleted.

4 changes: 0 additions & 4 deletions packages/backup-format/src/BackupErrors.ts

This file was deleted.

38 changes: 0 additions & 38 deletions packages/backup-format/src/container/index.ts

This file was deleted.

9 changes: 0 additions & 9 deletions packages/backup-format/src/index.ts

This file was deleted.

43 changes: 0 additions & 43 deletions packages/backup-format/src/normalize/index.ts

This file was deleted.

Loading