@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 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 && BigInt(token.amount) > 0n;
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 && BigInt(token.amount) > 0n;
1023
+ return !!token && Number(token.amount) > 0;
1024
1024
  } catch {
1025
1025
  return false;
1026
1026
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owney/sdk",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",