starknet 10.4.0 → 10.5.0

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
@@ -13512,12 +13512,14 @@ var Contract = class _Contract {
13512
13512
  }
13513
13513
  throw Error("Contract must be connected to the account contract to estimate");
13514
13514
  }
13515
+ compile(method, args = []) {
13516
+ return getCompiledCalldata(args, () => this.callData.compile(method, args));
13517
+ }
13515
13518
  populate(method, args = []) {
13516
- const calldata = getCompiledCalldata(args, () => this.callData.compile(method, args));
13517
13519
  return {
13518
13520
  contractAddress: this.address,
13519
13521
  entrypoint: method,
13520
- calldata
13522
+ calldata: this.compile(method, args)
13521
13523
  };
13522
13524
  }
13523
13525
  parseEvents(receipt) {