@abraca/mcp 1.0.0 → 1.0.2

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.
@@ -18491,8 +18491,9 @@ var AbracadabraMCPServer = class {
18491
18491
  });
18492
18492
  console.error(`[abracadabra-mcp] Logged in as ${this.config.username}`);
18493
18493
  try {
18494
- this._userId = (await this.client.getMe()).id;
18495
- console.error(`[abracadabra-mcp] User ID: ${this._userId}`);
18494
+ const me = await this.client.getMe();
18495
+ this._userId = me.publicKey ?? me.id;
18496
+ console.error(`[abracadabra-mcp] User ID (pubkey): ${this._userId}`);
18496
18497
  } catch {
18497
18498
  console.error("[abracadabra-mcp] Could not fetch user profile, proceeding without userId");
18498
18499
  }