tinacms-authjs 0.0.0-a6daef4-20250115020754 → 0.0.0-ab43169-20250401070153

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.d.ts CHANGED
@@ -24,4 +24,4 @@ declare const TinaCredentialsProvider: ({ databaseClient, name, }: {
24
24
  declare const AuthJsBackendAuthProvider: ({ authOptions, }: {
25
25
  authOptions: AuthOptions;
26
26
  }) => BackendAuthProvider;
27
- export { TinaCredentialsProvider, TinaAuthJSOptions, AuthJsBackendAuthProvider };
27
+ export { TinaCredentialsProvider, TinaAuthJSOptions, AuthJsBackendAuthProvider, };
package/dist/index.js CHANGED
@@ -27,13 +27,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
27
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
28
 
29
29
  // src/index.ts
30
- var src_exports = {};
31
- __export(src_exports, {
30
+ var index_exports = {};
31
+ __export(index_exports, {
32
32
  AuthJsBackendAuthProvider: () => AuthJsBackendAuthProvider,
33
33
  TinaAuthJSOptions: () => TinaAuthJSOptions,
34
34
  TinaCredentialsProvider: () => TinaCredentialsProvider
35
35
  });
36
- module.exports = __toCommonJS(src_exports);
36
+ module.exports = __toCommonJS(index_exports);
37
37
  var import_next_auth = __toESM(require("next-auth"));
38
38
  var import_credentials = __toESM(require("next-auth/providers/credentials"));
39
39
  var import_next = require("next-auth/next");
@@ -88,7 +88,6 @@ var TinaAuthJSOptions = ({
88
88
  return jwt;
89
89
  },
90
90
  session: async ({ session, token: jwt }) => {
91
- ;
92
91
  session.user.role = jwt.role;
93
92
  session.user.passwordChangeRequired = jwt.passwordChangeRequired;
94
93
  session.user[uidProp] = jwt[uidProp];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tinacms-authjs",
3
- "version": "0.0.0-a6daef4-20250115020754",
3
+ "version": "0.0.0-ab43169-20250401070153",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "files": [
@@ -18,24 +18,24 @@
18
18
  ]
19
19
  },
20
20
  "dependencies": {
21
- "@tinacms/schema-tools": "1.7.0"
21
+ "@tinacms/schema-tools": "0.0.0-ab43169-20250401070153"
22
22
  },
23
23
  "devDependencies": {
24
24
  "next": "14.2.10",
25
25
  "next-auth": "4.24.7",
26
26
  "react": "^18.3.1",
27
27
  "react-dom": "^18.3.1",
28
- "typescript": "^5.6.3",
29
- "@tinacms/scripts": "1.3.1",
30
- "@tinacms/datalayer": "0.0.0-a6daef4-20250115020754",
31
- "tinacms": "0.0.0-a6daef4-20250115020754"
28
+ "typescript": "^5.7.3",
29
+ "@tinacms/scripts": "0.0.0-ab43169-20250401070153",
30
+ "@tinacms/datalayer": "0.0.0-ab43169-20250401070153",
31
+ "tinacms": "0.0.0-ab43169-20250401070153"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "next": "^12.2.5 || ^13 || ^14",
35
35
  "next-auth": "^4.22.1",
36
36
  "react": "^17.0.2 || ^18",
37
37
  "react-dom": "^17.0.2 || ^18",
38
- "tinacms": "0.0.0-a6daef4-20250115020754"
38
+ "tinacms": "0.0.0-ab43169-20250401070153"
39
39
  },
40
40
  "publishConfig": {
41
41
  "registry": "https://registry.npmjs.org"