@micromag/core 0.3.601 → 0.3.606

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.
Files changed (2) hide show
  1. package/es/hooks.js +1 -4
  2. package/package.json +2 -2
package/es/hooks.js CHANGED
@@ -632,13 +632,10 @@ var useDimensionObserver = function useDimensionObserver() {
632
632
  var useIsVisible = function useIsVisible() {
633
633
  var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
634
634
  rootMargin = _ref.rootMargin,
635
- _ref$threshold = _ref.threshold,
636
- threshold = _ref$threshold === void 0 ? 1 : _ref$threshold,
637
635
  _ref$persist = _ref.persist,
638
636
  persist = _ref$persist === void 0 ? false : _ref$persist;
639
637
  var _useIntersectionObser = useIntersectionObserver({
640
- rootMargin: rootMargin,
641
- threshold: threshold
638
+ rootMargin: rootMargin
642
639
  }),
643
640
  ref = _useIntersectionObser.ref,
644
641
  isIntersecting = _useIntersectionObser.entry.isIntersecting;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/core",
3
- "version": "0.3.601",
3
+ "version": "0.3.606",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -144,5 +144,5 @@
144
144
  "access": "public",
145
145
  "registry": "https://registry.npmjs.org/"
146
146
  },
147
- "gitHead": "c8dbeaf7c5371ed96842ea6f79baf7f47256c0ff"
147
+ "gitHead": "0e2ee772952cc24e6824806bd23a7c65c8858c73"
148
148
  }