starknet 5.19.1 → 5.19.2
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 +1 -3
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3698,7 +3698,7 @@ var validateArray = (parameter, input, structs, enums) => {
|
|
|
3698
3698
|
case isTypeEnum(baseType, enums):
|
|
3699
3699
|
parameter.forEach((it) => validateEnum(it, { name: input.name, type: baseType }));
|
|
3700
3700
|
break;
|
|
3701
|
-
case isTypeUint(baseType):
|
|
3701
|
+
case (isTypeUint(baseType) || isTypeLitteral(baseType)):
|
|
3702
3702
|
parameter.forEach((param) => validateUint(param, input));
|
|
3703
3703
|
break;
|
|
3704
3704
|
case isTypeBool(baseType):
|
|
@@ -3725,8 +3725,6 @@ function validateFields(abiMethod, args, structs, enums) {
|
|
|
3725
3725
|
case isTypeBool(input.type):
|
|
3726
3726
|
validateBool(parameter, input);
|
|
3727
3727
|
break;
|
|
3728
|
-
case isTypeContractAddress(input.type):
|
|
3729
|
-
break;
|
|
3730
3728
|
case isTypeArray(input.type):
|
|
3731
3729
|
validateArray(parameter, input, structs, enums);
|
|
3732
3730
|
break;
|