@ndlib/component-library 1.0.11 → 1.0.12

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.
@@ -116,7 +116,7 @@ export const AlertsProvider = ({ domain = ALERT_DOMAIN.LIBRARY, endpoint, startT
116
116
  };
117
117
  const filteredAlerts = alerts
118
118
  .filter((alert) => !dismissedAlerts.includes(alert.uuid))
119
- .filter((alert) => alert.domains.includes(domain));
119
+ .filter((alert) => { var _a; return (_a = alert === null || alert === void 0 ? void 0 : alert.domains) === null || _a === void 0 ? void 0 : _a.includes(domain); });
120
120
  return (_jsx(AlertsContext.Provider, Object.assign({ value: {
121
121
  alerts: filteredAlerts,
122
122
  dismiss,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndlib/component-library",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "files": [