starknet 10.7.2 → 10.7.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.
package/dist/index.mjs CHANGED
@@ -11684,9 +11684,10 @@ var Deployer = class {
11684
11684
  const compiledConstructorCallData = getCompiledCalldata(constructorCalldata, () => {
11685
11685
  if (abi) {
11686
11686
  const calldataClass = new CallData(abi);
11687
- const rawArgs = Object.values(constructorCalldata);
11688
- calldataClass.validate(ValidateType.DEPLOY, "constructor", rawArgs);
11689
- return calldataClass.compile("constructor", rawArgs);
11687
+ if (Array.isArray(constructorCalldata)) {
11688
+ calldataClass.validate(ValidateType.DEPLOY, "constructor", constructorCalldata);
11689
+ }
11690
+ return calldataClass.compile("constructor", constructorCalldata);
11690
11691
  }
11691
11692
  return CallData.compile(constructorCalldata);
11692
11693
  });