@superhero/db 1.0.1-rc.0 → 1.0.1-rc.1.0

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.
@@ -52,7 +52,7 @@ class AdapterMySql2
52
52
 
53
53
  if(1 === status)
54
54
  {
55
- await operation(connection)
55
+ return await operation(connection)
56
56
  }
57
57
  else if(0 === status)
58
58
  {
package/index.js CHANGED
@@ -38,7 +38,7 @@ class Db
38
38
  {
39
39
  if('lock' in this.adaptor)
40
40
  {
41
- await this.adaptor.lock(...args)
41
+ return await this.adaptor.lock(...args)
42
42
  }
43
43
  else
44
44
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superhero/db",
3
- "version": "1.0.1-rc.0",
3
+ "version": "1.0.1-rc.1.0",
4
4
  "description": "Db interaction, designed to separate queries from the source code",
5
5
  "repository": {
6
6
  "type": "git",