@audius/sdk 3.0.3-beta.100 → 3.0.3-beta.101

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
@@ -33574,9 +33574,9 @@ var EthWeb3Manager = /*#__PURE__*/function () {
33574
33574
  }();
33575
33575
 
33576
33576
  var name = "@audius/sdk";
33577
- var version = "3.0.3-beta.100";
33577
+ var version = "3.0.3-beta.101";
33578
33578
  var audius = {
33579
- releaseSHA: "ad81dc94f15e0f5d5c83cd73832949a8b16e83bb"
33579
+ releaseSHA: "e98e78c9bcac83aea7a0d7d0a6ed4a42a33d1e19"
33580
33580
  };
33581
33581
  var description = "Audius SDK";
33582
33582
  var main = "dist/index.cjs.js";
@@ -59011,16 +59011,6 @@ var CreatorNode = /*#__PURE__*/function () {
59011
59011
  this.blockList = blockList;
59012
59012
  this.monitoringCallbacks = monitoringCallbacks;
59013
59013
  }
59014
- /* Static Utils */
59015
-
59016
- /**
59017
- * Pulls off the user's clock value from a creator node endpoint and the user's wallet address.
59018
- * @param endpoint content node endpoint
59019
- * @param wallet user wallet address
59020
- * @param timeout max time alloted for clock request
59021
- * @param params optional query string params
59022
- */
59023
-
59024
59014
 
59025
59015
  _createClass(CreatorNode, [{
59026
59016
  key: "init",
@@ -59798,63 +59788,6 @@ var CreatorNode = /*#__PURE__*/function () {
59798
59788
 
59799
59789
  return _retry3;
59800
59790
  }()
59801
- }], [{
59802
- key: "getClockValue",
59803
- value: function () {
59804
- var _getClockValue = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee18(endpoint, wallet, timeout) {
59805
- var params,
59806
- baseReq,
59807
- _yield$axios,
59808
- body,
59809
- _args18 = arguments;
59810
-
59811
- return regeneratorRuntime.wrap(function _callee18$(_context18) {
59812
- while (1) {
59813
- switch (_context18.prev = _context18.next) {
59814
- case 0:
59815
- params = _args18.length > 3 && _args18[3] !== undefined ? _args18[3] : {};
59816
- baseReq = {
59817
- url: "/users/clock_status/".concat(wallet),
59818
- method: 'get',
59819
- baseURL: endpoint
59820
- };
59821
-
59822
- if (Object.keys(params).length > 0) {
59823
- baseReq.params = params;
59824
- }
59825
-
59826
- if (timeout) {
59827
- baseReq.timeout = timeout;
59828
- }
59829
-
59830
- _context18.prev = 4;
59831
- _context18.next = 7;
59832
- return axios(baseReq);
59833
-
59834
- case 7:
59835
- _yield$axios = _context18.sent;
59836
- body = _yield$axios.data;
59837
- return _context18.abrupt("return", body.data.clockValue);
59838
-
59839
- case 12:
59840
- _context18.prev = 12;
59841
- _context18.t0 = _context18["catch"](4);
59842
- throw new Error("Failed to get clock value for endpoint: ".concat(endpoint, " and wallet: ").concat(wallet, " with ").concat(_context18.t0));
59843
-
59844
- case 15:
59845
- case "end":
59846
- return _context18.stop();
59847
- }
59848
- }
59849
- }, _callee18, null, [[4, 12]]);
59850
- }));
59851
-
59852
- function getClockValue(_x21, _x22, _x23) {
59853
- return _getClockValue.apply(this, arguments);
59854
- }
59855
-
59856
- return getClockValue;
59857
- }()
59858
59791
  }]);
59859
59792
 
59860
59793
  return CreatorNode;