@hasna/connectors 0.5.3 → 0.5.4
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/bin/index.js
CHANGED
|
@@ -7281,7 +7281,7 @@ var PRESETS = {
|
|
|
7281
7281
|
commerce: { description: "Commerce and finance", connectors: ["stripe", "shopify", "revolut", "mercury", "pandadoc"] }
|
|
7282
7282
|
};
|
|
7283
7283
|
var program2 = new Command;
|
|
7284
|
-
program2.name("connectors").description("Install API connectors for your project").version("0.5.
|
|
7284
|
+
program2.name("connectors").description("Install API connectors for your project").version("0.5.4").enablePositionalOptions();
|
|
7285
7285
|
program2.command("interactive", { isDefault: true }).alias("i").description("Interactive connector browser").action(() => {
|
|
7286
7286
|
if (!isTTY) {
|
|
7287
7287
|
console.log(`Non-interactive environment detected. Use a subcommand:
|
package/bin/mcp.js
CHANGED
|
@@ -20763,7 +20763,7 @@ async function getConnectorCommandHelp(name, command) {
|
|
|
20763
20763
|
loadConnectorVersions();
|
|
20764
20764
|
var server = new McpServer({
|
|
20765
20765
|
name: "connectors",
|
|
20766
|
-
version: "0.5.
|
|
20766
|
+
version: "0.5.4"
|
|
20767
20767
|
});
|
|
20768
20768
|
server.registerTool("search_connectors", {
|
|
20769
20769
|
title: "Search Connectors",
|
|
@@ -259,7 +259,7 @@ function saveCredentials(creds: CredentialsConfig): void {
|
|
|
259
259
|
// ============================================
|
|
260
260
|
|
|
261
261
|
export function getClientId(): string | undefined {
|
|
262
|
-
return process.env.GOOGLE_CLIENT_ID || loadCredentials().clientId || loadProfile().clientId;
|
|
262
|
+
return process.env.GOOGLE_TASKS_CLIENT_ID || process.env.GOOGLE_CLIENT_ID || loadCredentials().clientId || loadProfile().clientId;
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
export function setClientId(clientId: string): void {
|
|
@@ -269,7 +269,7 @@ export function setClientId(clientId: string): void {
|
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
export function getClientSecret(): string | undefined {
|
|
272
|
-
return process.env.GOOGLE_CLIENT_SECRET || loadCredentials().clientSecret || loadProfile().clientSecret;
|
|
272
|
+
return process.env.GOOGLE_TASKS_CLIENT_SECRET || process.env.GOOGLE_CLIENT_SECRET || loadCredentials().clientSecret || loadProfile().clientSecret;
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
export function setClientSecret(clientSecret: string): void {
|