@langfuse/client 5.0.0-beta.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1635,7 +1635,7 @@ declare class LangfuseClient {
1635
1635
  /**
1636
1636
  * @deprecated Use api.observations.get instead
1637
1637
  */
1638
- fetchObservation: typeof LangfuseAPIClient.prototype.observations.get;
1638
+ fetchObservation: typeof LangfuseAPIClient.prototype.legacy.observationsV1.get;
1639
1639
  /**
1640
1640
  * @deprecated Use api.observations.list instead
1641
1641
  */
package/dist/index.d.ts CHANGED
@@ -1635,7 +1635,7 @@ declare class LangfuseClient {
1635
1635
  /**
1636
1636
  * @deprecated Use api.observations.get instead
1637
1637
  */
1638
- fetchObservation: typeof LangfuseAPIClient.prototype.observations.get;
1638
+ fetchObservation: typeof LangfuseAPIClient.prototype.legacy.observationsV1.get;
1639
1639
  /**
1640
1640
  * @deprecated Use api.observations.list instead
1641
1641
  */
package/dist/index.mjs CHANGED
@@ -1927,7 +1927,7 @@ var LangfuseClient = class {
1927
1927
  this.getDataset = this.dataset.get;
1928
1928
  this.fetchTrace = this.api.trace.get;
1929
1929
  this.fetchTraces = this.api.trace.list;
1930
- this.fetchObservation = this.api.observations.get;
1930
+ this.fetchObservation = this.api.legacy.observationsV1.get;
1931
1931
  this.fetchObservations = this.api.observations.getMany;
1932
1932
  this.fetchSessions = this.api.sessions.get;
1933
1933
  this.getDatasetRun = this.api.datasets.getRun;