Skip to content

Commit

Permalink
Bumped up app version to v0.21.2
Browse files Browse the repository at this point in the history
  • Loading branch information
joemarct committed Dec 15, 2024
1 parent ab02cd7 commit c6c4957
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "paytaca",
"version": "0.21.1",
"version": "0.21.2",
"description": "Secure and convenient Bitcoin Cash wallet app",
"productName": "Paytaca",
"author": "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion src-bex/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Paytaca",
"description": "Secure and convenient Bitcoin Cash wallet app",
"version": "0.21.1",
"version": "0.21.2",
"manifest_version": 2,
"icons": {
"16": "icons/icon-16x16.png",
Expand Down
4 changes: 2 additions & 2 deletions src-capacitor/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "com.paytaca.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 103
versionName "v0.21.1"
versionCode 104
versionName "v0.21.2"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
Expand Down
8 changes: 4 additions & 4 deletions src-capacitor/ios/App/App.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -364,12 +364,12 @@
CODE_SIGN_ENTITLEMENTS = App/App.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 193;
CURRENT_PROJECT_VERSION = 197;
DEVELOPMENT_TEAM = 89X576BZBF;
INFOPLIST_FILE = App/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 0.21.1;
MARKETING_VERSION = 0.21.2;
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" \"-DDEBUG\"";
PRODUCT_BUNDLE_IDENTIFIER = com.paytaca.app;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -387,12 +387,12 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = App/AppRelease.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 193;
CURRENT_PROJECT_VERSION = 197;
DEVELOPMENT_TEAM = 89X576BZBF;
INFOPLIST_FILE = App/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 0.21.1;
MARKETING_VERSION = 0.21.2;
PRODUCT_BUNDLE_IDENTIFIER = com.paytaca.app;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "";
Expand Down
4 changes: 2 additions & 2 deletions src-capacitor/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-capacitor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "paytaca",
"version": "0.21.1",
"version": "0.21.2",
"description": "Secure and convenient Bitcoin Cash wallet app",
"author": "[email protected]",
"private": true,
Expand Down
4 changes: 2 additions & 2 deletions src/components/walletconnect/WalletConnectV2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,6 @@ watchEffect(() => {
})
onBeforeMount(async () => {
loading.value = 'Loading...'
await $store.dispatch('global/loadWalletLastAddressIndex')
await $store.dispatch('global/loadWalletAddresses')
await $store.dispatch('global/loadWalletConnectedApps')
Expand All @@ -908,6 +907,7 @@ onBeforeMount(async () => {
onMounted(async () => {
try {
loading.value = 'Loading...'
await loadWeb3Wallet()
attachEventListeners(web3Wallet.value)
if (Object.keys($store.getters['global/lastAddressAndIndex'] || {}).length === 0) {
Expand All @@ -920,7 +920,7 @@ onMounted(async () => {
await $store.dispatch('global/loadWalletAddresses')
}
walletAddresses.value = $store.getters['global/walletAddresses']
} catch (error) { loading.value = undefined }
} catch (error) {} finally { loading.value = undefined}
})
onUnmounted(() => {
Expand Down
6 changes: 3 additions & 3 deletions src/wallet/walletconnect2/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ import BCHJS from '@psf/bch-js';

const bchjs = new BCHJS()
export const walletConnect2Core = new Core({
projectId: 'b7c10b6ffc9f3911c913020d9fbb2d51',
projectId: process.env.WALLETCONNECT_PROJECT_ID,
})

let _web3wallet
/**
* @returns {Promise<import('@walletconnect/web3wallet').IWeb3Wallet>}
*/
export async function initWeb3Wallet(opts={forceCreate: false}) {
export async function initWeb3Wallet(opts={forceCreate: true}) {
if (!_web3wallet || opts?.forceCreate) {
_web3wallet = await Web3Wallet.init({
core: walletConnect2Core,
metadata: {
name: 'Paytaca',
description: 'Paytaca - BCH Wallet App',
url: 'www.paytaca.com',
url: 'https://www.paytaca.com',
icons: ['https://walletconnect.org/walletconnect-logo.png'],
}
})
Expand Down

0 comments on commit c6c4957

Please sign in to comment.