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.57 to 0.0.58

12

dist/hooks/usePeableSession.d.ts

@@ -0,3 +1,13 @@

interface SessionModel {
id: string;
username: string;
name: string;
lastname: string;
email: string;
verified: boolean;
profile_image_url: string;
created_at: string;
}
declare function usePeableSession(): {
session: null;
session: SessionModel | null;
status: string;

@@ -4,0 +14,0 @@ error: any;

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

try {
setStatus("loading"); // Set status to "loading"
const response = await axios.get("https://accounts.peable.co/clientKey.php");

@@ -28,2 +29,3 @@ const data = response.data;

try {
setStatus("loading"); // Set status to "loading"
const response = await axios.get("http://localhost:3001/api/session/dsfuhfsdiuhfiusdhfuisdhfiush");

@@ -30,0 +32,0 @@ setSessionData(response.data);

2

package.json
{
"name": "@peable/services",
"version": "0.0.57",
"version": "0.0.58",
"description": "",

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

Sorry, the diff of this file is not supported yet

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