@bulletxyz/bullet-sdk 0.49.0 → 0.49.1

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.
@@ -1584,11 +1584,6 @@ function serialize(value) {
1584
1584
  return value;
1585
1585
  if (Decimal.isDecimal(value))
1586
1586
  return value.toFixed();
1587
- if (typeof value === "bigint") {
1588
- if (value > BigInt(Number.MAX_SAFE_INTEGER))
1589
- throw new Error(`BigInt value ${value} is too large for safe conversion`);
1590
- return Number(value);
1591
- }
1592
1587
  if (value instanceof Set)
1593
1588
  return Array.from(value).map(serialize);
1594
1589
  if (value instanceof Map)
@@ -2545,7 +2540,7 @@ class ReadOnlyClient {
2545
2540
  if (!this.assetInfoRegistry)
2546
2541
  throw new Error("Asset registry not initialized. Call initializeRegistries() first.");
2547
2542
  let assetInfo = this.assetInfoRegistry.get(assetName);
2548
- if (!assetInfo || !assetInfo.tokenId)
2543
+ if (!assetInfo?.tokenId)
2549
2544
  throw new Error(`Token address not found for asset ${assetName}`);
2550
2545
  return assetInfo.tokenId;
2551
2546
  }
@@ -4383,4 +4378,4 @@ export {
4383
4378
  AbortError
4384
4379
  };
4385
4380
 
4386
- //# debugId=24E3F09FB1FA122264756E2164756E21
4381
+ //# debugId=65B58AB2152EEFD764756E2164756E21