mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 08:12:00 +02:00
📦 chore: Update librechat-data-provider
to v0.8.006
This commit is contained in:
parent
d5ec838218
commit
229d6f2dfe
3 changed files with 3 additions and 3 deletions
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -52227,7 +52227,7 @@
|
||||||
},
|
},
|
||||||
"packages/data-provider": {
|
"packages/data-provider": {
|
||||||
"name": "librechat-data-provider",
|
"name": "librechat-data-provider",
|
||||||
"version": "0.8.005",
|
"version": "0.8.006",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^1.8.2",
|
"axios": "^1.8.2",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "librechat-data-provider",
|
"name": "librechat-data-provider",
|
||||||
"version": "0.8.005",
|
"version": "0.8.006",
|
||||||
"description": "data services for librechat apps",
|
"description": "data services for librechat apps",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"module": "dist/index.es.js",
|
"module": "dist/index.es.js",
|
||||||
|
|
|
@ -3,7 +3,7 @@ import * as q from './types/queries';
|
||||||
import { ResourceType } from './accessPermissions';
|
import { ResourceType } from './accessPermissions';
|
||||||
|
|
||||||
let BASE_URL = '';
|
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
|
// 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>
|
// This is to ensure that the BASE_URL is set correctly based on the <base>
|
||||||
// element in the HTML document, if it exists.
|
// element in the HTML document, if it exists.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue