@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.
@@ -600,9 +600,9 @@ if (typeof window !== 'undefined' && window && window.Web3) {
600
600
  var LibsWeb3 = Web3;
601
601
 
602
602
  var name = "@audius/sdk";
603
- var version$1 = "3.0.3-beta.100";
603
+ var version$1 = "3.0.3-beta.101";
604
604
  var audius = {
605
- releaseSHA: "ad81dc94f15e0f5d5c83cd73832949a8b16e83bb"
605
+ releaseSHA: "e98e78c9bcac83aea7a0d7d0a6ed4a42a33d1e19"
606
606
  };
607
607
  var description = "Audius SDK";
608
608
  var main = "dist/index.cjs.js";
@@ -5236,16 +5236,6 @@ var CreatorNode = /*#__PURE__*/function () {
5236
5236
  this.blockList = blockList;
5237
5237
  this.monitoringCallbacks = monitoringCallbacks;
5238
5238
  }
5239
- /* Static Utils */
5240
-
5241
- /**
5242
- * Pulls off the user's clock value from a creator node endpoint and the user's wallet address.
5243
- * @param endpoint content node endpoint
5244
- * @param wallet user wallet address
5245
- * @param timeout max time alloted for clock request
5246
- * @param params optional query string params
5247
- */
5248
-
5249
5239
 
5250
5240
  _createClass(CreatorNode, [{
5251
5241
  key: "init",
@@ -6023,63 +6013,6 @@ var CreatorNode = /*#__PURE__*/function () {
6023
6013
 
6024
6014
  return _retry3;
6025
6015
  }()
6026
- }], [{
6027
- key: "getClockValue",
6028
- value: function () {
6029
- var _getClockValue = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee18(endpoint, wallet, timeout) {
6030
- var params,
6031
- baseReq,
6032
- _yield$axios,
6033
- body,
6034
- _args18 = arguments;
6035
-
6036
- return regeneratorRuntime.wrap(function _callee18$(_context18) {
6037
- while (1) {
6038
- switch (_context18.prev = _context18.next) {
6039
- case 0:
6040
- params = _args18.length > 3 && _args18[3] !== undefined ? _args18[3] : {};
6041
- baseReq = {
6042
- url: "/users/clock_status/".concat(wallet),
6043
- method: 'get',
6044
- baseURL: endpoint
6045
- };
6046
-
6047
- if (Object.keys(params).length > 0) {
6048
- baseReq.params = params;
6049
- }
6050
-
6051
- if (timeout) {
6052
- baseReq.timeout = timeout;
6053
- }
6054
-
6055
- _context18.prev = 4;
6056
- _context18.next = 7;
6057
- return axios(baseReq);
6058
-
6059
- case 7:
6060
- _yield$axios = _context18.sent;
6061
- body = _yield$axios.data;
6062
- return _context18.abrupt("return", body.data.clockValue);
6063
-
6064
- case 12:
6065
- _context18.prev = 12;
6066
- _context18.t0 = _context18["catch"](4);
6067
- throw new Error("Failed to get clock value for endpoint: ".concat(endpoint, " and wallet: ").concat(wallet, " with ").concat(_context18.t0));
6068
-
6069
- case 15:
6070
- case "end":
6071
- return _context18.stop();
6072
- }
6073
- }
6074
- }, _callee18, null, [[4, 12]]);
6075
- }));
6076
-
6077
- function getClockValue(_x21, _x22, _x23) {
6078
- return _getClockValue.apply(this, arguments);
6079
- }
6080
-
6081
- return getClockValue;
6082
- }()
6083
6016
  }]);
6084
6017
 
6085
6018
  return CreatorNode;