feat: new domain and api struct

This commit is contained in:
Joel 2023-05-09 14:43:00 +08:00
parent 9d0f00785d
commit 95dae42fae
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import axios from 'axios' import axios from 'axios'
export class LangGeniusClient { export class LangGeniusClient {
constructor(apiKey, baseUrl = 'https://api.langgenius.ai/v1') { constructor(apiKey, baseUrl = 'https://api.dify.ai/v1') {
this.apiKey = apiKey this.apiKey = apiKey
this.baseUrl = baseUrl this.baseUrl = baseUrl
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "langgenius-client", "name": "langgenius-client",
"version": "1.0.1", "version": "1.1.1",
"description": "This is the Node.js SDK for the LangGenius API, which allows you to easily integrate LangGenius into your Node.js applications.", "description": "This is the Node.js SDK for the LangGenius API, which allows you to easily integrate LangGenius into your Node.js applications.",
"main": "index.js", "main": "index.js",
"type": "module", "type": "module",