@debridge-finance/solana-utils 6.2.1 → 6.2.2

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.
@@ -13151,6 +13151,9 @@ function getTokenInfo(connection_1, tokenAddress_1) {
13151
13151
  TOKEN_PROGRAM_CACHE.del(tokenAddressStr);
13152
13152
  }
13153
13153
  return res;
13154
+ }, (error) => {
13155
+ TOKEN_PROGRAM_CACHE.del(tokenAddressStr);
13156
+ throw error;
13154
13157
  });
13155
13158
  TOKEN_PROGRAM_CACHE.set(tokenAddressStr, wrapped);
13156
13159
  return wrapped;