-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix/opera-edge-store
- Loading branch information
Showing
17 changed files
with
241 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { NetworkNames } from "@enkryptcom/types"; | ||
import { EvmNetwork, EvmNetworkOptions } from "../types/evm-network"; | ||
import { EtherscanActivity } from "../libs/activity-handlers"; | ||
import wrapActivityHandler from "@/libs/activity-state/wrap-activity-handler"; | ||
|
||
const artheraTestOptions: EvmNetworkOptions = { | ||
name: NetworkNames.ArtheraTest, | ||
name_long: "Arthera Test", | ||
homePage: "https://arthera.net/", | ||
blockExplorerTX: "https://explorer-test.arthera.net/tx/[[txHash]]", | ||
blockExplorerAddr: "https://explorer-test.arthera.net/address/[[address]]", | ||
chainID: "0x2803", | ||
isTestNetwork: true, | ||
currencyName: "AA", | ||
currencyNameLong: "Arthera", | ||
node: "wss://ws-test.arthera.net", | ||
icon: require("./icons/aa.svg"), | ||
activityHandler: wrapActivityHandler(EtherscanActivity), | ||
}; | ||
|
||
const artheraTest = new EvmNetwork(artheraTestOptions); | ||
|
||
export default artheraTest; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
143 changes: 143 additions & 0 deletions
143
packages/extension/src/ui/action/views/modal-new-version/index.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
<template> | ||
<div class="rate__container"> | ||
<div class="rate__overlay" @click="close" /> | ||
<div class="rate__wrap"> | ||
<div class="rate__header"> | ||
<h2>New Enkrypt version available</h2> | ||
<a class="rate__close" @click="close"> | ||
<close-icon /> | ||
</a> | ||
</div> | ||
<p>For latest and greatest features please update!</p> | ||
<p> | ||
You current version: {{ currentVersion }} latest version: | ||
{{ latestVersion }} | ||
</p> | ||
<base-button title="Update" :click="update" /> | ||
<div class="rate__button-indent"></div> | ||
<base-button title="Cancel" :no-background="true" :click="close" /> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import CloseIcon from "@action/icons/common/close-icon.vue"; | ||
import BaseButton from "@action/components/base-button/index.vue"; | ||
import { openLink } from "@action/utils/browser"; | ||
const emit = defineEmits<{ | ||
(e: "close:popup"): void; | ||
}>(); | ||
const close = async () => { | ||
emit("close:popup"); | ||
}; | ||
interface IProps { | ||
currentVersion: string; | ||
latestVersion: string; | ||
} | ||
defineProps<IProps>(); | ||
const update = async () => { | ||
openLink("https://www.enkrypt.com"); | ||
}; | ||
</script> | ||
|
||
<style lang="less"> | ||
@import "~@action/styles/theme.less"; | ||
.rate { | ||
width: 100%; | ||
height: auto; | ||
box-sizing: border-box; | ||
&__wrap { | ||
background: @white; | ||
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.039), | ||
0px 7px 24px rgba(0, 0, 0, 0.19); | ||
border-radius: 12px; | ||
box-sizing: border-box; | ||
width: 450px; | ||
height: auto; | ||
z-index: 107; | ||
position: relative; | ||
overflow-x: hidden; | ||
padding: 24px 16px; | ||
p { | ||
font-style: normal; | ||
font-weight: 400; | ||
font-size: 16px; | ||
line-height: 24px; | ||
color: @secondaryLabel; | ||
margin: 0 0 12px 0; | ||
} | ||
} | ||
&__header { | ||
width: 100%; | ||
background: @white; | ||
box-sizing: border-box; | ||
padding: 0 40px 12px 0; | ||
h2 { | ||
font-style: normal; | ||
font-weight: bold; | ||
font-size: 24px; | ||
line-height: 32px; | ||
margin: 0; | ||
color: @primaryLabel; | ||
} | ||
} | ||
&__close { | ||
position: absolute; | ||
top: 8px; | ||
right: 8px; | ||
border-radius: 8px; | ||
cursor: pointer; | ||
transition: background 300ms ease-in-out; | ||
font-size: 0; | ||
&:hover { | ||
background: @black007; | ||
} | ||
} | ||
&__container { | ||
width: 800px; | ||
height: 100%; | ||
left: 0px; | ||
top: 0px; | ||
position: fixed; | ||
z-index: 105; | ||
display: flex; | ||
box-sizing: border-box; | ||
justify-content: center; | ||
align-items: center; | ||
flex-direction: row; | ||
} | ||
&__overlay { | ||
background: rgba(0, 0, 0, 0.32); | ||
width: 100%; | ||
height: 100%; | ||
left: 0px; | ||
top: 0px; | ||
position: absolute; | ||
z-index: 106; | ||
} | ||
&__block { | ||
padding: 12px 0; | ||
&:nth-child(2) { | ||
padding-top: 0; | ||
} | ||
} | ||
&__button-indent { | ||
margin-bottom: 8px; | ||
} | ||
} | ||
</style> |
Oops, something went wrong.
53c9691
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Virus total analysis
chrome:
https://www.virustotal.com/gui/file/bd2d3e8defee930ea398b22d769eb10b4bc47a81871accb3817b3d1b2aa43a4d
firefox:
https://www.virustotal.com/gui/file/27cc45697ee5b3cc5fb4d775f700c9c76cfee9191ed5154b8c595bd8699e4d5a