@razorpay/blade 5.1.5 → 5.2.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.
@@ -4763,7 +4763,7 @@ var useBreakpoint = function useBreakpoint(_ref) {
4763
4763
  var _window;
4764
4764
 
4765
4765
  var breakpoints = _ref.breakpoints;
4766
- var supportsMatchMedia = typeof document !== 'undefined' && typeof ((_window = window) === null || _window === void 0 ? void 0 : _window.matchMedia) === 'function';
4766
+ var supportsMatchMedia = typeof document !== 'undefined' && typeof window !== 'undefined' && typeof ((_window = window) === null || _window === void 0 ? void 0 : _window.matchMedia) === 'function';
4767
4767
  var breakpointsTokenAndQueryCollection = useMemo(function () {
4768
4768
  return supportsMatchMedia ? Object.entries(breakpoints).map(function (_ref2, index, breakpointsArray) {
4769
4769
  var _ref3 = _slicedToArray(_ref2, 2),