@langfuse/client 4.4.0 → 4.4.2
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.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1432,7 +1432,8 @@ var PromptManager = class {
|
|
|
1432
1432
|
var _a;
|
|
1433
1433
|
const cacheKey = this.cache.createKey({
|
|
1434
1434
|
name,
|
|
1435
|
-
label: options == null ? void 0 : options.label
|
|
1435
|
+
label: options == null ? void 0 : options.label,
|
|
1436
|
+
version: options == null ? void 0 : options.version
|
|
1436
1437
|
});
|
|
1437
1438
|
const cachedPrompt = this.cache.getIncludingExpired(cacheKey);
|
|
1438
1439
|
if (!cachedPrompt || (options == null ? void 0 : options.cacheTtlSeconds) === 0) {
|