@aegis-engine/core 0.8.2 → 0.9.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/README.md CHANGED
@@ -371,11 +371,17 @@ manager, you can build this object yourself and skip `resolveWalletSession`.
371
371
  `resolveWalletSession` is a convenience for simple browser integrations. It:
372
372
 
373
373
  - uses a supplied `provider` and `account` when provided,
374
- - otherwise calls `getProvider`,
375
- - otherwise falls back to `window.ethereum`,
374
+ - otherwise calls an explicit `getProvider` resolver,
375
+ - uses `window.ethereum` only when both provider sources are omitted,
376
376
  - optionally calls your `connectWallet` callback,
377
377
  - requests an account by default when one is missing.
378
378
 
379
+ A supplied `provider: null` or host resolver returning `null` remains
380
+ unresolved; it never selects an unrelated injected wallet. A `connectWallet`
381
+ callback may still explicitly return the selected provider/account. Without a
382
+ completed host connection, session resolution fails without requesting
383
+ permissions from another extension.
384
+
379
385
  Call it from a user action, not during render, because it may open the wallet
380
386
  connection prompt.
381
387
 
package/dist/account.js CHANGED
@@ -1,5 +1,5 @@
1
- import { w as u, o as b, n as A, s as I, l as P, E as g, A as h, r as f, a as x, i as c, b as E, c as S, d as C, e as _, P as T, f as D } from "./transactionHistory-1Zl2KCcV.js";
2
- import { g as M, h as j, j as J, k as O, m as U, p as G, q as Z, t as Q, u as V, v as W, x as X, y as Y, z as ee, B as ae, C as oe, D as se, F as ne, G as te, H as re } from "./transactionHistory-1Zl2KCcV.js";
1
+ import { w as u, o as b, n as A, s as I, l as P, E as g, A as h, r as f, a as x, i as c, b as E, c as S, d as C, e as _, P as T, f as D } from "./transactionHistory-BhNsDpNJ.js";
2
+ import { g as M, h as j, j as J, k as O, m as U, p as G, q as Z, t as Q, u as V, v as W, x as X, y as Y, z as ee, B as ae, C as oe, D as se, F as ne, G as te, H as re } from "./transactionHistory-BhNsDpNJ.js";
3
3
  import { keccak256 as k, encodeAbiParameters as y } from "viem";
4
4
  const H = b({ version: P(1), snapshotId: I().uuid(), page: A().int().min(1).max(95) }).strict();
5
5
  function v(e) {