@webiny/handler-db 5.17.4-beta.1 → 5.18.0-beta.2

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.
package/index.js CHANGED
@@ -19,5 +19,4 @@ var _default = args => {
19
19
  })];
20
20
  };
21
21
 
22
- exports.default = _default;
23
- //# sourceMappingURL=index.js.map
22
+ exports.default = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/handler-db",
3
- "version": "5.17.4-beta.1",
3
+ "version": "5.18.0-beta.2",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -11,15 +11,15 @@
11
11
  "author": "Webiny Ltd.",
12
12
  "dependencies": {
13
13
  "@babel/runtime": "7.16.3",
14
- "@webiny/db": "5.17.4-beta.1",
15
- "@webiny/handler": "5.17.4-beta.1"
14
+ "@webiny/db": "5.18.0-beta.2",
15
+ "@webiny/handler": "5.18.0-beta.2"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@babel/cli": "^7.5.5",
19
19
  "@babel/core": "^7.5.5",
20
20
  "@babel/preset-env": "^7.5.5",
21
- "@webiny/cli": "^5.17.4-beta.1",
22
- "@webiny/project-utils": "^5.17.4-beta.1",
21
+ "@webiny/cli": "^5.18.0-beta.2",
22
+ "@webiny/project-utils": "^5.18.0-beta.2",
23
23
  "rimraf": "^3.0.2",
24
24
  "typescript": "^4.1.3"
25
25
  },
@@ -31,5 +31,5 @@
31
31
  "build": "yarn webiny run build",
32
32
  "watch": "yarn webiny run watch"
33
33
  },
34
- "gitHead": "42a79226fee87b18750a72c9d8399f3b32625a9a"
34
+ "gitHead": "02bb6242be1f61cbc204aea458fbc9e7c6000fc8"
35
35
  }
package/types.js CHANGED
@@ -2,5 +2,4 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
- });
6
- //# sourceMappingURL=types.js.map
5
+ });
package/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":["args","ContextPlugin","context","db","Db"],"mappings":";;;;;;;AAAA;;AACA;;eAGeA,IAAI,IAAI;AACnB,SAAO,CACH,IAAIC,4BAAJ,CAA6BC,OAAO,IAAI;AACpC,QAAIA,OAAO,CAACC,EAAZ,EAAgB;AACZ;AACH;;AACDD,IAAAA,OAAO,CAACC,EAAR,GAAa,IAAIC,MAAJ,CAAOJ,IAAP,CAAb;AACH,GALD,CADG,CAAP;AAQH,C","sourcesContent":["import { Db } from \"@webiny/db\";\nimport { ContextPlugin } from \"@webiny/handler/plugins/ContextPlugin\";\nimport { DbContext } from \"./types\";\n\nexport default args => {\n return [\n new ContextPlugin<DbContext>(context => {\n if (context.db) {\n return;\n }\n context.db = new Db(args);\n })\n ];\n};\n"],"file":"index.js"}
package/types.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[],"file":"types.js"}