Skip to content

Commit

Permalink
Merge pull request #279 from enkryptcom/devop/release-v118
Browse files Browse the repository at this point in the history
Devop/release v118
  • Loading branch information
kvhnuke authored May 15, 2023
2 parents ba807a9 + 9c65db6 commit ebf115c
Show file tree
Hide file tree
Showing 48 changed files with 1,666 additions and 101 deletions.
2 changes: 1 addition & 1 deletion packages/extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@enkryptcom/extension",
"version": "1.17.1",
"version": "1.18.0",
"private": true,
"scripts": {
"zip": "cd dist; zip -r release.zip *;",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ class AccountState {
}
async getApprovedAddresses(domain: string): Promise<string[]> {
const state = await this.getStateByDomain(domain);
if (state.approvedAccounts) return state.approvedAccounts;
if (state.approvedAccounts) {
for (const acc of state.approvedAccounts) {
if (acc.length !== 42) await this.removeApprovedAddress(acc, domain); // remove after a while, bug due to getting btc accounts added to evm
}
return state.approvedAccounts.filter((acc) => acc.length === 42);
}
return [];
}
async deleteState(domain: string): Promise<void> {
Expand Down
6 changes: 0 additions & 6 deletions packages/extension/src/providers/ethereum/networks/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import ethNode from "./eth";
import goerliNode from "./goerli";
import kovanNode from "./kov";
import ropstenNode from "./rop";
import rinkebyNode from "./rin";
import etcNode from "./etc";
import maticNode from "./matic";
import bscNode from "./bsc";
Expand Down Expand Up @@ -32,9 +29,6 @@ import puppyNode from "./puppy";
export default {
goerli: goerliNode,
ethereum: ethNode,
kovan: kovanNode,
ropsten: ropstenNode,
rinkeby: rinkebyNode,
etc: etcNode,
matic: maticNode,
bsc: bscNode,
Expand Down
24 changes: 0 additions & 24 deletions packages/extension/src/providers/ethereum/networks/kov.ts

This file was deleted.

24 changes: 0 additions & 24 deletions packages/extension/src/providers/ethereum/networks/rin.ts

This file was deleted.

25 changes: 0 additions & 25 deletions packages/extension/src/providers/ethereum/networks/rop.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ const NetworkEndpoints = {
[NetworkNames.Bifrost]: "https://bifrost.api.subscan.io/",
[NetworkNames.BifrostKusama]: "https://bifrost-kusama.api.subscan.io/",
[NetworkNames.Edgeware]: "https://edgeware.api.subscan.io/",
[NetworkNames.Quartz]: "https://quartz.api.subscan.io/",
[NetworkNames.Unique]: "https://unique.api.subscan.io/",
};

export { NetworkEndpoints };
104 changes: 104 additions & 0 deletions packages/extension/src/providers/polkadot/networks/icons/interlay.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

1 comment on commit ebf115c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.