@dritan/mcp 0.5.0 → 0.5.1
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 +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -79,7 +79,7 @@ function getThsClient() {
|
|
|
79
79
|
async function searchTokens(client, query, options) {
|
|
80
80
|
const sdkSearch = client.searchTokens;
|
|
81
81
|
if (typeof sdkSearch === "function") {
|
|
82
|
-
return await sdkSearch(query, options);
|
|
82
|
+
return await sdkSearch.call(client, query, options);
|
|
83
83
|
}
|
|
84
84
|
// Backward-compatible fallback for environments where dritan-sdk hasn't been upgraded yet.
|
|
85
85
|
const apiKey = process.env.DRITAN_API_KEY;
|