thirdweb 5.114.1 → 5.114.2-nightly-41e2ccb67dc9a76f856dbe76834bd258fb80786d-20251202000348

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.
@@ -1,2 +1,2 @@
1
- export declare const version = "5.114.1";
1
+ export declare const version = "5.114.2-nightly-41e2ccb67dc9a76f856dbe76834bd258fb80786d-20251202000348";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,YAAY,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,4EAA4E,CAAC"}
package/package.json CHANGED
@@ -39,8 +39,8 @@
39
39
  "viem": "2.39.0",
40
40
  "x402": "0.7.0",
41
41
  "zod": "3.25.75",
42
- "@thirdweb-dev/insight": "1.1.1",
43
- "@thirdweb-dev/engine": "3.4.0"
42
+ "@thirdweb-dev/engine": "3.4.0",
43
+ "@thirdweb-dev/insight": "1.1.1"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@aws-sdk/client-kms": "3.592.0",
@@ -399,7 +399,7 @@
399
399
  }
400
400
  },
401
401
  "typings": "./dist/types/exports/thirdweb.d.ts",
402
- "version": "5.114.1",
402
+ "version": "5.114.2-nightly-41e2ccb67dc9a76f856dbe76834bd258fb80786d-20251202000348",
403
403
  "scripts": {
404
404
  "bench": "vitest -c ./test/vitest.config.ts bench",
405
405
  "bench:compare": "bun run ./benchmarks/run.ts",
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = "5.114.1";
1
+ export const version = "5.114.2-nightly-41e2ccb67dc9a76f856dbe76834bd258fb80786d-20251202000348";
@@ -44,7 +44,7 @@ export async function getWalletBalance(
44
44
  ): Promise<GetBalanceResult> {
45
45
  const { address, client, chain, tokenAddress } = options;
46
46
  // erc20 case
47
- if (tokenAddress) {
47
+ if (tokenAddress && tokenAddress !== NATIVE_TOKEN_ADDRESS) {
48
48
  // load balanceOf dynamically to avoid circular dependency
49
49
  const { getBalance } = await import(
50
50
  "../../extensions/erc20/read/getBalance.js"