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.mjs CHANGED
@@ -13329,12 +13329,14 @@ var Contract = class _Contract {
13329
13329
  }
13330
13330
  throw Error("Contract must be connected to the account contract to estimate");
13331
13331
  }
13332
+ compile(method, args = []) {
13333
+ return getCompiledCalldata(args, () => this.callData.compile(method, args));
13334
+ }
13332
13335
  populate(method, args = []) {
13333
- const calldata = getCompiledCalldata(args, () => this.callData.compile(method, args));
13334
13336
  return {
13335
13337
  contractAddress: this.address,
13336
13338
  entrypoint: method,
13337
- calldata
13339
+ calldata: this.compile(method, args)
13338
13340
  };
13339
13341
  }
13340
13342
  parseEvents(receipt) {