UNPKG

@quirks/store

Version:
18 lines (17 loc) 430 B
import { assertIsDefined as o } from "@quirks/core"; import { store as a } from "./index2.js"; const i = (s, e) => { const t = a.getState().wallets.find( (n) => n.options.wallet_name === s ); return o(t), t.suggestChains(e); }, c = (s, e) => { const t = a.getState().wallets.find( (n) => n.options.wallet_name === s ); return o(t), t.suggestTokens(e); }; export { i as suggestChains, c as suggestTokens };