@widgetic/editor 3.10.36 → 3.10.37

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/lib/dev/editor.js CHANGED
@@ -13347,7 +13347,7 @@ WidgetEditor = (function(superClass) {
13347
13347
  this.el.append(this.tabs.el);
13348
13348
  LoginPopup.place(this.el);
13349
13349
  Blogvio.pubsub.subscribe('api/token/update', this._updateLoggedInStatus);
13350
- this.el.attr('editorVersion', "3.10.36");
13350
+ this.el.attr('editorVersion', "3.10.37");
13351
13351
  }
13352
13352
 
13353
13353
 
@@ -23650,10 +23650,7 @@ SC = __webpack_require__(171);
23650
23650
  config = {
23651
23651
  client_id: 'aed0aa63baf747a83ad0b6b246acddca',
23652
23652
  redirect_uri: 'https://widgetic.com/connect/soundcloud',
23653
- response_type: 'code',
23654
- state: 'encrypted_session_info',
23655
23653
  grant_type: 'refresh_token',
23656
- client_secret: '3173e3098379153d42084aba06fe3ec4',
23657
23654
  api_url: 'https://api.soundcloud.com'
23658
23655
  };
23659
23656
 
@@ -23688,6 +23685,7 @@ SoundCloudService = (function(superClass) {
23688
23685
  SoundCloudService.prototype.SCGet = function(path) {
23689
23686
  var url;
23690
23687
  url = ("" + SC.api_url) + path;
23688
+ console.log("SCGet path:", path, SC.auth_token);
23691
23689
  return $.ajax({
23692
23690
  url: url,
23693
23691
  type: 'GET',
@@ -23826,9 +23824,10 @@ SoundCloudService = (function(superClass) {
23826
23824
  };
23827
23825
 
23828
23826
  SoundCloudService.prototype.getURL = function(entry, callback) {
23829
- return this.SCGet("/tracks/" + entry.id + "/streams").then((function(_this) {
23827
+ return this.SCGet("/tracks/" + entry.id + "/stream").then((function(_this) {
23830
23828
  return function(streams) {
23831
- return callback(streams.http_mp3_128_url);
23829
+ console.log("fetchTrackStreams result:", streams);
23830
+ return callback(streams);
23832
23831
  };
23833
23832
  })(this))["catch"]((function(_this) {
23834
23833
  return function(error) {