Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async values => {
const ticket = values.useShards
? kg.combine([values.shard1, values.shard2, values.shard3])
: values.ticket;
try {
const _contracts = need.contracts(contracts);
const point = patp2dec(values.point);
await timeout(16); // allow ui events to flush
const urbitWallet = await urbitWalletFromTicket(
ticket,
point,
values.passphrase
);
const [isOwner, isTransferProxy] = await Promise.all([
azimuth.azimuth.isOwner(
_contracts,