@audius/sdk 1.0.1-beta.1 → 1.0.1-beta.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/index.esm.js CHANGED
@@ -33462,7 +33462,7 @@ var formatProviders = function formatProviders(providers) {
33462
33462
  };
33463
33463
 
33464
33464
  var name = "@audius/sdk";
33465
- var version = "1.0.1-beta.1";
33465
+ var version = "1.0.1-beta.2";
33466
33466
  var audius = {
33467
33467
  releaseSHA: "b2033d58ac5a15ed1fd1d6d3298f06541aa78b5e"
33468
33468
  };
@@ -46577,6 +46577,18 @@ var definitions$2 = {
46577
46577
  ],
46578
46578
  $ref: "#/definitions/RemixOf",
46579
46579
  "default": null
46580
+ },
46581
+ is_premium: {
46582
+ type: "boolean",
46583
+ "default": false
46584
+ },
46585
+ premium_conditions: {
46586
+ type: [
46587
+ "object",
46588
+ "null"
46589
+ ],
46590
+ $ref: "#/definitions/PremiumConditions",
46591
+ "default": null
46580
46592
  }
46581
46593
  },
46582
46594
  required: [
@@ -46600,7 +46612,9 @@ var definitions$2 = {
46600
46612
  "stem_of",
46601
46613
  "tags",
46602
46614
  "title",
46603
- "track_segments"
46615
+ "track_segments",
46616
+ "is_premium",
46617
+ "premium_conditions"
46604
46618
  ],
46605
46619
  title: "Track"
46606
46620
  },
@@ -46740,6 +46754,20 @@ var definitions$2 = {
46740
46754
  maxLength: 46,
46741
46755
  pattern: "^Qm[a-zA-Z0-9]{44}$",
46742
46756
  title: "CID"
46757
+ },
46758
+ PremiumConditions: {
46759
+ type: "object",
46760
+ additionalProperties: false,
46761
+ properties: {
46762
+ "nft-collection": {
46763
+ type: "string"
46764
+ }
46765
+ },
46766
+ required: [
46767
+ "nft-collection"
46768
+ ],
46769
+ $comment: "Once we allow other conditions, we need to update the required property to [] as users will determine what conditions they're gating their content on; the conditions won't necessarily include 'nft-collection'.",
46770
+ title: "PremiumConditions"
46743
46771
  }
46744
46772
  };
46745
46773
  var TrackSchema = {