vue-3-useeosiowallet
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -47,3 +47,3 @@ import { computed, ref } from 'vue'; | ||
if (!isAuthenticated.value) | ||
throw new Error('Logout failed: No wallet connected.'); | ||
throw new Error('Transaction canceled: No wallet connected.'); | ||
switch (selectedWallet.value) { | ||
@@ -50,0 +50,0 @@ case Wallet.Anchor: |
@@ -22,2 +22,3 @@ import { ScatterJS, ScatterEOS } from 'scatter-ts'; | ||
throw new Error('Scatter Network not found.'); | ||
console.log(network.fullhost()); | ||
const rpc = new JsonRpc(network.fullhost()); | ||
@@ -24,0 +25,0 @@ const eos = ScatterJS.eos(network, Api, { rpc }); |
{ | ||
"name": "vue-3-useeosiowallet", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -54,3 +54,3 @@ import { computed, ref } from 'vue'; | ||
throw new Error('Transaction Failed: Eosio wallet setup required. Please use setup() function first.'); | ||
if (!isAuthenticated.value) throw new Error('Logout failed: No wallet connected.'); | ||
if (!isAuthenticated.value) throw new Error('Transaction canceled: No wallet connected.'); | ||
@@ -57,0 +57,0 @@ switch (selectedWallet.value) { |
@@ -27,2 +27,3 @@ import { ScatterJS, ScatterEOS, Network } from 'scatter-ts'; | ||
if (!network) throw new Error('Scatter Network not found.'); | ||
console.log(network.fullhost()); | ||
const rpc = new JsonRpc(network.fullhost()); | ||
@@ -29,0 +30,0 @@ const eos = ScatterJS.eos(network, Api as any, { rpc }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44169
712