File tree Expand file tree Collapse file tree
providers/ethereum/networks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @enkryptcom/extension" ,
3- "version" : " 2.5.0 " ,
3+ "version" : " 2.5.1 " ,
44 "private" : true ,
55 "type" : " module" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ export const openPrivacy = () => {
88} ;
99export default ( ) => {
1010 const onboardURL = Browser . runtime . getURL ( 'onboard.html' ) ;
11- Browser . tabs . create ( {
11+ return Browser . tabs . create ( {
1212 url : onboardURL ,
1313 } ) ;
1414} ;
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ const coti: EvmNetworkOptions = {
1515 currencyName : 'COTI' ,
1616 currencyNameLong : 'COTI' ,
1717 node : 'https://mainnet.coti.io/rpc' ,
18+ coingeckoID : 'coti' ,
1819 icon,
1920 activityHandler : wrapActivityHandler ( EtherscanActivity ) ,
2021} ;
Original file line number Diff line number Diff line change @@ -296,7 +296,9 @@ onMounted(async () => {
296296 menuStore .init ();
297297 fetchAndSetRates ();
298298 } else {
299- openOnboard ();
299+ openOnboard ().then (() => {
300+ window .close ();
301+ });
300302 }
301303});
302304
Original file line number Diff line number Diff line change @@ -68,7 +68,9 @@ const resetAction = async () => {
6868 const keyring = new KeyRingBase ();
6969 await keyring .reset ();
7070 emit (' action:lock' );
71- openOnboard ();
71+ openOnboard ().then (() => {
72+ window .close ();
73+ });
7274};
7375 </script >
7476
You can’t perform that action at this time.
0 commit comments