@audius/sdk 1.0.18 → 1.0.19

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
@@ -34232,9 +34232,9 @@ var formatProviders = function formatProviders(providers) {
34232
34232
  };
34233
34233
 
34234
34234
  var name = "@audius/sdk";
34235
- var version = "1.0.18";
34235
+ var version = "1.0.19";
34236
34236
  var audius = {
34237
- releaseSHA: "cc52bcb636e5a70a3e50f6fe3b7eccc8f1f0c479"
34237
+ releaseSHA: "0a307f67af9a7dc7a6128b181bce45d92d9492df"
34238
34238
  };
34239
34239
  var description = "";
34240
34240
  var main = "dist/index.cjs.js";
@@ -46294,23 +46294,29 @@ var UserReplicaSetManagerClient = /*#__PURE__*/function (_ContractClient) {
46294
46294
  return UserReplicaSetManagerClient;
46295
46295
  }(ContractClient);
46296
46296
 
46297
- var Action$1;
46297
+ var Action;
46298
46298
 
46299
46299
  (function (Action) {
46300
46300
  Action["CREATE"] = "Create";
46301
46301
  Action["UPDATE"] = "Update";
46302
46302
  Action["DELETE"] = "Delete";
46303
46303
  Action["VERIFY"] = "Verify";
46304
- })(Action$1 || (Action$1 = {}));
46304
+ Action["FOLLOW"] = "Follow";
46305
+ Action["UNFOLLOW"] = "Unfollow";
46306
+ Action["SAVE"] = "Save";
46307
+ Action["UNSAVE"] = "Unsave";
46308
+ Action["REPOST"] = "Repost";
46309
+ Action["UNREPOST"] = "Unrepost";
46310
+ })(Action || (Action = {}));
46305
46311
 
46306
- var EntityType$1;
46312
+ var EntityType;
46307
46313
 
46308
46314
  (function (EntityType) {
46309
46315
  EntityType["PLAYLIST"] = "Playlist";
46310
46316
  EntityType["TRACK"] = "Track";
46311
46317
  EntityType["USER"] = "User";
46312
46318
  EntityType["USER_REPLICA_SET"] = "UserReplicaSet";
46313
- })(EntityType$1 || (EntityType$1 = {}));
46319
+ })(EntityType || (EntityType = {}));
46314
46320
  /**
46315
46321
  * Generic management of Audius Data entities
46316
46322
  **/
@@ -46472,8 +46478,8 @@ var EntityManagerClient = /*#__PURE__*/function (_ContractClient) {
46472
46478
 
46473
46479
  return EntityManagerClient;
46474
46480
  }(ContractClient);
46475
- EntityManagerClient.Action = Action$1;
46476
- EntityManagerClient.EntityType = EntityType$1;
46481
+ EntityManagerClient.Action = Action;
46482
+ EntityManagerClient.EntityType = EntityType;
46477
46483
 
46478
46484
  var abi = [
46479
46485
  {
@@ -58778,34 +58784,12 @@ var Reactions = /*#__PURE__*/function (_Base) {
58778
58784
  return Reactions;
58779
58785
  }(Base);
58780
58786
 
58781
- var Action;
58782
-
58783
- (function (Action) {
58784
- Action["CREATE"] = "Create";
58785
- Action["UPDATE"] = "Update";
58786
- Action["DELETE"] = "Delete";
58787
- Action["FOLLOW"] = "Follow";
58788
- Action["UNFOLLOW"] = "Unfollow";
58789
- Action["SAVE"] = "Save";
58790
- Action["UNSAVE"] = "Unsave";
58791
- Action["REPOST"] = "Repost";
58792
- Action["UNREPOST"] = "Unrepost";
58793
- })(Action || (Action = {}));
58794
-
58795
- var EntityType;
58796
-
58797
- (function (EntityType) {
58798
- EntityType["TRACK"] = "Track";
58799
- EntityType["PLAYLIST"] = "Playlist";
58800
- EntityType["USER"] = "User";
58801
- })(EntityType || (EntityType = {}));
58802
58787
  /*
58803
58788
  API surface for updated data contract interactions.
58804
58789
  Provides simplified entity management in a generic fashion
58805
58790
  Handles metadata + file upload etc. for entities such as Playlist/Track/User
58806
58791
  */
58807
58792
 
58808
-
58809
58793
  var EntityManager = /*#__PURE__*/function (_Base) {
58810
58794
  _inherits(EntityManager, _Base);
58811
58795
 
@@ -58873,6 +58857,8 @@ var EntityManager = /*#__PURE__*/function (_Base) {
58873
58857
  _this.unsavePlaylist = _this.createSocialMethod(EntityType.PLAYLIST, Action.UNSAVE);
58874
58858
  _this.repostTrack = _this.createSocialMethod(EntityType.TRACK, Action.REPOST);
58875
58859
  _this.unrepostTrack = _this.createSocialMethod(EntityType.TRACK, Action.UNREPOST);
58860
+ _this.repostPlaylist = _this.createSocialMethod(EntityType.PLAYLIST, Action.REPOST);
58861
+ _this.unrepostPlaylist = _this.createSocialMethod(EntityType.PLAYLIST, Action.UNREPOST);
58876
58862
  return _this;
58877
58863
  }
58878
58864