@willphan1712000/frontend 1.4.0 → 1.4.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 CHANGED
@@ -468,6 +468,7 @@ type SessionType = {
468
468
  type SessionContextType = {
469
469
  isLoading: boolean;
470
470
  session: SessionType;
471
+ auth: AuthInterface;
471
472
  };
472
473
 
473
474
  /**
package/dist/index.d.ts CHANGED
@@ -468,6 +468,7 @@ type SessionType = {
468
468
  type SessionContextType = {
469
469
  isLoading: boolean;
470
470
  session: SessionType;
471
+ auth: AuthInterface;
471
472
  };
472
473
 
473
474
  /**
package/dist/index.js CHANGED
@@ -3128,7 +3128,8 @@ var useAuthClient = function(auth) {
3128
3128
  }, []);
3129
3129
  return {
3130
3130
  isLoading: isLoading,
3131
- session: sessionRef.current
3131
+ session: sessionRef.current,
3132
+ auth: auth
3132
3133
  };
3133
3134
  };
3134
3135
  var useAuthClient_default = useAuthClient;
package/dist/index.mjs CHANGED
@@ -3003,7 +3003,8 @@ var useAuthClient = function(auth) {
3003
3003
  }, []);
3004
3004
  return {
3005
3005
  isLoading: isLoading,
3006
- session: sessionRef.current
3006
+ session: sessionRef.current,
3007
+ auth: auth
3007
3008
  };
3008
3009
  };
3009
3010
  var useAuthClient_default = useAuthClient;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willphan1712000/frontend",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Frontend Library",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",