• cartcrom's avatar
    fix: add retries to relay network layer (#5485) · a611cd03
    cartcrom authored
    * implemented relay modern
    
    * cleaned up relay env
    
    * added max number of retries
    
    * remove caching layer
    
    * fixed sparkline caching
    
    * updated retry vars
    
    * moved delay backoff logic into sep function
    
    * inlined beforeRetry
    
    * deduplicated
    
    * added custom error middleware
    
    * added custom error middleware
    
    * empty array
    
    * update
    
    * clear errors
    
    * only if errors exist
    
    * check length
    
    * fix: create empty data on error
    
    * fix: rm unnecessary types
    
    * fix: rm unnecessary import
    
    * fix: return empty data if res.errors
    
    * fix: clear errors but do ont throw
    
    * fix: use noThrow
    
    * retry explicit array
    
    * reordered middleware
    Co-authored-by: default avatarVignesh Mohankumar <me@vig.xyz>
    Co-authored-by: default avatarZach Pomerantz <zzmp@uniswap.org>
    a611cd03
Name
Last commit
Last update
..
nft Loading commit data...
RelayEnvironment.ts Loading commit data...
Token.ts Loading commit data...
TokenPrice.ts Loading commit data...
TopTokens.ts Loading commit data...
util.ts Loading commit data...