@audius/sdk 3.0.3 → 3.0.4-beta.0
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.cjs.js +3 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -10
- package/dist/index.esm.js.map +1 -1
- package/dist/legacy.js +3 -10
- package/dist/legacy.js.map +1 -1
- package/dist/native-libs.js +3 -10
- package/dist/native-libs.js.map +1 -1
- package/dist/web-libs.js +3 -10
- package/dist/web-libs.js.map +1 -1
- package/package.json +2 -2
- package/src/api/Track.ts +0 -1
- package/src/services/schemaValidator/schemas/trackSchema.json +13 -17
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@audius/sdk",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4-beta.0",
|
|
4
4
|
"audius": {
|
|
5
|
-
"releaseSHA": "
|
|
5
|
+
"releaseSHA": "0f1ff121e2321dfa4c1a90c57425b7e29cb49bf4"
|
|
6
6
|
},
|
|
7
7
|
"description": "Audius SDK",
|
|
8
8
|
"main": "dist/index.cjs.js",
|
package/src/api/Track.ts
CHANGED
|
@@ -19,10 +19,6 @@
|
|
|
19
19
|
"type": ["string", "null"],
|
|
20
20
|
"default": null
|
|
21
21
|
},
|
|
22
|
-
"length": {
|
|
23
|
-
"type": ["integer", "null"],
|
|
24
|
-
"default": null
|
|
25
|
-
},
|
|
26
22
|
"preview_start_seconds": {
|
|
27
23
|
"type": ["float", "null"],
|
|
28
24
|
"default": null
|
|
@@ -327,18 +323,18 @@
|
|
|
327
323
|
"enum": ["ERC721", "ERC1155"]
|
|
328
324
|
},
|
|
329
325
|
"name": {
|
|
330
|
-
|
|
326
|
+
"type": "string"
|
|
331
327
|
},
|
|
332
328
|
"slug": {
|
|
333
|
-
|
|
329
|
+
"type": "string"
|
|
334
330
|
},
|
|
335
|
-
"imageUrl":
|
|
336
|
-
|
|
337
|
-
|
|
331
|
+
"imageUrl": {
|
|
332
|
+
"type": ["string", "null"],
|
|
333
|
+
"default": null
|
|
338
334
|
},
|
|
339
335
|
"externalLink": {
|
|
340
|
-
|
|
341
|
-
|
|
336
|
+
"type": ["string", "null"],
|
|
337
|
+
"default": null
|
|
342
338
|
}
|
|
343
339
|
},
|
|
344
340
|
"required": ["chain", "address", "standard", "name", "slug"],
|
|
@@ -356,15 +352,15 @@
|
|
|
356
352
|
"type": "string"
|
|
357
353
|
},
|
|
358
354
|
"name": {
|
|
359
|
-
|
|
355
|
+
"type": "string"
|
|
360
356
|
},
|
|
361
|
-
"imageUrl":
|
|
362
|
-
|
|
363
|
-
|
|
357
|
+
"imageUrl": {
|
|
358
|
+
"type": ["string", "null"],
|
|
359
|
+
"default": null
|
|
364
360
|
},
|
|
365
361
|
"externalLink": {
|
|
366
|
-
|
|
367
|
-
|
|
362
|
+
"type": ["string", "null"],
|
|
363
|
+
"default": null
|
|
368
364
|
}
|
|
369
365
|
},
|
|
370
366
|
"required": ["chain", "address", "name"],
|