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.js
CHANGED
|
@@ -11869,9 +11869,10 @@ var Deployer = class {
|
|
|
11869
11869
|
const compiledConstructorCallData = getCompiledCalldata(constructorCalldata, () => {
|
|
11870
11870
|
if (abi) {
|
|
11871
11871
|
const calldataClass = new CallData(abi);
|
|
11872
|
-
|
|
11873
|
-
|
|
11874
|
-
|
|
11872
|
+
if (Array.isArray(constructorCalldata)) {
|
|
11873
|
+
calldataClass.validate(ValidateType.DEPLOY, "constructor", constructorCalldata);
|
|
11874
|
+
}
|
|
11875
|
+
return calldataClass.compile("constructor", constructorCalldata);
|
|
11875
11876
|
}
|
|
11876
11877
|
return CallData.compile(constructorCalldata);
|
|
11877
11878
|
});
|