@tinacms/datalayer 1.3.9 → 1.3.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.
package/dist/index.js CHANGED
@@ -119,6 +119,7 @@ function MakeNodeApiHandler({
119
119
  const result = await databaseClient.request({
120
120
  query,
121
121
  variables,
122
+ // @ts-ignore
122
123
  user: (_a2 = req2 == null ? void 0 : req2.session) == null ? void 0 : _a2.user
123
124
  });
124
125
  res2.statusCode = 200;
package/dist/index.mjs CHANGED
@@ -94,6 +94,7 @@ function MakeNodeApiHandler({
94
94
  const result = await databaseClient.request({
95
95
  query,
96
96
  variables,
97
+ // @ts-ignore
97
98
  user: req2?.session?.user
98
99
  });
99
100
  res2.statusCode = 200;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/datalayer",
3
- "version": "1.3.9",
3
+ "version": "1.3.10",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "typings": "dist/index",
@@ -10,14 +10,14 @@
10
10
  ],
11
11
  "exports": {
12
12
  ".": {
13
+ "types": "./dist/index.d.ts",
13
14
  "import": "./dist/index.mjs",
14
- "require": "./dist/index.js",
15
- "types": "./dist/index.d.ts"
15
+ "require": "./dist/index.js"
16
16
  },
17
17
  "./dist/*": {
18
+ "types": "./dist/*.d.ts",
18
19
  "import": "./dist/*.mjs",
19
- "require": "./dist/*.js",
20
- "types": "./dist/*.d.ts"
20
+ "require": "./dist/*.js"
21
21
  }
22
22
  },
23
23
  "license": "SEE LICENSE IN LICENSE",
@@ -31,7 +31,7 @@
31
31
  ]
32
32
  },
33
33
  "dependencies": {
34
- "@tinacms/graphql": "1.5.9"
34
+ "@tinacms/graphql": "1.5.10"
35
35
  },
36
36
  "publishConfig": {
37
37
  "registry": "https://registry.npmjs.org"