@openzeppelin/ui-renderer 1.0.2 → 1.0.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/dist/index.cjs CHANGED
@@ -987,6 +987,10 @@ function getFieldSpecificProps(field, renderFunctions, contractSchema) {
987
987
  defaultCollapsed: false
988
988
  };
989
989
  case "blockchain-address": return {};
990
+ case "bytes": return {
991
+ exactBytes: field.metadata?.exactBytes,
992
+ maxBytes: field.metadata?.maxBytes
993
+ };
990
994
  case "checkbox": return {};
991
995
  case "code-editor": return {
992
996
  language: field.codeEditorProps?.language || "json",