📦 chore: Update librechat-data-provider to v0.8.006
This commit is contained in:
2
package-lock.json
generated
2
package-lock.json
generated
@@ -52227,7 +52227,7 @@
|
||||
},
|
||||
"packages/data-provider": {
|
||||
"name": "librechat-data-provider",
|
||||
"version": "0.8.005",
|
||||
"version": "0.8.006",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"axios": "^1.8.2",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "librechat-data-provider",
|
||||
"version": "0.8.005",
|
||||
"version": "0.8.006",
|
||||
"description": "data services for librechat apps",
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/index.es.js",
|
||||
|
||||
@@ -3,7 +3,7 @@ import * as q from './types/queries';
|
||||
import { ResourceType } from './accessPermissions';
|
||||
|
||||
let BASE_URL = '';
|
||||
if (typeof process === 'undefined' || process.browser === true) {
|
||||
if (typeof process === 'undefined' || process?.browser === true) {
|
||||
// process is only available in node context, or process.browser is true in client-side code
|
||||
// This is to ensure that the BASE_URL is set correctly based on the <base>
|
||||
// element in the HTML document, if it exists.
|
||||
|
||||
Reference in New Issue
Block a user