@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.cjs.js CHANGED
@@ -33816,9 +33816,9 @@ var EthWeb3Manager = /*#__PURE__*/function () {
33816
33816
  }();
33817
33817
 
33818
33818
  var name = "@audius/sdk";
33819
- var version = "3.0.3-beta.100";
33819
+ var version = "3.0.3-beta.101";
33820
33820
  var audius = {
33821
- releaseSHA: "ad81dc94f15e0f5d5c83cd73832949a8b16e83bb"
33821
+ releaseSHA: "e98e78c9bcac83aea7a0d7d0a6ed4a42a33d1e19"
33822
33822
  };
33823
33823
  var description = "Audius SDK";
33824
33824
  var main = "dist/index.cjs.js";
@@ -59253,16 +59253,6 @@ var CreatorNode = /*#__PURE__*/function () {
59253
59253
  this.blockList = blockList;
59254
59254
  this.monitoringCallbacks = monitoringCallbacks;
59255
59255
  }
59256
- /* Static Utils */
59257
-
59258
- /**
59259
- * Pulls off the user's clock value from a creator node endpoint and the user's wallet address.
59260
- * @param endpoint content node endpoint
59261
- * @param wallet user wallet address
59262
- * @param timeout max time alloted for clock request
59263
- * @param params optional query string params
59264
- */
59265
-
59266
59256
 
59267
59257
  _createClass(CreatorNode, [{
59268
59258
  key: "init",
@@ -60040,63 +60030,6 @@ var CreatorNode = /*#__PURE__*/function () {
60040
60030
 
60041
60031
  return _retry3;
60042
60032
  }()
60043
- }], [{
60044
- key: "getClockValue",
60045
- value: function () {
60046
- var _getClockValue = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee18(endpoint, wallet, timeout) {
60047
- var params,
60048
- baseReq,
60049
- _yield$axios,
60050
- body,
60051
- _args18 = arguments;
60052
-
60053
- return regeneratorRuntime.wrap(function _callee18$(_context18) {
60054
- while (1) {
60055
- switch (_context18.prev = _context18.next) {
60056
- case 0:
60057
- params = _args18.length > 3 && _args18[3] !== undefined ? _args18[3] : {};
60058
- baseReq = {
60059
- url: "/users/clock_status/".concat(wallet),
60060
- method: 'get',
60061
- baseURL: endpoint
60062
- };
60063
-
60064
- if (Object.keys(params).length > 0) {
60065
- baseReq.params = params;
60066
- }
60067
-
60068
- if (timeout) {
60069
- baseReq.timeout = timeout;
60070
- }
60071
-
60072
- _context18.prev = 4;
60073
- _context18.next = 7;
60074
- return axios__default["default"](baseReq);
60075
-
60076
- case 7:
60077
- _yield$axios = _context18.sent;
60078
- body = _yield$axios.data;
60079
- return _context18.abrupt("return", body.data.clockValue);
60080
-
60081
- case 12:
60082
- _context18.prev = 12;
60083
- _context18.t0 = _context18["catch"](4);
60084
- throw new Error("Failed to get clock value for endpoint: ".concat(endpoint, " and wallet: ").concat(wallet, " with ").concat(_context18.t0));
60085
-
60086
- case 15:
60087
- case "end":
60088
- return _context18.stop();
60089
- }
60090
- }
60091
- }, _callee18, null, [[4, 12]]);
60092
- }));
60093
-
60094
- function getClockValue(_x21, _x22, _x23) {
60095
- return _getClockValue.apply(this, arguments);
60096
- }
60097
-
60098
- return getClockValue;
60099
- }()
60100
60033
  }]);
60101
60034
 
60102
60035
  return CreatorNode;