diff --git a/.gitignore b/.gitignore index d89822f..c97f8a2 100755 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ yarn-error.log* package-lock.json dist +yarn.lock diff --git a/package.json b/package.json index 02712d4..6d9f7a1 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-mouse-particles", - "version": "1.1.3", + "version": "1.1.5", "description": "A mouse particle effect react component", "author": "lindelof", "license": "MIT", @@ -53,7 +53,9 @@ "dist" ], "dependencies": { + "power-mode-input": "^1.0.3", "proton-engine": "^4.1.3", - "raf-manager": "^0.3.0" + "raf-manager": "^0.3.0", + "react-mouse-particles": "1.1.3" } } diff --git a/src/index.js b/src/index.js index fc0f9ae..f43e4b8 100755 --- a/src/index.js +++ b/src/index.js @@ -25,7 +25,7 @@ class MouseParticles extends React.Component { this.dom.style.top = "0px"; this.dom.style.zIndex = 9999; this.dom.style.pointerEvents = "none"; - this.dom.id = `rmps_${(Math.random() * 999999) >> 0}`; + this.dom.id = `mouse_ps_${(Math.random() * 999999) >> 0}`; document.body.appendChild(this.dom); }