Migrate Navi integration to @naviprotocol/lending v2 - #87
Conversation
…client for rewards
# Conflicts: # package.json
|
operate.md full-sweep review — PR #87 (Navi v1→v2 migration). CI green (lint/test/build); Prior blocker resolved ✅ — the SUI-reward New (non-blocking, but same silent-failure class the prior 🔴 was):
Recommendation: hold for the 2nd approval; addressing the symmetric-normalization fix (#1) and the test (#3) before merge is advised since these are silent yield-loss paths. |
|
Addressed in 5a816b4. Verified NAVI v2's shape against the actual #1 (asymmetric key normalization) — fixed. Both #2 (snake_case dedup field) — fixed as a real bug, not just a naming nit. Not done yet:
|
Fetches Navi rewards directly via
getUserAvailableLendingRewardsfrom@naviprotocol/lending@^2.0.3(over a new gRPC Core client onBlockchain) instead of the integration API's/navi-params/rewardsendpoint. Adds a local.d.tsshim since NAVI v2's split declarations don't resolve undermoduleResolution: NodeNext.