Skip to content

Commit

Permalink
Merge pull request #296 from alephium/bump-dw-version
Browse files Browse the repository at this point in the history
Bug fixes & Bump desktop wallet version to 2.2.1
  • Loading branch information
nop33 authored Jan 29, 2024
2 parents d41ac8d + e7d4bad commit 4b7b093
Show file tree
Hide file tree
Showing 15 changed files with 25 additions and 82 deletions.
5 changes: 0 additions & 5 deletions .changeset/afraid-snakes-kneel.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/cold-geese-bake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/eighty-students-greet.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gold-ants-dream.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/polite-melons-repeat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tasty-goats-remember.md

This file was deleted.

11 changes: 11 additions & 0 deletions apps/desktop-wallet/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# alephium-desktop-wallet

## 2.2.1

### Patch Changes

- f98987d: Add clear WalletConnect cache button in general settings
- f7fb5fe: Fixing decimals in asset badges
- edc5fcf: Fix list of suggested words in wallet import
- 60938b2: Fix crash after login
- a309825: Sign messages through WalletConnect
- ac9906c: Keep up to 10 unresponsive WalletConnect requests and clear the rest to avoid crashes due to storage overload

## 2.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop-wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "alephium-desktop-wallet",
"description": "The official Alephium wallet",
"version": "2.2.0",
"version": "2.2.1",
"author": "Alephium dev <[email protected]>",
"main": "public/electron.js",
"homepage": "./",
Expand Down
3 changes: 2 additions & 1 deletion apps/desktop-wallet/src/components/Inputs/TextAreaTags.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ const TextAreaTags = (props: ComponentProps<typeof Tags>) => (
position: 'all',
classname: 'tags-dropdown',
maxItems: 5,
highlightFirst: true
highlightFirst: true,
includeSelectedTags: true // Allow duplicated tags to be displayed in the dropdown suggestions list
},
addTagOnBlur: false,
editTags: false
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop-wallet/src/hooks/useLatestGitHubRelease.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const useLatestGitHubRelease = () => {
const checkForManualDownload = async () => {
const response = await fetch(links.latestReleaseApi)
const data = await response.json()
const version = data.tag_name.replace('v', '')
const version = data.tag_name.replace('alephium-desktop-wallet@', '')

if (isVersionNewer(version)) {
setNewVersion(version)
Expand Down
9 changes: 5 additions & 4 deletions apps/desktop-wallet/src/modals/SettingsModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const SettingsModal = ({ onClose, initialTabValue }: SettingsModalProps) => {
<SidebarFooter>
<SocialMedias>
{socialMediaLogos.map(({ media, img }) => (
<SocialMedia key={media} src={img} onClick={() => openInWebBrowser(links[media])} />
<SocialMedia key={media} $src={img} onClick={() => openInWebBrowser(links[media])} />
))}
</SocialMedias>
<Version>v{import.meta.env.VITE_VERSION}</Version>
Expand Down Expand Up @@ -228,9 +228,10 @@ const SocialMedias = styled.div`
gap: 10px;
`

const SocialMedia = styled.div<{ src: string }>`
${({ src }) => css`
mask: url(${src}) no-repeat center;
const SocialMedia = styled.div<{ $src: string }>`
${({ $src }) => css`
-webkit-mask: url(${$src}) no-repeat center;
mask: url(${$src}) no-repeat center;
`}
height: 20px;
Expand Down
4 changes: 2 additions & 2 deletions apps/desktop-wallet/src/utils/links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ along with the library. If not, see <http://www.gnu.org/licenses/>.
export const links = {
passphrase:
'https://docs.alephium.org/wallet/desktop-wallet/advanced-features#2-passphrase-advanced-security-feature',
latestRelease: 'https://github.com/alephium/desktop-wallet/releases/latest',
latestReleaseApi: 'https://api.github.com/repos/alephium/desktop-wallet/releases/latest',
latestRelease: 'https://github.com/alephium/alephium-frontend/releases/latest',
latestReleaseApi: 'https://api.github.com/repos/alephium/alephium-frontend/releases/latest',
utxoConsolidation: 'https://docs.alephium.org/wallet/desktop-wallet/advanced-features#1-utxo-consolidation',
miningWallet: 'https://docs.alephium.org/wallet/desktop-wallet/configure-mining-wallet',
discord: 'https://www.alephium.org/discord',
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
"pnpm": {
"patchedDependencies": {
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]",
"@yaireo/[email protected]": "patches/@[email protected]"
"[email protected]": "patches/[email protected]"
}
}
}
35 changes: 0 additions & 35 deletions patches/@[email protected]

This file was deleted.

8 changes: 2 additions & 6 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4b7b093

Please sign in to comment.