@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/legacy.js CHANGED
@@ -33508,7 +33508,7 @@ var formatProviders = function formatProviders(providers) {
33508
33508
  };
33509
33509
 
33510
33510
  var name = "@audius/sdk";
33511
- var version = "1.0.1-beta.1";
33511
+ var version = "1.0.1-beta.2";
33512
33512
  var audius = {
33513
33513
  releaseSHA: "b2033d58ac5a15ed1fd1d6d3298f06541aa78b5e"
33514
33514
  };
@@ -46623,6 +46623,18 @@ var definitions$2 = {
46623
46623
  ],
46624
46624
  $ref: "#/definitions/RemixOf",
46625
46625
  "default": null
46626
+ },
46627
+ is_premium: {
46628
+ type: "boolean",
46629
+ "default": false
46630
+ },
46631
+ premium_conditions: {
46632
+ type: [
46633
+ "object",
46634
+ "null"
46635
+ ],
46636
+ $ref: "#/definitions/PremiumConditions",
46637
+ "default": null
46626
46638
  }
46627
46639
  },
46628
46640
  required: [
@@ -46646,7 +46658,9 @@ var definitions$2 = {
46646
46658
  "stem_of",
46647
46659
  "tags",
46648
46660
  "title",
46649
- "track_segments"
46661
+ "track_segments",
46662
+ "is_premium",
46663
+ "premium_conditions"
46650
46664
  ],
46651
46665
  title: "Track"
46652
46666
  },
@@ -46786,6 +46800,20 @@ var definitions$2 = {
46786
46800
  maxLength: 46,
46787
46801
  pattern: "^Qm[a-zA-Z0-9]{44}$",
46788
46802
  title: "CID"
46803
+ },
46804
+ PremiumConditions: {
46805
+ type: "object",
46806
+ additionalProperties: false,
46807
+ properties: {
46808
+ "nft-collection": {
46809
+ type: "string"
46810
+ }
46811
+ },
46812
+ required: [
46813
+ "nft-collection"
46814
+ ],
46815
+ $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'.",
46816
+ title: "PremiumConditions"
46789
46817
  }
46790
46818
  };
46791
46819
  var TrackSchema = {