diff --git a/.env.development b/.env.development index 35e06cf9..93ce2a5a 100644 --- a/.env.development +++ b/.env.development @@ -1,21 +1,5 @@ -#VITE_API_COSMOS="https://cardchain.crowdcontrol.network/cosmos/" -#VITE_WS_TENDERMINT="https://cardchain.crowdcontrol.network/tendermint/" -#VITE_APP_FAUCET="https://cardchain.crowdcontrol.network/faucet/claimTokens" - -VITE_APP_FAUCET_SITEKEY="ea68532a-a9e6-4f99-9361-db90a3071b72" -VITE_APP_ADDRESS_PREFIX=cc VITE_APP_CHAIN_ID="carddevnet-2" -VITE_APP_CHAIN_NAME="Cardchain" -VITE_APP_CARDIMG_MAXKB=500 -VITE_APP_CARDIMG_SIZE_X=840 -VITE_APP_CARDIMG_SIZE_Y=1300 -VITE_APP_UCREDITS_FACTOR=1000000 -NODE_VERSION=v18.17.1 - -#VITE_API_COSMOS_FALLBACK=https://cardchain2.crowdcontrol.network/cosmos/ -#VITE_WS_TENDERMINT_FALLBACK=https://cardchain2.crowdcontrol.network/tendermint/ -#VITE_APP_FAUCET_FALLBACK=https://cardchain2.crowdcontrol.network/faucet/claimTokens -#VITE_API_COSMOS="http://lxgr.xyz:1317" -#VITE_WS_TENDERMINT="http://lxgr.xyz:26657" -#VITE_APP_FAUCET="http://lxgr.xyz:4500/claimTokens" +VITE_API_COSMOS="http://lxgr.xyz:1317" +VITE_WS_TENDERMINT="http://lxgr.xyz:26657" +VITE_APP_FAUCET="http://lxgr.xyz:4500/claimTokens" diff --git a/package-lock.json b/package-lock.json index edba94ac..3ec35f15 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,14 +26,13 @@ "axios": "0.21.4", "bignumber.js": "^9.1.2", "crypto-js": "^4.2.0", - "decentralcardgame-cardchain-client-ts": "^0.0.27", + "decentralcardgame-cardchain-client-ts": "^0.0.29", "discord-oauth2": "^2.12.1", "long": "^5.2.3", "merge-images": "^2.0.0", "pinia": "^2.1.7", "process": "^0.11.10", "qrcode": "^1.5.3", - "query-string": "^9.0.0", "ramda": "^0.29.1", "vue": "^3.4.21", "vue-advanced-cropper": "^2.8.8", @@ -2723,9 +2722,9 @@ } }, "node_modules/decentralcardgame-cardchain-client-ts": { - "version": "0.0.27", - "resolved": "https://registry.npmjs.org/decentralcardgame-cardchain-client-ts/-/decentralcardgame-cardchain-client-ts-0.0.27.tgz", - "integrity": "sha512-AJrKVncqOhh0Lpe21dVifUlvIXo7dd5ODeC3p5PjjW1RzEnlT5IYikT6bg2wSpCItAdhaTwXT6jzX1NAWyeMkw==", + "version": "0.0.29", + "resolved": "https://registry.npmjs.org/decentralcardgame-cardchain-client-ts/-/decentralcardgame-cardchain-client-ts-0.0.29.tgz", + "integrity": "sha512-D2DPkGbmb1LBrHLTPkFs6Q0MjjCqDh+qMY9fa89u/BwgFCPVXSPNgZNyWHGTBMKYPcxAi9QP9LRq/Q06KcIMGQ==", "dependencies": { "@cosmjs/amino": "0.29.5", "@cosmjs/proto-signing": "0.27.1", @@ -2789,14 +2788,6 @@ "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.5.tgz", "integrity": "sha512-m7h+RXDUxOzEOGt4P+3OVPX7PuakZT3GBmaM/Y2u+abN3xZkziykD/NvedYFvvCCdQo714XcGl33bwifS9FZPQ==" }, - "node_modules/decode-uri-component": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.4.1.tgz", - "integrity": "sha512-+8VxcR21HhTy8nOt6jf20w0c9CADrw1O8d+VZ/YzzCt4bJ3uBjw+D1q2osAB8RnpwwaeYBxy0HyKQxD5JBMuuQ==", - "engines": { - "node": ">=14.16" - } - }, "node_modules/deep-is": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", @@ -3429,17 +3420,6 @@ "node": ">=8" } }, - "node_modules/filter-obj": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/filter-obj/-/filter-obj-5.1.0.tgz", - "integrity": "sha512-qWeTREPoT7I0bifpPUXtxkZJ1XJzxWtfoWWkdVGqa+eCr3SHW/Ocp89o8vLvbUuQnadybJpjOKu4V+RwO6sGng==", - "engines": { - "node": ">=14.16" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/find-up": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", @@ -5324,22 +5304,6 @@ "node": ">=10.13.0" } }, - "node_modules/query-string": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/query-string/-/query-string-9.0.0.tgz", - "integrity": "sha512-4EWwcRGsO2H+yzq6ddHcVqkCQ2EFUSfDMEjF8ryp8ReymyZhIuaFRGLomeOQLkrzacMHoyky2HW0Qe30UbzkKw==", - "dependencies": { - "decode-uri-component": "^0.4.1", - "filter-obj": "^5.1.0", - "split-on-first": "^3.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/queue-microtask": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", @@ -5829,17 +5793,6 @@ "integrity": "sha512-sh8PWc/ftMqAAdFiBu6Fy6JUOYjqDJBJvIhpfDMyHrr0Rbp5liZqd4TjtQ/RgfLjKFZb+LMx5hpml5qOWy0qvg==", "dev": true }, - "node_modules/split-on-first": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/split-on-first/-/split-on-first-3.0.0.tgz", - "integrity": "sha512-qxQJTx2ryR0Dw0ITYyekNQWpz6f8dGd7vffGNflQQ3Iqj9NJ6qiZ7ELpZsJ/QBhIVAiDfXdag3+Gp8RvWa62AA==", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", diff --git a/package.json b/package.json index f010bfc6..5d3688d7 100644 --- a/package.json +++ b/package.json @@ -17,14 +17,13 @@ "axios": "0.21.4", "bignumber.js": "^9.1.2", "crypto-js": "^4.2.0", - "decentralcardgame-cardchain-client-ts": "^0.0.27", + "decentralcardgame-cardchain-client-ts": "^0.0.29", "discord-oauth2": "^2.12.1", "long": "^5.2.3", "merge-images": "^2.0.0", "pinia": "^2.1.7", "process": "^0.11.10", "qrcode": "^1.5.3", - "query-string": "^9.0.0", "ramda": "^0.29.1", "vue": "^3.4.21", "vue-advanced-cropper": "^2.8.8", @@ -61,8 +60,8 @@ }, "name": "@decentralcardgame/frontend", "scripts": { - "build": "run-p type-check build-only", - "build-only": "vite build", + "build": "run-p type-check && vite build", + "build:dev": "run-p type-check && vite --mode development build", "dev": "vite", "local": "vite --mode localhost", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", diff --git a/src/components/elements/AbilityComponent.vue b/src/components/elements/AbilityComponent.vue index 62fbb3ed..ccf68f5c 100644 --- a/src/components/elements/AbilityComponent.vue +++ b/src/components/elements/AbilityComponent.vue @@ -4,8 +4,10 @@ id="AbilityComponentInside" class="flex flex-row" > -
+