@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/legacy.js CHANGED
@@ -35988,9 +35988,9 @@ var EthWeb3Manager = /*#__PURE__*/function () {
35988
35988
  }();
35989
35989
 
35990
35990
  var name = "@audius/sdk";
35991
- var version = "3.0.8-beta.11";
35991
+ var version = "3.0.8-beta.12";
35992
35992
  var audius = {
35993
- releaseSHA: "94503e85377fab74d3b3f490b927c5a3bc12fd1f"
35993
+ releaseSHA: "1119e8535700beff7e3bef81d78df65bb3e33b0e"
35994
35994
  };
35995
35995
  var description = "Audius SDK";
35996
35996
  var keywords = [
@@ -62080,7 +62080,7 @@ var CreatorNode = /*#__PURE__*/function () {
62080
62080
  while (1) {
62081
62081
  switch (_context4.prev = _context4.next) {
62082
62082
  case 0:
62083
- if (metadata.preview_start_seconds) {
62083
+ if (!(metadata.preview_start_seconds == null)) {
62084
62084
  _context4.next = 2;
62085
62085
  break;
62086
62086
  }
@@ -62159,7 +62159,7 @@ var CreatorNode = /*#__PURE__*/function () {
62159
62159
  updatedMetadata = _objectSpread2({}, metadata);
62160
62160
  audioUploadOpts = {};
62161
62161
 
62162
- if (updatedMetadata.preview_start_seconds) {
62162
+ if (updatedMetadata.preview_start_seconds != null) {
62163
62163
  audioUploadOpts['previewStartSeconds'] = updatedMetadata.preview_start_seconds.toString();
62164
62164
  } // Upload audio and cover art
62165
62165
 
@@ -62221,7 +62221,7 @@ var CreatorNode = /*#__PURE__*/function () {
62221
62221
  updatedMetadata.duration = parseInt(audioResp.probe.format.duration, 10);
62222
62222
  updatedMetadata.track_cid = audioResp.results['320'];
62223
62223
 
62224
- if (updatedMetadata.preview_start_seconds) {
62224
+ if (updatedMetadata.preview_start_seconds != null) {
62225
62225
  previewKey = "320_preview|".concat(updatedMetadata.preview_start_seconds);
62226
62226
  updatedMetadata.preview_cid = audioResp.results[previewKey];
62227
62227
  }
@@ -72452,7 +72452,7 @@ var Track = /*#__PURE__*/function (_Base) {
72452
72452
  break;
72453
72453
  }
72454
72454
 
72455
- if (metadata.preview_start_seconds) {
72455
+ if (!(metadata.preview_start_seconds == null)) {
72456
72456
  _context22.next = 12;
72457
72457
  break;
72458
72458
  }