@meistrari/auth-core 1.4.7 → 1.5.1
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.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -188,6 +188,7 @@ type JWTTokenPayload = JWTPayload & {
|
|
|
188
188
|
id: string;
|
|
189
189
|
title: string;
|
|
190
190
|
};
|
|
191
|
+
sessionKey: string;
|
|
191
192
|
};
|
|
192
193
|
|
|
193
194
|
declare function createAPIClient(apiUrl: string, fetchOptions?: BetterFetchOption): {
|
|
@@ -6000,7 +6001,7 @@ type GetOrganizationOptions = {
|
|
|
6000
6001
|
includeInvitations?: boolean;
|
|
6001
6002
|
includeTeams?: boolean;
|
|
6002
6003
|
};
|
|
6003
|
-
type UpdateOrganizationPayload = Pick<ExtendedOrganization, 'name' | 'logo' | 'settings'
|
|
6004
|
+
type UpdateOrganizationPayload = Partial<Pick<ExtendedOrganization, 'name' | 'logo' | 'settings'>>;
|
|
6004
6005
|
type ListMembersOptions = {
|
|
6005
6006
|
limit?: number;
|
|
6006
6007
|
offset?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ type JWTTokenPayload = JWTPayload & {
|
|
|
188
188
|
id: string;
|
|
189
189
|
title: string;
|
|
190
190
|
};
|
|
191
|
+
sessionKey: string;
|
|
191
192
|
};
|
|
192
193
|
|
|
193
194
|
declare function createAPIClient(apiUrl: string, fetchOptions?: BetterFetchOption): {
|
|
@@ -6000,7 +6001,7 @@ type GetOrganizationOptions = {
|
|
|
6000
6001
|
includeInvitations?: boolean;
|
|
6001
6002
|
includeTeams?: boolean;
|
|
6002
6003
|
};
|
|
6003
|
-
type UpdateOrganizationPayload = Pick<ExtendedOrganization, 'name' | 'logo' | 'settings'
|
|
6004
|
+
type UpdateOrganizationPayload = Partial<Pick<ExtendedOrganization, 'name' | 'logo' | 'settings'>>;
|
|
6004
6005
|
type ListMembersOptions = {
|
|
6005
6006
|
limit?: number;
|
|
6006
6007
|
offset?: number;
|
package/dist/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { createAccessControl } from 'better-auth/plugins/access';
|
|
|
6
6
|
import { defaultStatements } from 'better-auth/plugins/organization/access';
|
|
7
7
|
export { BetterFetchError as APIError } from '@better-fetch/fetch';
|
|
8
8
|
|
|
9
|
-
const version = "1.
|
|
9
|
+
const version = "1.5.1";
|
|
10
10
|
|
|
11
11
|
const statements = {
|
|
12
12
|
...defaultStatements,
|