@audius/sdk 1.0.26 → 1.0.27

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.
@@ -33,4 +33,10 @@ export interface Favorite {
33
33
  * @memberof Favorite
34
34
  */
35
35
  user_id: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof Favorite
40
+ */
41
+ created_at: string;
36
42
  }
@@ -33,4 +33,10 @@ export interface Favorite {
33
33
  * @memberof Favorite
34
34
  */
35
35
  user_id: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof Favorite
40
+ */
41
+ created_at: string;
36
42
  }
@@ -132,6 +132,7 @@ export declare type TrackMetadata = {
132
132
  };
133
133
  dateListened?: string;
134
134
  duration: number;
135
+ is_playlist_upload?: boolean;
135
136
  };
136
137
  export declare type CollectionMetadata = {
137
138
  blocknumber: number;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@audius/sdk",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "audius": {
5
- "releaseSHA": "c33b51560db7e74b0a10d789cec501a5b60c3680"
5
+ "releaseSHA": "bf998b1ff9f70ff97839c33528dd08ffe1ff9236"
6
6
  },
7
7
  "description": "",
8
8
  "main": "dist/index.cjs.js",
@@ -38,6 +38,12 @@ export interface Favorite
38
38
  * @memberof Favorite
39
39
  */
40
40
  user_id: string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof Favorite
45
+ */
46
+ created_at: string;
41
47
  }
42
48
 
43
49
 
@@ -38,6 +38,12 @@ export interface Favorite
38
38
  * @memberof Favorite
39
39
  */
40
40
  user_id: string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof Favorite
45
+ */
46
+ created_at: string;
41
47
  }
42
48
 
43
49
 
@@ -1,70 +1,70 @@
1
1
  {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$ref": "#/definitions/Playlist",
4
- "definitions": {
5
- "Playlist": {
6
- "type": "object",
7
- "additionalProperties": true,
8
- "properties": {
9
- "playlist_id": {
10
- "type": ["integer", "null"],
11
- "default": null
12
- },
13
- "playlist_contents": {
14
- "type": "object",
15
- "$ref": "#/definitions/PlaylistContents",
16
- "default": {
17
- "track_ids": []
18
- }
19
- },
20
- "playlist_name": {
21
- "type": ["string", "null"],
22
- "default": null
23
- },
24
- "playlist_image_sizes_multihash": {
25
- "type": ["string", "null"],
26
- "default": null,
27
- "$ref": "#/definitions/CID"
28
- },
29
- "description": {
30
- "type": ["string", "null"],
31
- "default": null
32
- },
33
- "is_album": {
34
- "type": "boolean",
35
- "default": null
36
- },
37
- "is_private": {
38
- "type": "boolean",
39
- "default": null
40
- }
41
- },
42
- "required": [
43
- "playlist_name",
44
- "playlist_id",
45
- "description",
46
- "is_album",
47
- "is_private"
48
- ],
49
- "title": "Playlist"
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/Playlist",
4
+ "definitions": {
5
+ "Playlist": {
6
+ "type": "object",
7
+ "additionalProperties": true,
8
+ "properties": {
9
+ "playlist_id": {
10
+ "type": ["integer", "null"],
11
+ "default": null
50
12
  },
51
- "CID": {
52
- "type": ["string", "null"],
53
- "minLength": 46,
54
- "maxLength": 46,
55
- "pattern": "^Qm[a-zA-Z0-9]{44}$",
56
- "title": "CID"
13
+ "playlist_contents": {
14
+ "type": "object",
15
+ "$ref": "#/definitions/PlaylistContents",
16
+ "default": {
17
+ "track_ids": []
18
+ }
57
19
  },
58
- "PlaylistContents": {
59
- "type": "object",
60
- "additionalProperties": false,
61
- "properties": {
62
- "track_ids": {
63
- "type": "array",
64
- "default": []
65
- }
66
- },
67
- "title": "PlaylistContents"
20
+ "playlist_name": {
21
+ "type": ["string", "null"],
22
+ "default": null
23
+ },
24
+ "playlist_image_sizes_multihash": {
25
+ "type": ["string", "null"],
26
+ "default": null,
27
+ "$ref": "#/definitions/CID"
28
+ },
29
+ "description": {
30
+ "type": ["string", "null"],
31
+ "default": null
32
+ },
33
+ "is_album": {
34
+ "type": "boolean",
35
+ "default": null
36
+ },
37
+ "is_private": {
38
+ "type": "boolean",
39
+ "default": null
40
+ }
41
+ },
42
+ "required": [
43
+ "playlist_name",
44
+ "playlist_id",
45
+ "description",
46
+ "is_album",
47
+ "is_private"
48
+ ],
49
+ "title": "Playlist"
50
+ },
51
+ "CID": {
52
+ "type": ["string", "null"],
53
+ "minLength": 46,
54
+ "maxLength": 46,
55
+ "pattern": "^Qm[a-zA-Z0-9]{44}$",
56
+ "title": "CID"
57
+ },
58
+ "PlaylistContents": {
59
+ "type": "object",
60
+ "additionalProperties": false,
61
+ "properties": {
62
+ "track_ids": {
63
+ "type": "array",
64
+ "default": []
68
65
  }
66
+ },
67
+ "title": "PlaylistContents"
69
68
  }
69
+ }
70
70
  }