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.mjs
CHANGED
|
@@ -3602,7 +3602,7 @@ var validateArray = (parameter, input, structs, enums) => {
|
|
|
3602
3602
|
case isTypeEnum(baseType, enums):
|
|
3603
3603
|
parameter.forEach((it) => validateEnum(it, { name: input.name, type: baseType }));
|
|
3604
3604
|
break;
|
|
3605
|
-
case isTypeUint(baseType):
|
|
3605
|
+
case (isTypeUint(baseType) || isTypeLitteral(baseType)):
|
|
3606
3606
|
parameter.forEach((param) => validateUint(param, input));
|
|
3607
3607
|
break;
|
|
3608
3608
|
case isTypeBool(baseType):
|
|
@@ -3629,8 +3629,6 @@ function validateFields(abiMethod, args, structs, enums) {
|
|
|
3629
3629
|
case isTypeBool(input.type):
|
|
3630
3630
|
validateBool(parameter, input);
|
|
3631
3631
|
break;
|
|
3632
|
-
case isTypeContractAddress(input.type):
|
|
3633
|
-
break;
|
|
3634
3632
|
case isTypeArray(input.type):
|
|
3635
3633
|
validateArray(parameter, input, structs, enums);
|
|
3636
3634
|
break;
|