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 +6 -0
- package/dist/index.global.js +4 -3
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
11688
|
-
|
|
11689
|
-
|
|
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
|
});
|