From 65ca4e0e3da78358cc0ca5c4184279a599a7134a Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Thu, 26 Jul 2018 14:03:35 +0100 Subject: [PATCH] Add ipns resolve --- lib/modules/ipfs/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/modules/ipfs/index.js b/lib/modules/ipfs/index.js index b870ef0e..7c1fa449 100644 --- a/lib/modules/ipfs/index.js +++ b/lib/modules/ipfs/index.js @@ -113,6 +113,7 @@ class IPFS { let code = ""; code += "\n" + fs.readFileSync(utils.joinPath(__dirname, 'embarkjs', 'storage.js')).toString(); code += "\nEmbarkJS.Storage.registerProvider('ipfs', __embarkIPFS);"; + code += "\nEmbarkJS.Names.registerProvider('ipns', __embarkIPFS);"; this.embark.addCodeToEmbarkJS(code); }