@ecency/wallets 1.5.5 → 1.5.6

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.
@@ -3167,6 +3167,7 @@ function parseToken(rawToken) {
3167
3167
  );
3168
3168
  const accountBalance = normalizeNumber(token.balance) ?? normalizeNumber(token.accountBalance) ?? normalizeNumber(token.totalBalance) ?? normalizeNumber(token.total) ?? normalizeNumber(token.amount) ?? (baseParts ? baseParts.reduce((total, part) => total + (part.balance ?? 0), 0) : parts ? parts.reduce((total, part) => total + (part.balance ?? 0), 0) : 0);
3169
3169
  const layer = normalizeString(token.layer) ?? normalizeString(token.chain) ?? normalizeString(token.category) ?? normalizeString(token.type);
3170
+ const pendingRewards = normalizeNumber(token.pendingRewards);
3170
3171
  return {
3171
3172
  symbol: normalizedSymbol,
3172
3173
  info: {
@@ -3176,6 +3177,7 @@ function parseToken(rawToken) {
3176
3177
  accountBalance,
3177
3178
  apr: apr ?? void 0,
3178
3179
  layer: layer ?? void 0,
3180
+ pendingRewards: pendingRewards ?? void 0,
3179
3181
  parts
3180
3182
  },
3181
3183
  operations: mapActions(