@k256/sdk 0.3.0 → 0.3.1

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
@@ -1060,13 +1060,19 @@ function readGossipPeer(view, data, o) {
1060
1060
  gossipAddr: readOptSocketAddr(view, o),
1061
1061
  shredVersion: readU16(view, o),
1062
1062
  version: readVecU8AsString(view, data, o),
1063
- activatedStake: readU64(view, o),
1063
+ stake: readU64(view, o),
1064
1064
  commission: readU8(view, o),
1065
1065
  isDelinquent: readBool(view, o),
1066
- votePubkey: readPubkey(data, o),
1066
+ voteAccount: readPubkey(data, o),
1067
1067
  lastVote: readU64(view, o),
1068
1068
  rootSlot: readU64(view, o),
1069
- wallclock: readU64(view, o)
1069
+ wallclock: readU64(view, o),
1070
+ // Geo/ASN enrichment from IPinfo Lite MMDB (server-side)
1071
+ countryCode: readVecU8AsString(view, data, o),
1072
+ continentCode: readVecU8AsString(view, data, o),
1073
+ asn: readVecU8AsString(view, data, o),
1074
+ asName: readVecU8AsString(view, data, o),
1075
+ asDomain: readVecU8AsString(view, data, o)
1070
1076
  };
1071
1077
  }
1072
1078
  function readGossipPeerVec(view, data, o) {