@xyo-network/xl1-protocol-sdk 3.1.4 → 3.1.5

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.
@@ -6,6 +6,6 @@ export declare function surfaceForBranch(branch: string): Surface | undefined;
6
6
  *
7
7
  * Each entry is `[viewerKey, fully-qualified-branch-key]`.
8
8
  */
9
- export declare const VIEWER_BRANCH_KEYS: readonly [readonly ["block", "viewer.block"], readonly ["transaction", "viewer.transaction"], readonly ["mempool", "viewer.mempool"], readonly ["finalization", "viewer.finalization"], readonly ["time", "viewer.time"], readonly ["account", "viewer.account.balance"], readonly ["networkStake", "viewer.networkStake"], readonly ["stake", "viewer.stake"], readonly ["step", "viewer.step"]];
9
+ export declare const VIEWER_BRANCH_KEYS: readonly [readonly ["block", "viewer.block"], readonly ["transaction", "viewer.transaction"], readonly ["mempool", "viewer.mempool"], readonly ["finalization", "viewer.finalization"], readonly ["time", "viewer.time"], readonly ["account", "viewer.account.balance"], readonly ["stakeTotals", "viewer.stakeTotals"], readonly ["networkStake", "viewer.networkStake"], readonly ["stake", "viewer.stake"], readonly ["step", "viewer.step"]];
10
10
  export type ViewerBranchKey = (typeof VIEWER_BRANCH_KEYS)[number][0];
11
11
  //# sourceMappingURL=surfaceMap.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"surfaceMap.d.ts","sourceRoot":"","sources":["../../../src/capabilities/surfaceMap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAgC3C,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAEpE;AAED;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,mYAUrB,CAAA;AAEV,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"surfaceMap.d.ts","sourceRoot":"","sources":["../../../src/capabilities/surfaceMap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAmC3C,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAEpE;AAED;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,mbAWrB,CAAA;AAEV,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAA"}
@@ -1053,6 +1053,9 @@ var BRANCH_SURFACE = {
1053
1053
  // AccountBalanceViewer is a point query (`f(address) → balance`) — node-surface,
1054
1054
  // even though indexer-backed today via summary maps.
1055
1055
  "viewer.account.balance": "node",
1056
+ // StakeTotalsViewer is a point query (`f(address) → total`) — node-surface,
1057
+ // backed by the staking contract on the EVM.
1058
+ "viewer.stakeTotals": "node",
1056
1059
  // Cross-key indexes — indexer-surface.
1057
1060
  "viewer.networkStake": "indexed",
1058
1061
  "viewer.stake": "indexed",
@@ -1068,6 +1071,7 @@ var VIEWER_BRANCH_KEYS = [
1068
1071
  ["finalization", "viewer.finalization"],
1069
1072
  ["time", "viewer.time"],
1070
1073
  ["account", "viewer.account.balance"],
1074
+ ["stakeTotals", "viewer.stakeTotals"],
1071
1075
  ["networkStake", "viewer.networkStake"],
1072
1076
  ["stake", "viewer.stake"],
1073
1077
  ["step", "viewer.step"]