New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.68 to 0.0.69

dist/config/index.d.ts

3

dist/hooks/getUserById.js
import axios from "axios";
import { OXY_AUTH_URL } from "../config";
const getUserById = async (id, fields) => {
try {
const response = await axios.get("https://auth.oxy.so/api/users/${id}", {
const response = await axios.get(OXY_AUTH_URL + "/api/users/${id}", {
withCredentials: true,

@@ -6,0 +7,0 @@ });

import { useEffect } from "react";
import axios from "axios";
import { create } from "zustand";
import { OXY_AUTH_URL } from "../config";
export const useSessionStore = create((set) => {

@@ -16,3 +17,3 @@ let isFirstFetch = true;

}
const response = await axios.get("https://auth.oxy.so/api/session/cls70kh9v0000dl3qewctq2zq", { withCredentials: true });
const response = await axios.get(OXY_AUTH_URL + "/api/session/cls70kh9v0000dl3qewctq2zq", { withCredentials: true });
set({ session: response.data, status: "success" });

@@ -19,0 +20,0 @@ }

{
"name": "@peable/services",
"version": "0.0.68",
"version": "0.0.69",
"description": "",

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

"react-dom": "^18.2.0",
"zod": "^3.23.8",
"zustand": "^4.5.2"
}
}

Sorry, the diff of this file is not supported yet

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