@starport/vuex
Advanced tools
Comparing version 0.1.15 to 0.1.16
{ | ||
"name": "@starport/vuex", | ||
"version": "0.1.15", | ||
"version": "0.1.16", | ||
"description": "A library of Vuex 4 (for Vue 3) standard store modules for state management of cosmos-sdk chains' frontends", | ||
@@ -5,0 +5,0 @@ "author": "Tendermint, Inc <hello@tendermint.com>", |
@@ -110,3 +110,3 @@ import { | ||
try { | ||
await dispatch('chain/common/env/signIn', accountSigner) | ||
await dispatch('chain/common/env/signIn', accountSigner, {root:true}) | ||
let client = rootGetters['chain/common/env/signingClient'] | ||
@@ -135,3 +135,3 @@ commit('SET_ACTIVE_CLIENT', client) | ||
try { | ||
await dispatch('chain/common/env/signIn', accountSigner) | ||
await dispatch('chain/common/env/signIn', accountSigner, {root:true}) | ||
let client = rootGetters['chain/common/env/signingClient'] | ||
@@ -184,3 +184,3 @@ commit('SET_ACTIVE_CLIENT', client) | ||
try { | ||
await dispatch('chain/common/env/signIn', accountSigner) | ||
await dispatch('chain/common/env/signIn', accountSigner, {root:true}) | ||
let client = rootGetters['chain/common/env/signingClient'] | ||
@@ -216,3 +216,3 @@ commit('SET_ACTIVE_CLIENT', client) | ||
try { | ||
await dispatch('chain/common/env/signIn', accountSigner) | ||
await dispatch('chain/common/env/signIn', accountSigner, {root:true}) | ||
@@ -258,3 +258,3 @@ let client = rootGetters['chain/common/env/signingClient'] | ||
try { | ||
await dispatch('chain/common/env/signIn', accountSigner) | ||
await dispatch('chain/common/env/signIn', accountSigner, {root:true}) | ||
@@ -261,0 +261,0 @@ let client = rootGetters['chain/common/env/signingClient'] |
@@ -17,8 +17,3 @@ import bank from './bank.js' | ||
} | ||
if (mutation.type == 'chain/common/wallet/SET_ACTIVE_CLIENT') { | ||
store.dispatch('chain/cosmos/cosmos-sdk/bank/registerTypes', null, { | ||
root: true | ||
}) | ||
} | ||
}) | ||
} |
@@ -17,8 +17,3 @@ import blog from './blog.js' | ||
} | ||
if (mutation.type == 'chain/common/wallet/SET_ACTIVE_CLIENT') { | ||
store.dispatch('chain/foo/bar/blog/registerTypes', null, { | ||
root: true | ||
}) | ||
} | ||
}) | ||
} |
49747
1388