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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [10.7.3](https://github.com/starknet-io/starknet.js/compare/v10.7.2...v10.7.3) (2026-09-08)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **deployer:** preserve constructor argument names before ABI ordering ([b27222a](https://github.com/starknet-io/starknet.js/commit/b27222afbacf86d0d035b895d4faf0935a305d04))
6
+
1
7
  ## [10.7.2](https://github.com/starknet-io/starknet.js/compare/v10.7.1...v10.7.2) (2026-09-08)
2
8
 
3
9
  ### Bug Fixes
@@ -16905,9 +16905,10 @@ ${indent}}` : "}";
16905
16905
  const compiledConstructorCallData = getCompiledCalldata(constructorCalldata, () => {
16906
16906
  if (abi) {
16907
16907
  const calldataClass = new CallData(abi);
16908
- const rawArgs = Object.values(constructorCalldata);
16909
- calldataClass.validate(ValidateType.DEPLOY, "constructor", rawArgs);
16910
- return calldataClass.compile("constructor", rawArgs);
16908
+ if (Array.isArray(constructorCalldata)) {
16909
+ calldataClass.validate(ValidateType.DEPLOY, "constructor", constructorCalldata);
16910
+ }
16911
+ return calldataClass.compile("constructor", constructorCalldata);
16911
16912
  }
16912
16913
  return CallData.compile(constructorCalldata);
16913
16914
  });