Skip to content

Commit

Permalink
chore: upgrading @kanuto/ns to 0.14.2 (#963)
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Le Ponner <[email protected]>
  • Loading branch information
ericleponner authored Apr 8, 2024
1 parent 8e6835c commit de07f49
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 13 deletions.
8 changes: 4 additions & 4 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
Expand Up @@ -29,7 +29,7 @@
"@hashgraph/proto": "^2.13.0",
"@hashgraph/sdk": "^2.43.0",
"@hedera-name-service/hns-resolution-sdk": "^2.0.11",
"@kabuto-sh/ns": "^0.13.2",
"@kabuto-sh/ns": "^0.14.2",
"@metamask/providers": "^14.0.2",
"@oruga-ui/oruga-next": "^0.7.0",
"@vuepic/vue-datepicker": "^8.4.0",
Expand Down
24 changes: 16 additions & 8 deletions src/components/allowances/ApproveAllowanceSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -151,17 +151,25 @@ export default defineComponent({
}

const editHbarAllowance = (allowance: CryptoAllowance) => {
console.log("Edit Hbar Allowance: " + JSON.stringify(allowance))
currentHbarAllowance.value = allowance
currentTokenAllowance.value = null
showApproveAllowanceDialog.value = true
// console.log("Edit Hbar Allowance: " + JSON.stringify(allowance))
if (walletManager.isHederaWallet.value) {
currentHbarAllowance.value = allowance
currentTokenAllowance.value = null
showApproveAllowanceDialog.value = true
} else {
notWithMetamaskDialogVisible.value = true
}
}

const editTokenAllowance = (allowance: TokenAllowance) => {
console.log("Edit Token Allowance: " + JSON.stringify(allowance))
currentHbarAllowance.value = null
currentTokenAllowance.value = allowance
showApproveAllowanceDialog.value = true
// console.log("Edit Token Allowance: " + JSON.stringify(allowance))
if (walletManager.isHederaWallet.value) {
currentHbarAllowance.value = null
currentTokenAllowance.value = allowance
showApproveAllowanceDialog.value = true
} else {
notWithMetamaskDialogVisible.value = true
}
}

const cleanUpRouteQuery = async () => {
Expand Down

0 comments on commit de07f49

Please sign in to comment.