Is there no way to hide variants in the new version of Resource Picker?

On previous version of ResourcePicker from AppBridge, we had showVariants prop to show/hide variants when the resource type was set to “Product”. In new Resource Picker, I don’t see such option. Is it really missing in new version?

You should be able to use the following:

shopify.resourcePicker({
  type: "product",
  filter: {
    variants: false
  }
});