@toruslabs/ethereum-controllers 5.9.0 → 5.9.1

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.
@@ -4717,7 +4717,7 @@ class PreferencesController extends base_controllers_namespaceObject.BasePrefere
4717
4717
  }
4718
4718
  return false;
4719
4719
  } catch (error) {
4720
- if (base_controllers_namespaceObject.isUnauthorizedError) {
4720
+ if ((0,base_controllers_namespaceObject.isUnauthorizedError)(error)) {
4721
4721
  throw error;
4722
4722
  }
4723
4723
  external_loglevel_default().error(error);
@@ -4313,7 +4313,7 @@ class PreferencesController extends BasePreferencesController {
4313
4313
  }
4314
4314
  return false;
4315
4315
  } catch (error) {
4316
- if (isUnauthorizedError) {
4316
+ if (isUnauthorizedError(error)) {
4317
4317
  throw error;
4318
4318
  }
4319
4319
  log.error(error);