Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@peable/services

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@peable/services - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

2

dist/hooks/usePeableSession.d.ts

@@ -12,3 +12,3 @@ interface SessionData {

session: SessionData | null;
isLoading: boolean;
status: "loading" | "loaded";
error: string | null;

@@ -15,0 +15,0 @@ };

@@ -5,3 +5,3 @@ import { useState, useEffect } from "react";

const [session, setSession] = useState(null);
const [isLoading, setIsLoading] = useState(true);
const [status, setStatus] = useState("loading");
const [error, setError] = useState(null);

@@ -35,3 +35,3 @@ useEffect(() => {

finally {
setIsLoading(false);
setStatus("loading");
}

@@ -41,4 +41,4 @@ };

}, []);
return { session, isLoading, error };
return { session, status, error };
};
export default usePeableSession;
{
"name": "@peable/services",
"version": "0.0.10",
"version": "0.0.11",
"description": "",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc