magmastream 2.5.2 → 2.5.3

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
@@ -349,6 +349,8 @@ interface Track {
349
349
  displayThumbnail(size?: Sizes): string;
350
350
  /** Additional track info provided by plugins. */
351
351
  pluginInfo: TrackPluginInfo;
352
+ /** Add your own data to the track. */
353
+ customData: Record<string, unknown>;
352
354
  }
353
355
  interface TrackPluginInfo {
354
356
  albumName?: string;
@@ -89,6 +89,7 @@ class TrackUtils {
89
89
  isPreview: data.pluginInfo?.isPreview,
90
90
  previewUrl: data.pluginInfo?.previewUrl,
91
91
  },
92
+ customData: {},
92
93
  };
93
94
  track.displayThumbnail = track.displayThumbnail.bind(track);
94
95
  if (this.trackPartial) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magmastream",
3
- "version": "2.5.2",
3
+ "version": "2.5.3",
4
4
  "description": "A user-friendly Lavalink client designed for NodeJS.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",