@mebtte/react-media-session
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -89,5 +89,7 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var _excluded = ["children"]; | ||
var MediaSession = function MediaSession(props) { | ||
var children = props.children, | ||
rest = _objectWithoutPropertiesLoose(props, ["children"]); | ||
rest = _objectWithoutPropertiesLoose(props, _excluded); | ||
@@ -94,0 +96,0 @@ useMediaSession(rest); |
@@ -86,5 +86,7 @@ import React, { useEffect, Fragment } from 'react'; | ||
var _excluded = ["children"]; | ||
var MediaSession = function MediaSession(props) { | ||
var children = props.children, | ||
rest = _objectWithoutPropertiesLoose(props, ["children"]); | ||
rest = _objectWithoutPropertiesLoose(props, _excluded); | ||
@@ -91,0 +93,0 @@ useMediaSession(rest); |
{ | ||
"name": "@mebtte/react-media-session", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "The react component that wraps MediaSession.", | ||
@@ -29,3 +29,3 @@ "author": "mebtte<hi@mebtte.com>", | ||
"peerDependencies": { | ||
"react": "^16.8.0" | ||
"react": ">=16.8.0" | ||
}, | ||
@@ -32,0 +32,0 @@ "devDependencies": { |
@@ -1,2 +0,2 @@ | ||
# react-media-session | ||
# react-media-session [![version](https://img.shields.io/npm/v/@mebtte/react-media-session)](https://www.npmjs.com/package/@mebtte/react-media-session) [![license](https://img.shields.io/npm/l/@mebtte/react-media-session)](https://github.com/mebtte/react-media-session/blob/master/LICENSE) | ||
@@ -3,0 +3,0 @@ The react component that wraps `mediaSession`. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
575669
332