langsmith 0.5.1 → 0.5.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 CHANGED
@@ -18,4 +18,4 @@ Object.defineProperty(exports, "PromptCache", { enumerable: true, get: function
18
18
  Object.defineProperty(exports, "configureGlobalPromptCache", { enumerable: true, get: function () { return index_js_1.configureGlobalPromptCache; } });
19
19
  Object.defineProperty(exports, "promptCacheSingleton", { enumerable: true, get: function () { return index_js_1.promptCacheSingleton; } });
20
20
  // Update using yarn bump-version
21
- exports.__version__ = "0.5.1";
21
+ exports.__version__ = "0.5.2";
package/dist/index.d.ts CHANGED
@@ -5,4 +5,4 @@ export { overrideFetchImplementation } from "./singletons/fetch.js";
5
5
  export { getDefaultProjectName } from "./utils/project.js";
6
6
  export { uuid7, uuid7FromTime } from "./uuid.js";
7
7
  export { Cache, PromptCache, type CacheConfig, type CacheMetrics, configureGlobalPromptCache, promptCacheSingleton, } from "./utils/prompt_cache/index.js";
8
- export declare const __version__ = "0.5.1";
8
+ export declare const __version__ = "0.5.2";
package/dist/index.js CHANGED
@@ -5,4 +5,4 @@ export { getDefaultProjectName } from "./utils/project.js";
5
5
  export { uuid7, uuid7FromTime } from "./uuid.js";
6
6
  export { Cache, PromptCache, configureGlobalPromptCache, promptCacheSingleton, } from "./utils/prompt_cache/index.js";
7
7
  // Update using yarn bump-version
8
- export const __version__ = "0.5.1";
8
+ export const __version__ = "0.5.2";
@@ -299,7 +299,6 @@ class PromptCache {
299
299
  }
300
300
  exports.PromptCache = PromptCache;
301
301
  /**
302
- * @internal
303
302
  * Global singleton instance of PromptCache.
304
303
  * Use configureGlobalPromptCache(), enableGlobalPromptCache(), or disableGlobalPromptCache() instead.
305
304
  */
@@ -139,6 +139,11 @@ export declare class PromptCache {
139
139
  private refreshStaleEntries;
140
140
  configure(config: CacheConfig): void;
141
141
  }
142
+ /**
143
+ * Global singleton instance of PromptCache.
144
+ * Use configureGlobalPromptCache(), enableGlobalPromptCache(), or disableGlobalPromptCache() instead.
145
+ */
146
+ export declare const promptCacheSingleton: PromptCache;
142
147
  /**
143
148
  * Configure the global prompt cache.
144
149
  *
@@ -294,7 +294,6 @@ export class PromptCache {
294
294
  }
295
295
  }
296
296
  /**
297
- * @internal
298
297
  * Global singleton instance of PromptCache.
299
298
  * Use configureGlobalPromptCache(), enableGlobalPromptCache(), or disableGlobalPromptCache() instead.
300
299
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "langsmith",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Client library to connect to the LangSmith Observability and Evaluation Platform.",
5
5
  "packageManager": "yarn@1.22.19",
6
6
  "files": [