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 # Changelog
## Manifest Version 1.2.6
- upgrade ionic to v7 and update dependencies
## Manifest Version 1.2.5 ## Manifest Version 1.2.5
- improve post build script - improve post build script

View File

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

View File

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

View File

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

1398
yarn.lock

File diff suppressed because it is too large Load Diff