22var bwcModule = angular.module('bwcModule', []);
33var Client = require('bitcore-wallet-client');
44
5- bwcModule.constant('MODULE_VERSION', '1.1.0 ');
5+ bwcModule.constant('MODULE_VERSION', '1.1.1 ');
66
77bwcModule.provider("bwcService", function() {
88 var provider = {};
@@ -134,14 +134,15 @@ API.privateKeyEncryptionOpts = {
134134
135135API.prototype.initNotifications = function(cb) {
136136 log.warn('DEPRECATED: use initialize() instead.');
137- this.initialize(cb);
137+ this.initialize({}, cb);
138138};
139139
140- API.prototype.initialize = function(cb) {
140+ API.prototype.initialize = function(opts, cb) {
141141 $.checkState(this.credentials);
142142
143143 var self = this;
144- self._initNotifications();
144+
145+ self._initNotifications(opts);
145146 return cb();
146147};
147148
@@ -198,6 +199,8 @@ API.prototype._initNotifications = function(opts) {
198199};
199200
200201API.prototype._disposeNotifications = function() {
202+ var self = this;
203+
201204 if (self.notificationsIntervalId) {
202205 clearInterval(self.notificationsIntervalId);
203206 self.notificationsIntervalId = null;
@@ -81084,7 +81087,7 @@ module.exports={
8108481087 "gitHead": "fb1456177c9b51445afa34656eb314c70c2adcd2",
81085810888108681089 "_shasum": "d4ce661075e5fddb7f20341d3f9931a6fbbadde0",
81087- "_from": "tough-cookie@>=2.2.0 <2.3 .0",
81090+ "_from": "tough-cookie@>=0.12 .0",
8108881091 "_npmVersion": "2.11.2",
8108981092 "_nodeVersion": "0.12.5",
8109081093 "_npmUser": {
@@ -82860,7 +82863,7 @@ module.exports={
8286082863 "author": {
8286182864 "name": "BitPay Inc"
8286282865 },
82863- "version": "1.1.0 ",
82866+ "version": "1.1.1 ",
8286482867 "license": "MIT",
8286582868 "keywords": [
8286682869 "bitcoin",
@@ -82872,7 +82875,7 @@ module.exports={
8287282875 ],
8287382876 "main": "index.js",
8287482877 "repository": {
82875- "url": "git+ssh://git @github.com/ bitpay/bitcore-wallet-client.git",
82878+ "url": "
[email protected] : bitpay/bitcore-wallet-client.git",
8287682879 "type": "git"
8287782880 },
8287882881 "bugs": {
@@ -82921,16 +82924,15 @@ module.exports={
82921829248292282925 }
8292382926 ],
82924- "gitHead": "5b1f7def4231a94be6320611444657559b69b3bd",
82925- "homepage": "https://github.com/bitpay/bitcore-wallet-client#readme",
82926- 82927- "_shasum": "89dbfdaec0611fe9c12618757e3c3befeea265cf",
82928- 82929- "_npmVersion": "2.11.3",
82930- "_nodeVersion": "0.12.7",
82927+ "gitHead": "ebb0530dc203dc639c13baa280c4e8f50dec0db7",
82928+ "homepage": "https://github.com/bitpay/bitcore-wallet-client",
82929+ 82930+ "_shasum": "ab691583f309a491c13725fba1c9eb532c69e2d9",
82931+ 82932+ "_npmVersion": "1.4.28",
8293182933 "_npmUser": {
82932- "name": "ematiu ",
82933- "email": "ematiu @gmail.com"
82934+ "name": "isocolsky ",
82935+ "email": "jungans @gmail.com"
8293482936 },
8293582937 "maintainers": [
8293682938 {
@@ -82947,12 +82949,11 @@ module.exports={
8294782949 }
8294882950 ],
8294982951 "dist": {
82950- "shasum": "89dbfdaec0611fe9c12618757e3c3befeea265cf ",
82951- "tarball": "http://registry.npmjs.org/bitcore-wallet-client/-/bitcore-wallet-client-1.1.0 .tgz"
82952+ "shasum": "ab691583f309a491c13725fba1c9eb532c69e2d9 ",
82953+ "tarball": "http://registry.npmjs.org/bitcore-wallet-client/-/bitcore-wallet-client-1.1.1 .tgz"
8295282954 },
8295382955 "directories": {},
82954- "_resolved": "https://registry.npmjs.org/bitcore-wallet-client/-/bitcore-wallet-client-1.1.0.tgz",
82955- "readme": "ERROR: No README data found!"
82956+ "_resolved": "https://registry.npmjs.org/bitcore-wallet-client/-/bitcore-wallet-client-1.1.1.tgz"
8295682957}
8295782958
8295882959},{}],281:[function(require,module,exports){
0 commit comments