@spfn/auth 0.2.0-beta.81 → 0.2.0-beta.82

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/README.md CHANGED
@@ -8,7 +8,7 @@ client. Requires `@spfn/core`; Next.js is an optional peer (`^15 || ^16`).
8
8
  ## Install
9
9
 
10
10
  ```bash
11
- pnpm add @spfn/auth
11
+ pnpm add @spfn/auth drizzle-orm@1.0.0-rc.4
12
12
  ```
13
13
 
14
14
  ## Import paths
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as _spfn_core_nextjs from '@spfn/core/nextjs';
2
- import { R as RoleConfig, P as PermissionConfig, S as SendVerificationCodeResult, a as RegisterResult, L as LoginResult, b as RotateKeyResult, I as IssueOneTimeTokenResult, O as OAuthStartResult, c as OAuthNativeResult, U as UserProfile, d as ProfileInfo, m as mainAuthRouter } from './authenticate-ofdEmk6x.js';
3
- export { j as AuthInitOptions, A as AuthSession, h as PERMISSION_CATEGORIES, i as PermissionCategory, g as VERIFICATION_PURPOSES, f as VERIFICATION_TARGET_TYPES, e as VerificationPurpose, V as VerificationTargetType } from './authenticate-ofdEmk6x.js';
2
+ import { R as RoleConfig, P as PermissionConfig, S as SendVerificationCodeResult, a as RegisterResult, L as LoginResult, b as RotateKeyResult, I as IssueOneTimeTokenResult, O as OAuthStartResult, c as OAuthNativeResult, U as UserProfile, d as ProfileInfo, m as mainAuthRouter } from './authenticate-B6CbndRk.js';
3
+ export { j as AuthInitOptions, A as AuthSession, h as PERMISSION_CATEGORIES, i as PermissionCategory, g as VERIFICATION_PURPOSES, f as VERIFICATION_TARGET_TYPES, e as VerificationPurpose, V as VerificationTargetType } from './authenticate-B6CbndRk.js';
4
4
  import * as _spfn_core_route from '@spfn/core/route';
5
5
  import { HttpMethod } from '@spfn/core/route';
6
6
  export { b as ACCOUNT_DELETION_REQUESTED_BY, A as ACCOUNT_DELETION_REQUEST_STATUSES, f as AccountDeletionRequestStatus, g as AccountDeletionRequestedBy, I as INVITATION_STATUSES, c as InvitationStatus, a as KEY_ALGORITHM, K as KeyAlgorithmType, P as PURGE_STRATEGIES, h as PurgeStrategy, S as SOCIAL_PROVIDERS, e as SocialProvider, U as USER_STATUSES, d as UserStatus } from './types-1BMx0OX1.js';
@@ -450,8 +450,8 @@ declare const authApi: _spfn_core_nextjs.Client<_spfn_core_route.Router<{
450
450
  }, {}, {
451
451
  roles: {
452
452
  description: string | null;
453
- id: number;
454
453
  name: string;
454
+ id: number;
455
455
  displayName: string;
456
456
  isBuiltin: boolean;
457
457
  isSystem: boolean;
@@ -472,8 +472,8 @@ declare const authApi: _spfn_core_nextjs.Client<_spfn_core_route.Router<{
472
472
  }, {}, {
473
473
  role: {
474
474
  description: string | null;
475
- id: number;
476
475
  name: string;
476
+ id: number;
477
477
  displayName: string;
478
478
  isBuiltin: boolean;
479
479
  isSystem: boolean;
@@ -496,8 +496,8 @@ declare const authApi: _spfn_core_nextjs.Client<_spfn_core_route.Router<{
496
496
  }, {}, {
497
497
  role: {
498
498
  description: string | null;
499
- id: number;
500
499
  name: string;
500
+ id: number;
501
501
  displayName: string;
502
502
  isBuiltin: boolean;
503
503
  isSystem: boolean;