@audius/sdk 3.0.3 → 3.0.4-beta.1

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/package.json CHANGED
@@ -1,10 +1,20 @@
1
1
  {
2
2
  "name": "@audius/sdk",
3
- "version": "3.0.3",
3
+ "version": "3.0.4-beta.1",
4
4
  "audius": {
5
- "releaseSHA": "b2c9c71fe0138471b7e777fbb23cc943c21602b8"
5
+ "releaseSHA": "7a6cf8aa2097418cbf695a15f28aba17b61ff68a"
6
6
  },
7
7
  "description": "Audius SDK",
8
+ "keywords": [
9
+ "audius",
10
+ "sdk",
11
+ "api",
12
+ "music",
13
+ "audio",
14
+ "web3",
15
+ "decentralized",
16
+ "blockchain"
17
+ ],
8
18
  "main": "dist/index.cjs.js",
9
19
  "module": "dist/index.esm.js",
10
20
  "types": "dist/index.d.ts",
package/src/api/Track.ts CHANGED
@@ -10,7 +10,6 @@ import {
10
10
  const TRACK_PROPS = [
11
11
  'owner_id',
12
12
  'title',
13
- 'length',
14
13
  'cover_art_sizes',
15
14
  'tags',
16
15
  'genre',
@@ -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
- "type": "string"
326
+ "type": "string"
331
327
  },
332
328
  "slug": {
333
- "type": "string"
329
+ "type": "string"
334
330
  },
335
- "imageUrl": {
336
- "type": ["string", "null"],
337
- "default": null
331
+ "imageUrl": {
332
+ "type": ["string", "null"],
333
+ "default": null
338
334
  },
339
335
  "externalLink": {
340
- "type": ["string", "null"],
341
- "default": null
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
- "type": "string"
355
+ "type": "string"
360
356
  },
361
- "imageUrl": {
362
- "type": ["string", "null"],
363
- "default": null
357
+ "imageUrl": {
358
+ "type": ["string", "null"],
359
+ "default": null
364
360
  },
365
361
  "externalLink": {
366
- "type": ["string", "null"],
367
- "default": null
362
+ "type": ["string", "null"],
363
+ "default": null
368
364
  }
369
365
  },
370
366
  "required": ["chain", "address", "name"],