@superatomai/sdk-node 0.0.37-mds → 0.0.38-mds

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
@@ -2078,6 +2078,10 @@ function getCacheKey(collection, op, params) {
2078
2078
  const paramsKey = params.params ? JSON.stringify(params.params) : "";
2079
2079
  return sqlKey ? `et:${toolId}:${sqlKey}:${paramsKey}` : "";
2080
2080
  }
2081
+ if (collection === "external-tools" && op === "execute" && params?.toolId && !params?.sql) {
2082
+ const dataKey = params.data ? JSON.stringify(params.data) : "";
2083
+ return `et-direct:${params.toolId}:${dataKey}`;
2084
+ }
2081
2085
  if (collection === "external-tools" && op === "executeByQueryId" && params?.queryId) {
2082
2086
  const toolId = params.toolId || "";
2083
2087
  const filterKey = params.filterParams ? JSON.stringify(params.filterParams) : "";