@haven_ai/connect 0.2.1-alpha.0 → 0.3.0-alpha.0

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.cjs CHANGED
@@ -556,9 +556,9 @@ var init_runtime_manifest = __esm({
556
556
  mcpPackage: "@haven_ai/mcp",
557
557
  mcpVersion: mcp.MCP_VERSION,
558
558
  sdkPackage: "@haven_ai/sdk",
559
- sdkVersion: "0.2.1-alpha.0",
559
+ sdkVersion: "0.3.0-alpha.0",
560
560
  signerPackage: "@haven_ai/signer",
561
- signerVersion: "0.2.1-alpha.0",
561
+ signerVersion: "0.3.0-alpha.0",
562
562
  // Sourced from the SDK, never a literal (#1161). This field read '20.0.0'
563
563
  // while every package's `engines` said `>=24` and the docs said `>=24.0.0`,
564
564
  // so the guard that was supposed to enforce the floor waved Node v23 through
@@ -1446,7 +1446,7 @@ async function buildLocalMcpConsentInput(identityPath, signerPath) {
1446
1446
  apiKey: credentials.apiKey,
1447
1447
  apiUrl: credentials.apiUrl,
1448
1448
  agentId: credentials.agentId,
1449
- safeAddress: credentials.accountAddress ?? credentials.safeAddress,
1449
+ accountAddress: credentials.accountAddress,
1450
1450
  delegateAddress: credentials.delegateAddress,
1451
1451
  chainId: credentials.chainId,
1452
1452
  allowanceSummary: credentials.allowanceSummary
@@ -2488,7 +2488,7 @@ async function buildSignerConsentInput(signerPath) {
2488
2488
  });
2489
2489
  return {
2490
2490
  delegateAddress: signer$1.delegateAddress,
2491
- safeAddress: credentials.accountAddress ?? credentials.safeAddress,
2491
+ accountAddress: credentials.accountAddress,
2492
2492
  agentId: credentials.agentId,
2493
2493
  chainId: credentials.chainId,
2494
2494
  network: credentials.network,
@@ -3326,9 +3326,10 @@ async function finishRekey(options, deps = {}) {
3326
3326
  apiKey: options.newApiKey,
3327
3327
  delegateKey: pending.new_delegate_key,
3328
3328
  delegateAddress: pending.new_delegate_address,
3329
- // #2908: the stored value (already new-name-first) wins; the hosted
3330
- // identity's `account_address` twin before its deprecated `safe_address`.
3331
- accountAddress: stored.accountAddress ?? identity.account_address ?? identity.safe_address ?? void 0,
3329
+ // The stored value (already new-name-first, from the credential-FILE
3330
+ // permanent fallback) wins; the hosted identity's `account_address` is a
3331
+ // LIVE server read, which as of #2914 emits only that name.
3332
+ accountAddress: stored.accountAddress ?? identity.account_address ?? void 0,
3332
3333
  chainId: stored.chainId ?? identity.chain_id ?? void 0,
3333
3334
  network: stored.network,
3334
3335
  agentBudget: stored.agentBudget,
@@ -4427,7 +4428,7 @@ async function pathExists2(path) {
4427
4428
  init_unwire();
4428
4429
  init_local_mcp_runtime();
4429
4430
  init_runtime_manifest();
4430
- var CONNECTOR_VERSION = "0.2.1-alpha.0";
4431
+ var CONNECTOR_VERSION = "0.3.0-alpha.0";
4431
4432
  var CONNECT_OUTCOME_SCHEMA_VERSION = 1;
4432
4433
  var failureOutcomesByError = /* @__PURE__ */ new WeakMap();
4433
4434
  function failureOutcomeFor(runtimeHint, error) {