@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.
- package/dist/browser/index.js +3 -0
- package/dist/browser/index.js.map +1 -1
- package/dist/cjs/spl.js +3 -0
- package/dist/cjs/spl.js.map +1 -1
- package/dist/esm/spl.js +3 -0
- package/dist/esm/spl.js.map +1 -1
- package/dist/types/spl.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/browser/index.js
CHANGED
|
@@ -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;
|