@live-change/dao 0.5.9 → 0.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -419,7 +419,8 @@ class ReactiveServerConnection extends EventEmitter {
419
419
 
420
420
  if(this.settings.fastAuth) {
421
421
  try {
422
- this.handleDaoPromise(this.daoFactory(this.credentials, this.connection, this))
422
+ const promise = this.daoFactory(this.credentials, this.connection, this)
423
+ if(promise) this.handleDaoPromise(promise)
423
424
  } catch(error) {
424
425
  return this.handleDaoFactoryError(error)
425
426
  }
package/package.json CHANGED
@@ -35,6 +35,6 @@
35
35
  "scripts": {
36
36
  "test": "NODE_ENV=test blue-tape tests/*"
37
37
  },
38
- "version": "0.5.9",
39
- "gitHead": "b4fc670f10aa369feb0c371c976464b246e87e9d"
38
+ "version": "0.5.10",
39
+ "gitHead": "e6d34de6aa53390b8b5e5d78fe6493db6db6f3b2"
40
40
  }