• Vignesh Mohankumar's avatar
    feat: add retry logic for dynamic imports (#6512) · 1f755e8b
    Vignesh Mohankumar authored
    * feat: add retry logic for lazy import
    
    * try again
    
    * add tests
    
    * refactor: moves retry helper to subfolder
    
    * missing-files
    
    * fix
    
    * doc comment
    
    * tsdoc
    
    * fake timers
    
    * fix
    
    * add eslint rule
    
    * try again?
    
    * try again?
    
    * only dynamic
    
    * try again
    
    * try again
    
    * IT WORKS
    
    * add retry
    
    * fix
    
    * add test
    
    * warn -> error
    
    * lint
    
    * lint
    
    * lint
    
    * add back cache
    
    * rm test
    
    * try again
    
    * real timers but really short intervals
    
    * try returning the promise?
    
    * try returning the promise?
    
    * try this package
    
    * retry
    
    * Update src/utils/retry.ts
    Co-authored-by: default avatarZach Pomerantz <zzmp@uniswap.org>
    
    * Update rules/enforce-retry-on-import.js
    Co-authored-by: default avatarZach Pomerantz <zzmp@uniswap.org>
    
    * Update rules/enforce-retry-on-import.js
    Co-authored-by: default avatarZach Pomerantz <zzmp@uniswap.org>
    
    * eslint_rules
    
    * test fixes
    
    * name
    
    * fix
    
    ---------
    Co-authored-by: default avatarZach Pomerantz <zzmp@uniswap.org>
    1f755e8b
enforce-retry-on-import.js 1.03 KB