modality-kit 0.16.1 → 0.16.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.js
CHANGED
|
@@ -15595,10 +15595,13 @@ class SimpleCache {
|
|
|
15595
15595
|
return this.lruCache.keys();
|
|
15596
15596
|
}
|
|
15597
15597
|
}
|
|
15598
|
+
// src/isTestEnvironment.ts
|
|
15599
|
+
var isTestEnvironment = globalThis.Bun?.main?.includes?.("test");
|
|
15598
15600
|
export {
|
|
15599
15601
|
withErrorHandling,
|
|
15600
15602
|
mergeResponsesContent,
|
|
15601
15603
|
loadVersion,
|
|
15604
|
+
isTestEnvironment,
|
|
15602
15605
|
getLoggerInstance,
|
|
15603
15606
|
formatSuccessResponse,
|
|
15604
15607
|
formatErrorResponse,
|
package/dist/types/index.d.ts
CHANGED
|
@@ -21,5 +21,6 @@ export { ERROR_METHOD_NOT_FOUND } from "./jsonrpc-manager";
|
|
|
21
21
|
export { WebSocketClient } from "./websocket-client";
|
|
22
22
|
export { LruCache } from "./lruCache";
|
|
23
23
|
export { SimpleCache } from "./simple-cache";
|
|
24
|
+
export { isTestEnvironment } from "./isTestEnvironment";
|
|
24
25
|
export type { SimpleCacheOptions } from "./simple-cache";
|
|
25
26
|
export type { CallToolResult } from "@modelcontextprotocol/sdk/types.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isTestEnvironment: boolean;
|
package/package.json
CHANGED