chore: changes for 1.2.6

This commit is contained in:
Andrei O 2023-03-30 17:12:44 +03:00
parent 4f31611a53
commit dab1b57e07
No known key found for this signature in database
GPG Key ID: B961E5B68389457E
8 changed files with 751 additions and 704 deletions

View File

@ -1,5 +1,9 @@
# Changelog
## Manifest Version 1.2.6
- upgrade ionic to v7 and update dependencies
## Manifest Version 1.2.5
- improve post build script

View File

@ -4,8 +4,8 @@
"private": true,
"scripts": {
"dev": "vite",
"inject": "tsc --out src/extension/inject.js src/extension/inject.ts",
"content": "tsc --out src/extension/content.js src/extension/content.ts",
"inject": "tsc --outFile src/extension/inject.js src/extension/inject.ts",
"content": "tsc --outFile src/extension/content.js src/extension/content.ts",
"post-build": "ts-node ./release-scripts/post-build.ts",
"build": "yarn inject && yarn content && vue-tsc --noEmit && vite build && yarn post-build",
"preview": "vite preview",
@ -15,43 +15,43 @@
},
"dependencies": {
"@capacitor/app": "^4.1.1",
"@capacitor/core": "^4.6.2",
"@capacitor/core": "^4.7.1",
"@capacitor/haptics": "^4.1.0",
"@capacitor/keyboard": "^4.1.1",
"@capacitor/status-bar": "^4.1.1",
"@ionic/vue": "^6.5.2",
"@ionic/vue-router": "^6.5.2",
"@types/chrome": "^0.0.211",
"core-js": "^3.27.2",
"@ionic/vue": "^7.0.0",
"@ionic/vue-router": "^7.0.0",
"@types/chrome": "^0.0.227",
"core-js": "^3.29.1",
"ethers": "^5.7.2",
"vue": "^3.2.47",
"vue-router": "^4.1.6"
},
"devDependencies": {
"@capacitor/cli": "^4.6.2",
"@capacitor/cli": "^4.7.1",
"@crxjs/vite-plugin": "^1.0.14",
"@types/archiver": "^5.3.1",
"@types/jest": "^29.4.0",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"@vitejs/plugin-vue": "^4.0.0",
"@types/archiver": "^5.3.2",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"@vitejs/plugin-vue": "^4.1.0",
"@vue/eslint-config-typescript": "^11.0.2",
"archiver": "^5.3.1",
"eslint": "^8.33.0",
"eslint-plugin-vue": "^9.9.0",
"eslint": "^8.37.0",
"eslint-plugin-vue": "^9.10.0",
"http-browserify": "^1.7.0",
"https-browserify": "^1.0.0",
"jest": "^29.4.1",
"jest": "^29.5.0",
"rollup-plugin-polyfill-node": "^0.12.0",
"sass": "^1.58.0",
"sass": "^1.60.0",
"stream-browserify": "^3.0.0",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "^4.9.5",
"typescript": "^5.0.2",
"util": "^0.12.5",
"vite": "^4.1.1",
"vue-tsc": "^1.0.24",
"vite": "^4.2.1",
"vue-tsc": "^1.2.0",
"yarn-upgrade-all": "^0.7.2"
},
"description": "An Ionic project"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 930 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

View File

@ -3,8 +3,8 @@
"name": "__MSG_appName__",
"description": "__MSG_appDesc__",
"default_locale": "en",
"version": "1.2.5",
"version_name": "1.2.5",
"version": "1.2.6",
"version_name": "1.2.6",
"icons": {
"16": "assets/extension-icon/wallet_16.png",
"32": "assets/extension-icon/wallet_32.png",

View File

@ -62,6 +62,7 @@
cssClass="my-custom-class"
message="Please wait..."
:duration="4000"
:key="`k${loading}`"
@didDismiss="loading = false"
>
</ion-loading>
@ -216,7 +217,7 @@ export default defineComponent({
IonAvatar,
},
setup: () => {
const loading = ref(true);
const loading = ref(false);
const accounts = ref([]) as Ref<Account[]>;
const networks = ref({}) as Ref<Networks>;
const accountsModal = ref(false) as Ref<boolean>;
@ -228,6 +229,7 @@ export default defineComponent({
const getToastRef = () => toastState;
const loadData = () => {
loading.value = true;
const pAccounts = getAccounts();
const pNetworks = getNetworks();
const pSelectedAccount = getSelectedAccount();

View File

@ -190,6 +190,7 @@
cssClass="my-custom-class"
message="Please wait..."
:duration="4000"
:key="`k${loading}`"
@didDismiss="loading = false"
>
</ion-loading>
@ -452,7 +453,6 @@ export default defineComponent({
}
return a;
});
accProm.forEach((a) => a.catch((e) => console.log(e)));
accounts = await Promise.all(accProm);
await replaceAccounts(accounts);
await saveSelectedAccount(accounts[0]);
@ -464,7 +464,6 @@ export default defineComponent({
mpConfirm.value = "";
mpModal.value = false;
} catch (error) {
console.log(error);
loading.value = false;
alertHeader.value = "Error";
alertMsg.value = "Decryption failed, password is not correct.";

1398
yarn.lock

File diff suppressed because it is too large Load Diff