Skip to content

Commit 247de0f

Browse files
committed
Merge pull request #54 from matiu/ver/1.1.1
v111
2 parents a0e0112 + 8202278 commit 247de0f

File tree

5 files changed

+36
-35
lines changed

5 files changed

+36
-35
lines changed

angular-bitcore-wallet-client.js

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
var bwcModule = angular.module('bwcModule', []);
33
var Client = require('bitcore-wallet-client');
44

5-
bwcModule.constant('MODULE_VERSION', '1.1.0');
5+
bwcModule.constant('MODULE_VERSION', '1.1.1');
66

77
bwcModule.provider("bwcService", function() {
88
var provider = {};
@@ -134,14 +134,15 @@ API.privateKeyEncryptionOpts = {
134134

135135
API.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

200201
API.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",
8108581088
8108681089
"_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={
8292182924
"email": "[email protected]"
8292282925
}
8292382926
],
82924-
"gitHead": "5b1f7def4231a94be6320611444657559b69b3bd",
82925-
"homepage": "https://github.com/bitpay/bitcore-wallet-client#readme",
82926-
82927-
"_shasum": "89dbfdaec0611fe9c12618757e3c3befeea265cf",
82928-
"_from": "[email protected]",
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+
"_from": "[email protected]",
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){

angular-bitcore-wallet-client.min.js

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-bitcore-wallet-client",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "AngularJS module for bitcore-wallet-client library",
55
"author": "BitPay Inc",
66
"license": "MIT",

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var bwcModule = angular.module('bwcModule', []);
22
var Client = require('bitcore-wallet-client');
33

4-
bwcModule.constant('MODULE_VERSION', '1.1.0');
4+
bwcModule.constant('MODULE_VERSION', '1.1.1');
55

66
bwcModule.provider("bwcService", function() {
77
var provider = {};

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"description": "AngularJS module for bitcore-wallet-client library",
44
"author": "BitPay Inc",
55
"licence": "MIT",
6-
"version": "1.0.0",
6+
"version": "1.1.1",
77
"main": "index.js",
88
"devDependencies": {
99
"browserify": "^9.0.3",
1010
"uglify": "^0.1.1",
11-
"bitcore-wallet-client": "1.1.0"
11+
"bitcore-wallet-client": "1.1.1"
1212
},
1313
"repository": {
1414
"url": "git://github.com/bitpay/angular-bitcore-wallet-client.git",

0 commit comments

Comments
 (0)