@bytebase/dbhub 1.3.0 → 1.3.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.
@@ -1729,10 +1729,8 @@ async function generateRdsAuthToken(params) {
1729
1729
  username: params.username,
1730
1730
  region: params.region
1731
1731
  };
1732
- if (params.profile) {
1733
- const { fromIni } = await import("@aws-sdk/credential-providers");
1734
- signerConfig.credentials = fromIni({ profile: params.profile });
1735
- }
1732
+ const { fromIni, fromNodeProviderChain } = await import("@aws-sdk/credential-providers");
1733
+ signerConfig.credentials = params.profile ? fromIni({ profile: params.profile, ignoreCache: true }) : fromNodeProviderChain({ ignoreCache: true });
1736
1734
  const signer = new Signer(signerConfig);
1737
1735
  return signer.getAuthToken();
1738
1736
  }
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  resolveSourceConfigs,
19
19
  resolveTomlConfigPath,
20
20
  resolveTransport
21
- } from "./chunk-77BJNE6E.js";
21
+ } from "./chunk-5FL4XMWG.js";
22
22
  import {
23
23
  loadConnectors
24
24
  } from "./chunk-WVVMH6FJ.js";
@@ -1913,7 +1913,7 @@ See documentation for more details on configuring database connections.
1913
1913
  const sources = sourceConfigsData.sources;
1914
1914
  console.error(`Configuration source: ${sourceConfigsData.source}`);
1915
1915
  await connectorManager.connectWithSources(sources);
1916
- const { initializeToolRegistry: initializeToolRegistry2 } = await import("./registry-P4IGJ56H.js");
1916
+ const { initializeToolRegistry: initializeToolRegistry2 } = await import("./registry-ZTHDPLKP.js");
1917
1917
  initializeToolRegistry2({
1918
1918
  sources: sourceConfigsData.sources,
1919
1919
  tools: sourceConfigsData.tools
@@ -2,7 +2,7 @@ import {
2
2
  ToolRegistry,
3
3
  getToolRegistry,
4
4
  initializeToolRegistry
5
- } from "./chunk-77BJNE6E.js";
5
+ } from "./chunk-5FL4XMWG.js";
6
6
  import "./chunk-WVVMH6FJ.js";
7
7
  import "./chunk-IXC4NQGC.js";
8
8
  export {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@bytebase/dbhub",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "mcpName": "io.github.bytebase/dbhub",
5
- "description": "Minimal, token-efficient Database MCP Server for PostgreSQL, MySQL, SQL Server, Oracle, SQLite, MariaDB",
5
+ "description": "Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/bytebase/dbhub.git"