diff --git a/copay.js b/copay.js index d68d1cfb1..35a492730 100644 --- a/copay.js +++ b/copay.js @@ -3,6 +3,8 @@ module.exports.PublicKeyRing = require('./js/models/core/PublicKeyRing'); module.exports.TxProposals = require('./js/models/core/TxProposals'); module.exports.PrivateKey = require('./js/models/core/PrivateKey'); +module.exports.Passphrase = require('./js/models/core/Passphrase'); + // components var WebRTC = module.exports.WebRTC = require('./js/models/network/WebRTC'); diff --git a/index.html b/index.html index 83e6fec3d..867ae98db 100644 --- a/index.html +++ b/index.html @@ -589,6 +589,7 @@ + diff --git a/js/app.js b/js/app.js index d146ce544..060a2103c 100644 --- a/js/app.js +++ b/js/app.js @@ -22,6 +22,7 @@ var copayApp = window.copayApp = angular.module('copay',[ 'copay.video', 'copay.import', 'copay.password', + 'copay.passphrase' ]); angular.module('copay.header', []); @@ -39,4 +40,5 @@ angular.module('copay.directives', []); angular.module('copay.video', []); angular.module('copay.import', []); angular.module('copay.password', []); +angular.module('copay.passphrase', []); diff --git a/util/build.js b/util/build.js index 5cd7a3d7a..fd587da26 100755 --- a/util/build.js +++ b/util/build.js @@ -68,7 +68,9 @@ var createBundle = function(opts) { b.require('./js/models/core/PublicKeyRing', { expose: '../js/models/core/PublicKeyRing' }); - + b.require('./js/models/core/Passphrase', { + expose: '../js/models/core/Passphrase' + }); if (!opts.dontminify) { b.transform({