soundcloud-wrapper 0.9.9 → 0.9.10

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/index.d.ts CHANGED
@@ -38,7 +38,7 @@ export default class SoundCloudClient {
38
38
  getTrackReposters(authToken: string, trackId: number): Promise<Types.Users>
39
39
  getRelatedTracks(authToken: string, trackId: number): Promise<Types.Track[]>
40
40
  addComment(authToken: string, trackId: number, comment: { comment: { body: string; timestamp: number } }): Promise<Types.Comment>
41
- updateTrack(authToken: string, trackId: number, data: Types.UpdateTrackData): Promise<Types.Track>
41
+ updateTrack(authToken: string, trackId: number, data: Types.TrackData): Promise<Types.Track>
42
42
  deleteTrack(authToken: string, trackId: number): Promise<string>
43
43
  }
44
44
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "soundcloud-wrapper",
3
- "version": "0.9.9",
3
+ "version": "0.9.10",
4
4
  "description": "Node wrapper for the SoundCloud API",
5
5
  "main": "dist/index.js",
6
6
  "types": "index.d.ts",
package/types.d.ts CHANGED
@@ -159,7 +159,7 @@ export interface Tracks {
159
159
  next_href: string
160
160
  }
161
161
 
162
- export interface UpdateTrackData {
162
+ export interface TrackData {
163
163
  track: {
164
164
  title: string
165
165
  permalink: string