-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #379 from enkryptcom/develop
Release: v1.31.0
- 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.
500fd27
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/84b0d71dea4d4a7bc96ec361509d1e6668a350762659fe1fe5feb6f513442915
firefox:
https://www.virustotal.com/gui/file/0bce7e3561bc2d0f850893caeda7b75f832724e028c927d81d59ca002bccf8cd
500fd27
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/1446927f93e061ede65819690721764954ff9066c5ec9548763cc7ec16d2c467
firefox:
https://www.virustotal.com/gui/file/6800cbcfb186277543579561bd0909fb7579665222f8c4aca138aca88882f37b