@metamask-previews/permission-controller 11.0.5-preview-ca1f35f → 11.0.5-preview-e05b7d3e

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.
@@ -866,7 +866,6 @@ class PermissionController extends base_controller_1.BaseController {
866
866
  */
867
867
  validateCaveat(caveat, origin, target) {
868
868
  if (!(0, controller_utils_1.isPlainObject)(caveat)) {
869
- // eslint-disable-next-line @typescript-eslint/no-throw-literal
870
869
  throw new errors_1.InvalidCaveatError(caveat, origin, target);
871
870
  }
872
871
  if (Object.keys(caveat).length !== 2) {