Comparing version 0.0.3 to 0.0.4
import { paths } from './api/server'; | ||
export default class Langfuse { | ||
private publicKey; | ||
private privateKey; | ||
private secretKey; | ||
private get; | ||
@@ -11,3 +11,3 @@ private post; | ||
publicKey: string; | ||
privateKey: string; | ||
secretKey: string; | ||
baseUrl?: string; | ||
@@ -14,0 +14,0 @@ }); |
@@ -45,3 +45,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
this.publicKey = params.publicKey; | ||
this.privateKey = params.privateKey; | ||
this.secretKey = params.secretKey; | ||
this.baseUrl = (_a = params.baseUrl) !== null && _a !== void 0 ? _a : this.baseUrl; | ||
@@ -52,3 +52,3 @@ this.promises = []; | ||
headers: { | ||
Authorization: 'Basic ' + btoa(this.publicKey + ':' + this.privateKey), | ||
Authorization: 'Basic ' + btoa(this.publicKey + ':' + this.secretKey), | ||
}, | ||
@@ -55,0 +55,0 @@ }); |
{ | ||
"name": "langfuse", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
# Langfuse | ||
This is a pre-release version of the langfuse SDK. For production use, please refer to the [Typescript Docs](https://langfuse.com/docs/sdk/typescript). | ||
## Update OpenAPI typing | ||
1. Update /src/api/openapi-\*.yaml | ||
2. `npm run generateAPI` | ||
## Release new version | ||
1. Bump version number | ||
2. `npm publish` |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
22792
14
0