From eab906c719cf4abd4cf342787de50a3b2c0bbc60 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Wed, 11 Jul 2018 12:47:15 -0400 Subject: [PATCH] fix ens by using right addres depending on chain and also add isAvailable --- js/embark.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/embark.js b/js/embark.js index 0f150f5f..c18eded2 100644 --- a/js/embark.js +++ b/js/embark.js @@ -374,6 +374,10 @@ EmbarkJS.Names.lookup = function (identifier, callback) { return this.currentNameSystems.lookup(identifier, callback); }; +EmbarkJS.Names.isAvailable = function () { + return this.currentNameSystems.isAvailable(); +}; + // To Implement