@varsityvibe/api-client
Advanced tools
+1
-1
| { | ||
| "name": "@varsityvibe/api-client", | ||
| "description": "API client for the Varsity Vibe web and mobile apps", | ||
| "version": "1.3.29", | ||
| "version": "1.3.30", | ||
| "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.REACT_APP_API_BASE_URL}${path}`, body, { | ||
| const response = await axios.put(`${process.env.API_BASE_URL}${path}`, body, { | ||
| headers: { | ||
@@ -71,3 +71,3 @@ 'Cache-Control': 'no-cache', | ||
| const url = `${process.env.REACT_APP_API_BASE_URL}${path}` | ||
| const url = `${process.env.API_BASE_URL}${path}` | ||
| const response = await this.instance.post(url, form, config) | ||
@@ -83,3 +83,3 @@ | ||
| const { body } = options | ||
| const url = `${process.env.REACT_APP_API_BASE_URL}${path}` | ||
| const url = `${process.env.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.REACT_APP_API_BASE_URL) | ||
| const client = new Client(process.env.API_BASE_URL) | ||
| export default client |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
205465
-0.02%