Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
exports.sendNym = async function(poolHandle, walletHandle, Did, newDid, newKey, role) {
let nymRequest = await sdk.buildNymRequest(Did, newDid, newKey, null, role);
await sdk.signAndSubmitRequest(poolHandle, walletHandle, Did, nymRequest);
};
exports.sendNym = async function(poolHandle, walletHandle, Did, newDid, newKey, role) {
let nymRequest = await indy.buildNymRequest(Did, newDid, newKey, null, role);
await indy.signAndSubmitRequest(poolHandle, walletHandle, Did, nymRequest);
};
exports.sendNym = async function(poolHandle, walletHandle, Did, newDid, newKey, role) {
let nymRequest = await sdk.buildNymRequest(Did, newDid, newKey, null, role);
await sdk.signAndSubmitRequest(poolHandle, walletHandle, Did, nymRequest);
};