@owney/sdk 0.3.2 → 0.3.3
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/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1050,7 +1050,7 @@ var OwneySDK = class {
|
|
|
1050
1050
|
const token = balance.tokens.find(
|
|
1051
1051
|
(t) => t.chainId === chainId && t.asset.toLowerCase() === target
|
|
1052
1052
|
);
|
|
1053
|
-
return !!token &&
|
|
1053
|
+
return !!token && Number(token.amount) > 0;
|
|
1054
1054
|
} catch {
|
|
1055
1055
|
return false;
|
|
1056
1056
|
}
|
package/dist/index.js
CHANGED
|
@@ -1020,7 +1020,7 @@ var OwneySDK = class {
|
|
|
1020
1020
|
const token = balance.tokens.find(
|
|
1021
1021
|
(t) => t.chainId === chainId && t.asset.toLowerCase() === target
|
|
1022
1022
|
);
|
|
1023
|
-
return !!token &&
|
|
1023
|
+
return !!token && Number(token.amount) > 0;
|
|
1024
1024
|
} catch {
|
|
1025
1025
|
return false;
|
|
1026
1026
|
}
|