@superatomai/sdk-node 0.0.30-mds → 0.0.31-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.mjs CHANGED
@@ -4266,10 +4266,10 @@ function getDatabaseType() {
4266
4266
  function getDbTypeFromToolId(toolId) {
4267
4267
  if (!toolId) return getDatabaseType();
4268
4268
  const prefix = toolId.split("-")[0]?.toLowerCase();
4269
- if (prefix === "mssql") return "mssql";
4270
- if (prefix === "postgres" || prefix === "postgresql") return "postgresql";
4271
- if (prefix === "mysql") return "mysql";
4272
- if (prefix === "snowflake") return "snowflake";
4269
+ if (prefix.startsWith("mssql")) return "mssql";
4270
+ if (prefix.startsWith("postgres")) return "postgresql";
4271
+ if (prefix.startsWith("mysql")) return "mysql";
4272
+ if (prefix.startsWith("snowflake")) return "snowflake";
4273
4273
  return getDatabaseType();
4274
4274
  }
4275
4275
  function convertTopToLimit(query) {