@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.
@@ -9395,8 +9395,13 @@ var Client = class _Client {
9395
9395
  CHAIN_IDS[network]
9396
9396
  );
9397
9397
  }
9398
- static async fromRestUrl(restUrl, wallet, txOpts = DEFAULT_TRANSACTION_OPTS, chainId = 4321) {
9399
- return await _Client.fromEndpoints({ rest: restUrl }, wallet, txOpts, chainId);
9398
+ static async fromRestUrl(restUrl, wallet, network, txOpts = DEFAULT_TRANSACTION_OPTS) {
9399
+ return await _Client.fromEndpoints(
9400
+ { rest: restUrl },
9401
+ wallet,
9402
+ txOpts,
9403
+ CHAIN_IDS[network]
9404
+ );
9400
9405
  }
9401
9406
  setGenerationOverride(generation) {
9402
9407
  this.generationOverride = generation;