namecheap.domains.dns.getHosts returns 'namecheap.domains.dns.getHosts' as a string instead of the full response. The problem seems to be a line in instance.command function (Line 597)
You should change line 596 from namecheap.js from res = res ? res[Object.keys(res)[0]] : undefined; to res = res ? res[Object.keys(res)[1]] : undefined;
namecheap.domains.dns.getHosts
returns 'namecheap.domains.dns.getHosts' as a string instead of the full response. The problem seems to be a line ininstance.command
function (Line 597)