@agether/sdk 1.5.0 → 1.5.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.
package/dist/index.js CHANGED
@@ -199,9 +199,9 @@ var CONTRACT_ADDRESSES = {
199
199
  morphoBlue: "0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb"
200
200
  },
201
201
  [8453 /* Base */]: {
202
- accountFactory: "0xeB72f248Ad9F4bf4024e8D9da75cf7AAD37B58f5",
203
- validationRegistry: "0x8842f2383A86134Dd80c3Ecf6Bbae2e38396A5ec",
204
- agentReputation: "0xF1bed094D4E33E47CC8C72E086FFFde09e2211b4",
202
+ accountFactory: "0x7D5D56416bAEA06a9DCBe3092eF335724C6320a0",
203
+ validationRegistry: "0xd196C32D2149270F56E209ba7aEE67CE9ceD2001",
204
+ agentReputation: "0x65c9cA1211809D3CF3A2707558198eb2b2bE623c",
205
205
  usdc: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
206
206
  identityRegistry: "0x8004A169FB4a3325136EB29fA0ceB6D2e539a432",
207
207
  morphoBlue: "0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb"
@@ -509,11 +509,6 @@ var MorphoClient = class {
509
509
  let agentId;
510
510
  if (balance > 0n && this.agentId) {
511
511
  agentId = BigInt(this.agentId);
512
- } else if (balance > 0n) {
513
- throw new AgetherError(
514
- "Wallet already has an ERC-8004 identity but agentId is unknown. Pass agentId in config.",
515
- "AGENT_ID_UNKNOWN"
516
- );
517
512
  } else {
518
513
  const regTx = await this.identityRegistry.register();
519
514
  const regReceipt = await regTx.wait();