@sundaeswap/wallet-lite 0.0.23 → 0.0.24

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sundaeswap/wallet-lite",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/index.js",
@@ -572,7 +572,7 @@ export class WalletObserver<
572
572
 
573
573
  let attempts = 0;
574
574
  let newMetadata: Map<string, AssetMetadata> | undefined;
575
- while (attempts <= 3) {
575
+ while (attempts <= 3 && !newMetadata) {
576
576
  try {
577
577
  newMetadata = await this._options.metadataResolver(
578
578
  assetIds.map(normalizeAssetIdWithDot),