@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
|
-
|
|
1733
|
-
|
|
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-
|
|
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-
|
|
1916
|
+
const { initializeToolRegistry: initializeToolRegistry2 } = await import("./registry-ZTHDPLKP.js");
|
|
1917
1917
|
initializeToolRegistry2({
|
|
1918
1918
|
sources: sourceConfigsData.sources,
|
|
1919
1919
|
tools: sourceConfigsData.tools
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bytebase/dbhub",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"mcpName": "io.github.bytebase/dbhub",
|
|
5
|
-
"description": "
|
|
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"
|