@mastra/auth-better-auth 1.1.6-alpha.0 → 1.1.6
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MastraBase } from '../_types/@internal_core/dist/base/index.
|
|
1
|
+
import { MastraBase } from '../_types/@internal_core/dist/base/index.js';
|
|
2
2
|
import type { CredentialsResult, IAuthHttpHandler, IAuthInit, ICredentialsProvider, IOrganizationsProvider, ISSOProvider, ISessionProvider, IUserProvider, Session, SSOCallbackResult, SSOLoginConfig, User } from '..';
|
|
3
3
|
import type { AuthorizeUserFn, MastraAuthConfig, MastraAuthRequest } from '../types/index.js';
|
|
4
4
|
export interface MastraAuthProviderOptions<TUser = unknown> {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"module"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { AuthInitContext, IAuthHttpHandler, IAuthInit, ICredentialsProvider, IOrganizationsProvider, IUserProvider, CredentialsResult, MastraAuthRequest } from './_types/@internal_auth/dist/index.
|
|
2
|
-
import type { EEUser } from './_types/@internal_auth/dist/ee/index.
|
|
3
|
-
import type { MastraAuthProviderOptions } from './_types/@internal_auth/dist/provider/index.
|
|
4
|
-
import { MastraAuthProvider } from './_types/@internal_auth/dist/provider/index.
|
|
1
|
+
import type { AuthInitContext, IAuthHttpHandler, IAuthInit, ICredentialsProvider, IOrganizationsProvider, IUserProvider, CredentialsResult, MastraAuthRequest } from './_types/@internal_auth/dist/index.js';
|
|
2
|
+
import type { EEUser } from './_types/@internal_auth/dist/ee/index.js';
|
|
3
|
+
import type { MastraAuthProviderOptions } from './_types/@internal_auth/dist/provider/index.js';
|
|
4
|
+
import { MastraAuthProvider } from './_types/@internal_auth/dist/provider/index.js';
|
|
5
5
|
import type { Auth, Session, User } from 'better-auth';
|
|
6
6
|
/**
|
|
7
7
|
* User type returned by Better Auth session verification.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/auth-better-auth",
|
|
3
|
-
"version": "1.1.6
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "Mastra Better Auth integration - self-hosted authentication",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"tsdown": "0.22.9",
|
|
35
35
|
"typescript": "^7.0.2",
|
|
36
36
|
"vitest": "4.1.11",
|
|
37
|
-
"@internal/auth": "0.0.
|
|
38
|
-
"@internal/types-builder": "0.0.
|
|
39
|
-
"@internal/lint": "0.0.
|
|
37
|
+
"@internal/auth": "0.0.24",
|
|
38
|
+
"@internal/types-builder": "0.0.109",
|
|
39
|
+
"@internal/lint": "0.0.134"
|
|
40
40
|
},
|
|
41
41
|
"files": [
|
|
42
42
|
"dist"
|