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