@heyanon/sdk 2.3.9 → 2.3.10

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.js CHANGED
@@ -626,6 +626,8 @@ function normalizeAddress(chain, address) {
626
626
  return "0:0000000000000000000000000000000000000000000000000000000000000000";
627
627
  }
628
628
  }
629
+ if (isEvmChain2(chain))
630
+ return viem.getAddress(address);
629
631
  if (chain === "ton" /* TON */) {
630
632
  const tonAddress = ton.Address.parse(address);
631
633
  return tonAddress.toRawString();
package/dist/index.mjs CHANGED
@@ -624,6 +624,8 @@ function normalizeAddress(chain, address) {
624
624
  return "0:0000000000000000000000000000000000000000000000000000000000000000";
625
625
  }
626
626
  }
627
+ if (isEvmChain2(chain))
628
+ return getAddress(address);
627
629
  if (chain === "ton" /* TON */) {
628
630
  const tonAddress = Address.parse(address);
629
631
  return tonAddress.toRawString();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heyanon/sdk",
3
- "version": "2.3.9",
3
+ "version": "2.3.10",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",