langfuse-core
Advanced tools
Comparing version 2.5.0-alpha.0 to 2.5.0
@@ -375,3 +375,3 @@ 'use strict'; | ||
async createPromptStateless(body) { | ||
return this.fetch(`${this.baseUrl}/api/public/prompts/`, this.getFetchOptions({ | ||
return this.fetch(`${this.baseUrl}/api/public/prompts`, this.getFetchOptions({ | ||
method: "POST", | ||
@@ -382,3 +382,3 @@ body: JSON.stringify(body) | ||
async getPromptStateless(name, version) { | ||
const url = `${this.baseUrl}/api/public/prompts/?name=${name}` + (version ? `&version=${version}` : ""); | ||
const url = `${this.baseUrl}/api/public/prompts?name=${name}` + (version ? `&version=${version}` : ""); | ||
return this.fetch(url, this.getFetchOptions({ | ||
@@ -385,0 +385,0 @@ method: "GET" |
{ | ||
"name": "langfuse-core", | ||
"version": "2.5.0-alpha.0", | ||
"version": "2.5.0", | ||
"engines": { | ||
@@ -40,3 +40,3 @@ "node": ">=18" | ||
}, | ||
"gitHead": "eb08be3855b83e9f8f2afbe8b8be7b5bbad3d9ee" | ||
"gitHead": "da147e2bda325792780198447f7674e92ddb2c37" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
300035