Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@varsityvibe/api-client

Package Overview
Dependencies
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@varsityvibe/api-client - npm Package Compare versions

Comparing version
1.3.28
to
1.3.29
+1
-1
package.json
{
"name": "@varsityvibe/api-client",
"description": "API client for the Varsity Vibe web and mobile apps",
"version": "1.3.28",
"version": "1.3.29",
"author": "Tiaan du Plessis <tiaanduplessis@hotmail.com>",

@@ -6,0 +6,0 @@ "type": "module",

@@ -47,3 +47,3 @@ import axios from 'axios'

const { body, headers, ...config } = options
const response = await axios.put(`${process.env.BASE_URL}${path}`, body, {
const response = await axios.put(`${process.env.REACT_APP_API_BASE_URL}${path}`, body, {
headers: {

@@ -71,3 +71,3 @@ 'Cache-Control': 'no-cache',

const url = `${process.env.BASE_URL}${path}`
const url = `${process.env.REACT_APP_API_BASE_URL}${path}`
const response = await this.instance.post(url, form, config)

@@ -83,3 +83,3 @@

const { body } = options
const url = `${process.env.BASE_URL}${path}`
const url = `${process.env.REACT_APP_API_BASE_URL}${path}`
const response = await this.instance.delete(url, {

@@ -99,4 +99,4 @@ headers: { 'Content-Type': 'application/json; charset=utf-8' },

const client = new Client(process.env.BASE_URL)
const client = new Client(process.env.REACT_APP_API_BASE_URL)
export default client