Skip to content

Commit

Permalink
Taquito updated + Tezos storage refactored
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanAllaire committed Apr 29, 2024
1 parent fd5c9fb commit b385ecb
Show file tree
Hide file tree
Showing 3 changed files with 727 additions and 200 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"@baking-bad/vjsf": "^1.20.11",
"@braintree/sanitize-url": "^6.0.0",
"@mavrykdynamics/beacon-sdk": "3.3.2",
"@mavrykdynamics/taquito": "17.3.2",
"@mavrykdynamics/taquito-beacon-wallet": "17.3.2",
"@mavrykdynamics/taquito": "19.2.3",
"@mavrykdynamics/taquito-beacon-wallet": "19.2.3",
"@sentry/tracing": "^6.19.2",
"@sentry/vue": "^6.19.2",
"async-wait-until": "^2.0.12",
Expand Down
8 changes: 4 additions & 4 deletions src/components/ValueInspector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
</v-btn>

<v-btn
v-if="isTezosStorage"
v-if="isMavrykStorage"
text
small
link
Expand Down Expand Up @@ -120,9 +120,9 @@ export default {
isIpfsURI() {
return this.hasProtocol(this.value, "ipfs:");
},
isTezosStorage() {
return this.hasProtocol(this.value, "tezos-storage:") &&
checkAddress(this.value.slice("tezos-storage://".length));
isMavrykStorage() {
return this.hasProtocol(this.value, "mavryk-storage:") &&
checkAddress(this.value.slice("mavryk-storage://".length));
},
isAddress() {
return (this.prim === "address" || this.prim === "contract");
Expand Down
Loading

0 comments on commit b385ecb

Please sign in to comment.