@djangocfg/api 2.1.468 → 2.1.469
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/auth.cjs +1 -1
- package/dist/auth.cjs.map +1 -1
- package/dist/auth.d.cts +1 -5
- package/dist/auth.d.ts +1 -5
- package/dist/auth.mjs +1 -1
- package/dist/auth.mjs.map +1 -1
- package/package.json +2 -2
- package/src/auth/hooks/useDeleteAccount.ts +2 -10
package/dist/auth.d.cts
CHANGED
|
@@ -977,11 +977,7 @@ interface UseDeleteAccountReturn {
|
|
|
977
977
|
* const { deleteAccount, isLoading, error } = useDeleteAccount();
|
|
978
978
|
*
|
|
979
979
|
* const handleDelete = async () => {
|
|
980
|
-
*
|
|
981
|
-
* if (result.success) {
|
|
982
|
-
* // Account deleted, perform logout
|
|
983
|
-
* await logout();
|
|
984
|
-
* }
|
|
980
|
+
* await deleteAccount(); // Signs out after a successful deletion.
|
|
985
981
|
* };
|
|
986
982
|
* ```
|
|
987
983
|
*/
|
package/dist/auth.d.ts
CHANGED
|
@@ -977,11 +977,7 @@ interface UseDeleteAccountReturn {
|
|
|
977
977
|
* const { deleteAccount, isLoading, error } = useDeleteAccount();
|
|
978
978
|
*
|
|
979
979
|
* const handleDelete = async () => {
|
|
980
|
-
*
|
|
981
|
-
* if (result.success) {
|
|
982
|
-
* // Account deleted, perform logout
|
|
983
|
-
* await logout();
|
|
984
|
-
* }
|
|
980
|
+
* await deleteAccount(); // Signs out after a successful deletion.
|
|
985
981
|
* };
|
|
986
982
|
* ```
|
|
987
983
|
*/
|
package/dist/auth.mjs
CHANGED