soundcloud-api-ts 1.10.1 → 1.10.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/{chunk-RETVFKZM.mjs → chunk-ACK4KMGD.mjs} +10 -7
- package/dist/chunk-ACK4KMGD.mjs.map +1 -0
- package/dist/{chunk-YKKLNC4A.js → chunk-J2PMIV3Z.js} +10 -7
- package/dist/chunk-J2PMIV3Z.js.map +1 -0
- package/dist/cli.js +6 -6
- package/dist/cli.mjs +1 -1
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +63 -63
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-RETVFKZM.mjs.map +0 -1
- package/dist/chunk-YKKLNC4A.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,257 +1,257 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkJ2PMIV3Z_js = require('./chunk-J2PMIV3Z.js');
|
|
4
4
|
var chunkMLVA534Z_js = require('./chunk-MLVA534Z.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "SoundCloudClient", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkJ2PMIV3Z_js.SoundCloudClient; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "createPlaylist", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkJ2PMIV3Z_js.createPlaylist; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "createTrackComment", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkJ2PMIV3Z_js.createTrackComment; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "deletePlaylist", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkJ2PMIV3Z_js.deletePlaylist; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "deleteTrack", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkJ2PMIV3Z_js.deleteTrack; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "fetchAll", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkJ2PMIV3Z_js.fetchAll; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "followUser", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkJ2PMIV3Z_js.followUser; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "generateCodeChallenge", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkJ2PMIV3Z_js.generateCodeChallenge; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "generateCodeVerifier", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkJ2PMIV3Z_js.generateCodeVerifier; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "getAuthorizationUrl", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkJ2PMIV3Z_js.getAuthorizationUrl; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "getClientToken", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkJ2PMIV3Z_js.getClientToken; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "getFollowers", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkJ2PMIV3Z_js.getFollowers; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "getFollowings", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkJ2PMIV3Z_js.getFollowings; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "getMe", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkJ2PMIV3Z_js.getMe; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "getMeActivities", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkJ2PMIV3Z_js.getMeActivities; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "getMeActivitiesOwn", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkJ2PMIV3Z_js.getMeActivitiesOwn; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "getMeActivitiesTracks", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkJ2PMIV3Z_js.getMeActivitiesTracks; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "getMeFollowers", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkJ2PMIV3Z_js.getMeFollowers; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "getMeFollowings", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkJ2PMIV3Z_js.getMeFollowings; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "getMeFollowingsTracks", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkJ2PMIV3Z_js.getMeFollowingsTracks; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "getMeLikesPlaylists", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkJ2PMIV3Z_js.getMeLikesPlaylists; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "getMeLikesTracks", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkJ2PMIV3Z_js.getMeLikesTracks; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "getMePlaylists", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkJ2PMIV3Z_js.getMePlaylists; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "getMeTracks", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkJ2PMIV3Z_js.getMeTracks; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "getPlaylist", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkJ2PMIV3Z_js.getPlaylist; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "getPlaylistReposts", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkJ2PMIV3Z_js.getPlaylistReposts; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "getPlaylistTracks", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkJ2PMIV3Z_js.getPlaylistTracks; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "getRelatedTracks", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkJ2PMIV3Z_js.getRelatedTracks; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "getSoundCloudWidgetUrl", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkJ2PMIV3Z_js.getSoundCloudWidgetUrl; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "getTrack", {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkJ2PMIV3Z_js.getTrack; }
|
|
127
127
|
});
|
|
128
128
|
Object.defineProperty(exports, "getTrackComments", {
|
|
129
129
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkJ2PMIV3Z_js.getTrackComments; }
|
|
131
131
|
});
|
|
132
132
|
Object.defineProperty(exports, "getTrackLikes", {
|
|
133
133
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkJ2PMIV3Z_js.getTrackLikes; }
|
|
135
135
|
});
|
|
136
136
|
Object.defineProperty(exports, "getTrackReposts", {
|
|
137
137
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkJ2PMIV3Z_js.getTrackReposts; }
|
|
139
139
|
});
|
|
140
140
|
Object.defineProperty(exports, "getTrackStreams", {
|
|
141
141
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkJ2PMIV3Z_js.getTrackStreams; }
|
|
143
143
|
});
|
|
144
144
|
Object.defineProperty(exports, "getUser", {
|
|
145
145
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkJ2PMIV3Z_js.getUser; }
|
|
147
147
|
});
|
|
148
148
|
Object.defineProperty(exports, "getUserLikesPlaylists", {
|
|
149
149
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkJ2PMIV3Z_js.getUserLikesPlaylists; }
|
|
151
151
|
});
|
|
152
152
|
Object.defineProperty(exports, "getUserLikesTracks", {
|
|
153
153
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkJ2PMIV3Z_js.getUserLikesTracks; }
|
|
155
155
|
});
|
|
156
156
|
Object.defineProperty(exports, "getUserPlaylists", {
|
|
157
157
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkJ2PMIV3Z_js.getUserPlaylists; }
|
|
159
159
|
});
|
|
160
160
|
Object.defineProperty(exports, "getUserToken", {
|
|
161
161
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkJ2PMIV3Z_js.getUserToken; }
|
|
163
163
|
});
|
|
164
164
|
Object.defineProperty(exports, "getUserTracks", {
|
|
165
165
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkJ2PMIV3Z_js.getUserTracks; }
|
|
167
167
|
});
|
|
168
168
|
Object.defineProperty(exports, "getUserWebProfiles", {
|
|
169
169
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkJ2PMIV3Z_js.getUserWebProfiles; }
|
|
171
171
|
});
|
|
172
172
|
Object.defineProperty(exports, "likePlaylist", {
|
|
173
173
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkJ2PMIV3Z_js.likePlaylist; }
|
|
175
175
|
});
|
|
176
176
|
Object.defineProperty(exports, "likeTrack", {
|
|
177
177
|
enumerable: true,
|
|
178
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunkJ2PMIV3Z_js.likeTrack; }
|
|
179
179
|
});
|
|
180
180
|
Object.defineProperty(exports, "paginate", {
|
|
181
181
|
enumerable: true,
|
|
182
|
-
get: function () { return
|
|
182
|
+
get: function () { return chunkJ2PMIV3Z_js.paginate; }
|
|
183
183
|
});
|
|
184
184
|
Object.defineProperty(exports, "paginateItems", {
|
|
185
185
|
enumerable: true,
|
|
186
|
-
get: function () { return
|
|
186
|
+
get: function () { return chunkJ2PMIV3Z_js.paginateItems; }
|
|
187
187
|
});
|
|
188
188
|
Object.defineProperty(exports, "refreshUserToken", {
|
|
189
189
|
enumerable: true,
|
|
190
|
-
get: function () { return
|
|
190
|
+
get: function () { return chunkJ2PMIV3Z_js.refreshUserToken; }
|
|
191
191
|
});
|
|
192
192
|
Object.defineProperty(exports, "repostPlaylist", {
|
|
193
193
|
enumerable: true,
|
|
194
|
-
get: function () { return
|
|
194
|
+
get: function () { return chunkJ2PMIV3Z_js.repostPlaylist; }
|
|
195
195
|
});
|
|
196
196
|
Object.defineProperty(exports, "repostTrack", {
|
|
197
197
|
enumerable: true,
|
|
198
|
-
get: function () { return
|
|
198
|
+
get: function () { return chunkJ2PMIV3Z_js.repostTrack; }
|
|
199
199
|
});
|
|
200
200
|
Object.defineProperty(exports, "resolveUrl", {
|
|
201
201
|
enumerable: true,
|
|
202
|
-
get: function () { return
|
|
202
|
+
get: function () { return chunkJ2PMIV3Z_js.resolveUrl; }
|
|
203
203
|
});
|
|
204
204
|
Object.defineProperty(exports, "scFetch", {
|
|
205
205
|
enumerable: true,
|
|
206
|
-
get: function () { return
|
|
206
|
+
get: function () { return chunkJ2PMIV3Z_js.scFetch; }
|
|
207
207
|
});
|
|
208
208
|
Object.defineProperty(exports, "scFetchUrl", {
|
|
209
209
|
enumerable: true,
|
|
210
|
-
get: function () { return
|
|
210
|
+
get: function () { return chunkJ2PMIV3Z_js.scFetchUrl; }
|
|
211
211
|
});
|
|
212
212
|
Object.defineProperty(exports, "searchPlaylists", {
|
|
213
213
|
enumerable: true,
|
|
214
|
-
get: function () { return
|
|
214
|
+
get: function () { return chunkJ2PMIV3Z_js.searchPlaylists; }
|
|
215
215
|
});
|
|
216
216
|
Object.defineProperty(exports, "searchTracks", {
|
|
217
217
|
enumerable: true,
|
|
218
|
-
get: function () { return
|
|
218
|
+
get: function () { return chunkJ2PMIV3Z_js.searchTracks; }
|
|
219
219
|
});
|
|
220
220
|
Object.defineProperty(exports, "searchUsers", {
|
|
221
221
|
enumerable: true,
|
|
222
|
-
get: function () { return
|
|
222
|
+
get: function () { return chunkJ2PMIV3Z_js.searchUsers; }
|
|
223
223
|
});
|
|
224
224
|
Object.defineProperty(exports, "signOut", {
|
|
225
225
|
enumerable: true,
|
|
226
|
-
get: function () { return
|
|
226
|
+
get: function () { return chunkJ2PMIV3Z_js.signOut; }
|
|
227
227
|
});
|
|
228
228
|
Object.defineProperty(exports, "unfollowUser", {
|
|
229
229
|
enumerable: true,
|
|
230
|
-
get: function () { return
|
|
230
|
+
get: function () { return chunkJ2PMIV3Z_js.unfollowUser; }
|
|
231
231
|
});
|
|
232
232
|
Object.defineProperty(exports, "unlikePlaylist", {
|
|
233
233
|
enumerable: true,
|
|
234
|
-
get: function () { return
|
|
234
|
+
get: function () { return chunkJ2PMIV3Z_js.unlikePlaylist; }
|
|
235
235
|
});
|
|
236
236
|
Object.defineProperty(exports, "unlikeTrack", {
|
|
237
237
|
enumerable: true,
|
|
238
|
-
get: function () { return
|
|
238
|
+
get: function () { return chunkJ2PMIV3Z_js.unlikeTrack; }
|
|
239
239
|
});
|
|
240
240
|
Object.defineProperty(exports, "unrepostPlaylist", {
|
|
241
241
|
enumerable: true,
|
|
242
|
-
get: function () { return
|
|
242
|
+
get: function () { return chunkJ2PMIV3Z_js.unrepostPlaylist; }
|
|
243
243
|
});
|
|
244
244
|
Object.defineProperty(exports, "unrepostTrack", {
|
|
245
245
|
enumerable: true,
|
|
246
|
-
get: function () { return
|
|
246
|
+
get: function () { return chunkJ2PMIV3Z_js.unrepostTrack; }
|
|
247
247
|
});
|
|
248
248
|
Object.defineProperty(exports, "updatePlaylist", {
|
|
249
249
|
enumerable: true,
|
|
250
|
-
get: function () { return
|
|
250
|
+
get: function () { return chunkJ2PMIV3Z_js.updatePlaylist; }
|
|
251
251
|
});
|
|
252
252
|
Object.defineProperty(exports, "updateTrack", {
|
|
253
253
|
enumerable: true,
|
|
254
|
-
get: function () { return
|
|
254
|
+
get: function () { return chunkJ2PMIV3Z_js.updateTrack; }
|
|
255
255
|
});
|
|
256
256
|
Object.defineProperty(exports, "SoundCloudError", {
|
|
257
257
|
enumerable: true,
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { SoundCloudClient, createPlaylist, createTrackComment, deletePlaylist, deleteTrack, fetchAll, followUser, generateCodeChallenge, generateCodeVerifier, getAuthorizationUrl, getClientToken, getFollowers, getFollowings, getMe, getMeActivities, getMeActivitiesOwn, getMeActivitiesTracks, getMeFollowers, getMeFollowings, getMeFollowingsTracks, getMeLikesPlaylists, getMeLikesTracks, getMePlaylists, getMeTracks, getPlaylist, getPlaylistReposts, getPlaylistTracks, getRelatedTracks, getSoundCloudWidgetUrl, getTrack, getTrackComments, getTrackLikes, getTrackReposts, getTrackStreams, getUser, getUserLikesPlaylists, getUserLikesTracks, getUserPlaylists, getUserToken, getUserTracks, getUserWebProfiles, likePlaylist, likeTrack, paginate, paginateItems, refreshUserToken, repostPlaylist, repostTrack, resolveUrl, scFetch, scFetchUrl, searchPlaylists, searchTracks, searchUsers, signOut, unfollowUser, unlikePlaylist, unlikeTrack, unrepostPlaylist, unrepostTrack, updatePlaylist, updateTrack } from './chunk-
|
|
1
|
+
export { SoundCloudClient, createPlaylist, createTrackComment, deletePlaylist, deleteTrack, fetchAll, followUser, generateCodeChallenge, generateCodeVerifier, getAuthorizationUrl, getClientToken, getFollowers, getFollowings, getMe, getMeActivities, getMeActivitiesOwn, getMeActivitiesTracks, getMeFollowers, getMeFollowings, getMeFollowingsTracks, getMeLikesPlaylists, getMeLikesTracks, getMePlaylists, getMeTracks, getPlaylist, getPlaylistReposts, getPlaylistTracks, getRelatedTracks, getSoundCloudWidgetUrl, getTrack, getTrackComments, getTrackLikes, getTrackReposts, getTrackStreams, getUser, getUserLikesPlaylists, getUserLikesTracks, getUserPlaylists, getUserToken, getUserTracks, getUserWebProfiles, likePlaylist, likeTrack, paginate, paginateItems, refreshUserToken, repostPlaylist, repostTrack, resolveUrl, scFetch, scFetchUrl, searchPlaylists, searchTracks, searchUsers, signOut, unfollowUser, unlikePlaylist, unlikeTrack, unrepostPlaylist, unrepostTrack, updatePlaylist, updateTrack } from './chunk-ACK4KMGD.mjs';
|
|
2
2
|
export { SoundCloudError } from './chunk-QYYEWUIJ.mjs';
|
|
3
3
|
//# sourceMappingURL=index.mjs.map
|
|
4
4
|
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "soundcloud-api-ts",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.2",
|
|
4
4
|
"description": "TypeScript-first SoundCloud API client for accessing tracks, users, playlists, and search endpoints. Zero dependencies, native fetch, full OAuth 2.1 + PKCE support.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"sc-cli": "./dist/cli.js",
|