File tree Expand file tree Collapse file tree 4 files changed +5
-16
lines changed Expand file tree Collapse file tree 4 files changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
55* Unreleased*
66
77* Released*
8+ ## [ v1.5.0] - 2024-03-12
9+ ### Additions
10+ - Security enhancement on DApp Browser
811## [ v1.4.9] - 2024-03-07
912### Additions
1013- Security enhancement on DApp Browser
Original file line number Diff line number Diff line change 11{
22 "name" : " chain-desktop-wallet" ,
3- "version" : " 1.4.9 " ,
3+ "version" : " 1.5.0 " ,
44 "description" : " Crypto.com DeFi Desktop Wallet App" ,
55 "repository" : " github:crypto-com/chain-desktop-wallet" ,
66 "author" :
" Crypto.com <[email protected] >" ,
Original file line number Diff line number Diff line change @@ -555,13 +555,6 @@ export const useIPCProvider = (props: IUseIPCProviderProps) => {
555555 }
556556 }
557557 break ;
558- case 'openLinkInDefaultBrowser' :
559- {
560- const { url } = event . object ;
561- const { shell } = window . require ( 'electron' ) ;
562- shell . openExternal ( url ) ;
563- }
564- break ;
565558 default :
566559 break ;
567560 }
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ export namespace DappBrowserIPC {
2222 export type EventName =
2323 | 'addEthereumChain'
2424 | 'ecRecover'
25- | 'openLinkInDefaultBrowser'
2625 | 'requestAccounts'
2726 | 'signMessage'
2827 | 'signPersonalMessage'
@@ -142,12 +141,7 @@ export namespace DappBrowserIPC {
142141 chainId : string ;
143142 }
144143 }
145- export interface OpenLinkInDefaultBrowserEvent extends BaseEvent {
146- name : 'openLinkInDefaultBrowser' ;
147- object : {
148- url : string ;
149- }
150- }
144+
151145
152146 export type Event =
153147 | SignTransactionEvent
@@ -160,7 +154,6 @@ export namespace DappBrowserIPC {
160154 | WatchAssetEvent
161155 | AddEthereumChainEvent
162156 | SwitchEthereumChainEvent
163- | OpenLinkInDefaultBrowserEvent
164157 | TokenApprovalEvent ;
165158}
166159
You can’t perform that action at this time.
0 commit comments