@bulletxyz/bullet-sdk 0.27.2-rc.2 → 0.27.2-rc.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.
@@ -9381,8 +9381,13 @@ var Client = class _Client {
9381
9381
  CHAIN_IDS[network]
9382
9382
  );
9383
9383
  }
9384
- static async fromRestUrl(restUrl, wallet, txOpts = DEFAULT_TRANSACTION_OPTS, chainId = 4321) {
9385
- return await _Client.fromEndpoints({ rest: restUrl }, wallet, txOpts, chainId);
9384
+ static async fromRestUrl(restUrl, wallet, network, txOpts = DEFAULT_TRANSACTION_OPTS) {
9385
+ return await _Client.fromEndpoints(
9386
+ { rest: restUrl },
9387
+ wallet,
9388
+ txOpts,
9389
+ CHAIN_IDS[network]
9390
+ );
9386
9391
  }
9387
9392
  setGenerationOverride(generation) {
9388
9393
  this.generationOverride = generation;