@audius/sdk 3.0.8-beta.11 → 3.0.8-beta.12

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
@@ -36180,9 +36180,9 @@ var EthWeb3Manager = /*#__PURE__*/function () {
36180
36180
  }();
36181
36181
 
36182
36182
  var name = "@audius/sdk";
36183
- var version = "3.0.8-beta.11";
36183
+ var version = "3.0.8-beta.12";
36184
36184
  var audius = {
36185
- releaseSHA: "94503e85377fab74d3b3f490b927c5a3bc12fd1f"
36185
+ releaseSHA: "1119e8535700beff7e3bef81d78df65bb3e33b0e"
36186
36186
  };
36187
36187
  var description = "Audius SDK";
36188
36188
  var keywords = [
@@ -62272,7 +62272,7 @@ var CreatorNode = /*#__PURE__*/function () {
62272
62272
  while (1) {
62273
62273
  switch (_context4.prev = _context4.next) {
62274
62274
  case 0:
62275
- if (metadata.preview_start_seconds) {
62275
+ if (!(metadata.preview_start_seconds == null)) {
62276
62276
  _context4.next = 2;
62277
62277
  break;
62278
62278
  }
@@ -62351,7 +62351,7 @@ var CreatorNode = /*#__PURE__*/function () {
62351
62351
  updatedMetadata = _objectSpread2({}, metadata);
62352
62352
  audioUploadOpts = {};
62353
62353
 
62354
- if (updatedMetadata.preview_start_seconds) {
62354
+ if (updatedMetadata.preview_start_seconds != null) {
62355
62355
  audioUploadOpts['previewStartSeconds'] = updatedMetadata.preview_start_seconds.toString();
62356
62356
  } // Upload audio and cover art
62357
62357
 
@@ -62413,7 +62413,7 @@ var CreatorNode = /*#__PURE__*/function () {
62413
62413
  updatedMetadata.duration = parseInt(audioResp.probe.format.duration, 10);
62414
62414
  updatedMetadata.track_cid = audioResp.results['320'];
62415
62415
 
62416
- if (updatedMetadata.preview_start_seconds) {
62416
+ if (updatedMetadata.preview_start_seconds != null) {
62417
62417
  previewKey = "320_preview|".concat(updatedMetadata.preview_start_seconds);
62418
62418
  updatedMetadata.preview_cid = audioResp.results[previewKey];
62419
62419
  }
@@ -72644,7 +72644,7 @@ var Track = /*#__PURE__*/function (_Base) {
72644
72644
  break;
72645
72645
  }
72646
72646
 
72647
- if (metadata.preview_start_seconds) {
72647
+ if (!(metadata.preview_start_seconds == null)) {
72648
72648
  _context22.next = 12;
72649
72649
  break;
72650
72650
  }