@peable/services
Advanced tools
Comparing version 0.0.56 to 0.0.57
declare function usePeableSession(): { | ||
sessionData: null; | ||
session: null; | ||
status: string; | ||
@@ -4,0 +4,0 @@ error: any; |
@@ -7,3 +7,3 @@ import { useState, useEffect } from "react"; | ||
const [error, setError] = useState(null); | ||
const [sessionData, setSessionData] = useState(null); | ||
const [session, setSessionData] = useState(null); | ||
useEffect(() => { | ||
@@ -39,4 +39,4 @@ const clientKey = Cookies.get("clientKey"); | ||
}, []); | ||
return { sessionData, status, error }; | ||
return { session, status, error }; | ||
} | ||
export default usePeableSession; |
{ | ||
"name": "@peable/services", | ||
"version": "0.0.56", | ||
"version": "0.0.57", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4474