@audius/sdk 1.0.19-beta.2 → 1.0.19-beta.3

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@audius/sdk",
3
- "version": "1.0.19-beta.2",
3
+ "version": "1.0.19-beta.3",
4
4
  "audius": {
5
5
  "releaseSHA": "0a307f67af9a7dc7a6128b181bce45d92d9492df"
6
6
  },
package/src/api/Track.ts CHANGED
@@ -833,7 +833,7 @@ export class Track extends Base {
833
833
  /* ------- PRIVATE ------- */
834
834
 
835
835
  _validateTrackMetadata(metadata: TrackMetadata) {
836
- console.log('ITS YA BOY 22')
836
+ console.log('DOFOUL DOFOUL')
837
837
  this.OBJECT_HAS_PROPS(metadata, TRACK_PROPS, TRACK_REQUIRED_PROPS)
838
838
  }
839
839
  }
@@ -121,8 +121,19 @@
121
121
  },
122
122
  "premium_conditions": {
123
123
  "type": ["object", "null"],
124
- "$ref": "#/definitions/PremiumConditions",
125
- "default": null
124
+ "items": {
125
+ "oneOf": [
126
+ {
127
+ "type": "null"
128
+ },
129
+ {
130
+ "$ref": "#/definitions/PremiumConditionsNFTCollection"
131
+ },
132
+ {
133
+ "$ref": "#/definitions/PremiumConditionsFollowUserId"
134
+ }
135
+ ]
136
+ }
126
137
  }
127
138
  },
128
139
  "required": [
@@ -274,21 +285,6 @@
274
285
  "pattern": "^Qm[a-zA-Z0-9]{44}$",
275
286
  "title": "CID"
276
287
  },
277
- "PremiumConditions": {
278
- "additionalProperties": false,
279
- "oneOf": [
280
- {
281
- "type": "null"
282
- },
283
- {
284
- "$ref": "#/definitions/PremiumConditionsNFTCollection"
285
- },
286
- {
287
- "$ref": "#/definitions/PremiumConditionsFollowUserId"
288
- }
289
- ],
290
- "title": "PremiumConditions"
291
- },
292
288
  "PremiumConditionsNFTCollection": {
293
289
  "type": "object",
294
290
  "additionalProperties": false,