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