@feathersjs/primus-client
Advanced tools
Comparing version 4.3.4 to 4.3.5
@@ -6,2 +6,13 @@ # Change Log | ||
## [4.3.5](https://github.com/feathersjs/feathers/compare/v4.3.4...v4.3.5) (2019-10-07) | ||
### Bug Fixes | ||
* Change this reference in client libraries to explicitly passed app ([#1597](https://github.com/feathersjs/feathers/issues/1597)) ([4e4d10a](https://github.com/feathersjs/feathers/commit/4e4d10a)) | ||
## [4.3.4](https://github.com/feathersjs/feathers/compare/v4.3.3...v4.3.4) (2019-10-03) | ||
@@ -8,0 +19,0 @@ |
@@ -16,9 +16,9 @@ const Service = require('@feathersjs/transport-commons/client'); | ||
const initialize = function () { | ||
if (typeof this.defaultService === 'function') { | ||
const initialize = function (app) { | ||
if (typeof app.defaultService === 'function') { | ||
throw new Error('Only one default client provider can be configured'); | ||
} | ||
this.primus = connection; | ||
this.defaultService = defaultService; | ||
app.primus = connection; | ||
app.defaultService = defaultService; | ||
}; | ||
@@ -25,0 +25,0 @@ |
{ | ||
"name": "@feathersjs/primus-client", | ||
"description": "Client services for Primus and feathers-primus", | ||
"version": "4.3.4", | ||
"version": "4.3.5", | ||
"homepage": "https://feathersjs.com", | ||
@@ -44,3 +44,3 @@ "main": "lib/index.js", | ||
"@feathersjs/feathers": "^4.3.4", | ||
"@feathersjs/primus": "^4.3.4", | ||
"@feathersjs/primus": "^4.3.5", | ||
"@feathersjs/tests": "^4.3.4", | ||
@@ -52,3 +52,3 @@ "chai": "^4.2.0", | ||
}, | ||
"gitHead": "54cc42a089447564dafcf652c623cfc339e78a52" | ||
"gitHead": "1738fa49bf52af490f1fc87d96a29e1b7985a7ac" | ||
} |
13135