@ackplus/nest-auth-react 2.0.0-beta.1 → 2.0.0-beta.3

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
@@ -15,6 +15,6 @@ export { withRequirePermission, createRequirePermissionHOC, WithRequirePermissio
15
15
  export { createNextAuthHelpers, NextAuthHelpers, NextAuthHelpersConfig, ServerAuthState } from './next/create-next-auth-helpers';
16
16
  export { NextAuthProvider, NextAuthProviderProps } from './next/next-auth-provider';
17
17
  export { CrossTabSync, createCrossTabSync, SyncEvent, SyncEventType, SyncHandler } from './sync/cross-tab-sync';
18
- export type { IAuthUser as AuthUser, ClientSession as AuthSession, AuthStatus, AuthState, AuthError, ITokenPair as TokenPair, ILoginRequest as LoginDto, ISignupRequest as SignupDto, IAuthResponse as AuthResponse, AuthClientConfig, INestAuthRole, INestAuthPermission, ICreateRoleInput, IUpdateRoleInput, IRoleResponse, IPasswordlessSendRequest as PasswordlessSendDto, IForgotPasswordRequest as ForgotPasswordDto, IResetPasswordWithTokenRequest as ResetPasswordDto, IChangePasswordRequest as ChangePasswordDto, IVerifyEmailRequest as VerifyEmailDto, IVerifyPhoneRequest as VerifyPhoneDto, ISendEmailVerificationRequest as SendEmailVerificationDto, ISendPhoneVerificationRequest as SendPhoneVerificationDto, IResendVerificationRequest as ResendVerificationDto, IVerify2faRequest as Verify2faDto, IVerify2faResponse as Verify2faResponse, IMessageResponse as MessageResponse, IVerifyOtpResponse as VerifyOtpResponse, } from '@ackplus/nest-auth-client';
18
+ export type { IAuthUser as AuthUser, ClientSession as AuthSession, AuthStatus, AuthState, AuthError, ITokenPair as TokenPair, ILoginRequest as LoginDto, ISignupRequest as SignupDto, IAuthResponse as AuthResponse, AuthClientConfig, INestAuthRole, INestAuthPermission, ICreateRoleInput, IUpdateRoleInput, IRoleResponse, IPasswordlessSendRequest as PasswordlessSendDto, IForgotPasswordRequest as ForgotPasswordDto, IResetPasswordWithTokenRequest as ResetPasswordDto, IChangePasswordRequest as ChangePasswordDto, IVerifyEmailRequest as VerifyEmailDto, IVerifyPhoneRequest as VerifyPhoneDto, ISendEmailVerificationRequest as SendEmailVerificationDto, ISendPhoneVerificationRequest as SendPhoneVerificationDto, IResendVerificationRequest as ResendVerificationDto, IVerify2faRequest as Verify2faDto, IVerify2faResponse as Verify2faResponse, IMessageResponse as MessageResponse, IVerifyOtpResponse as VerifyOtpResponse, ISwitchTenantRequest as SwitchTenantDto, } from '@ackplus/nest-auth-client';
19
19
  export { AuthClient } from '@ackplus/nest-auth-client';
20
20
  export { hasRole, hasPermission, hasAnyAccess, hasAllAccess } from '@ackplus/nest-auth-client';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,WAAW,EAAoB,MAAM,wBAAwB,CAAC;AACvE,OAAO,EAAE,YAAY,EAAuC,MAAM,yBAAyB,CAAC;AAI5F,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAoB,MAAM,yBAAyB,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAIpE,OAAO,EAAE,SAAS,EAAkB,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,UAAU,EAAmB,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,WAAW,EAAoB,MAAM,uBAAuB,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAA0B,MAAM,6BAA6B,CAAC;AAGxF,OAAO,EACH,eAAe,EACf,oBAAoB,GAGvB,MAAM,4BAA4B,CAAC;AACpC,OAAO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qB,EAA2D,MAAM,iCAAiC,CAAC;AACjI,OAAO,EAAE,gBAAgB,EAAyB,MAAM,2BAA2B,CAAC;AAIpF,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAyC,MAAM,uBAAuB,CAAC;AAwChH,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAGvD,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ackplus/nest-auth-react",
3
- "version": "2.0.0-beta.1",
3
+ "version": "2.0.0-beta.3",
4
4
  "description": "React SDK for NestJS authentication - hooks, guards, and Next.js integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -38,7 +38,7 @@
38
38
  "react": "^18.0.0 || ^19.0.0"
39
39
  },
40
40
  "dependencies": {
41
- "@ackplus/nest-auth-client": "2.0.0-beta.1"
41
+ "@ackplus/nest-auth-client": "2.0.0-beta.3"
42
42
  },
43
43
  "devDependencies": {
44
44
  "typescript": "^5.7.3",