visual-song 0.14.1 → 0.14.2

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.
package/dist/index.d.ts CHANGED
@@ -70,6 +70,7 @@ type VisualSongRef = {
70
70
  getUseSinWaveOnly(): boolean;
71
71
  setRenderMode(mode: RenderMode): void;
72
72
  clearSoundTexture(): void;
73
+ getCanvasRef(): HTMLCanvasElement | null;
73
74
  };
74
75
  type Props = {
75
76
  style?: React.CSSProperties;
package/dist/index.js CHANGED
@@ -6417,6 +6417,9 @@ const VisualSong = /*#__PURE__*/ forwardRef(function VisualSong({ style, backgro
6417
6417
  },
6418
6418
  clearSoundTexture () {
6419
6419
  playerRef.current.clearSoundTexture();
6420
+ },
6421
+ getCanvasRef () {
6422
+ return canvasRef.current;
6420
6423
  }
6421
6424
  }), []);
6422
6425
  useEffect(()=>{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "visual-song",
3
- "version": "0.14.1",
3
+ "version": "0.14.2",
4
4
  "description": "visual-song core library",
5
5
  "author": "kunyoungparkk (rjsdud3263@gmail.com)",
6
6
  "license": "MIT",