wealthica-sdk-js 0.0.16 → 0.0.17

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.
@@ -6451,8 +6451,10 @@ var API = /*#__PURE__*/function () {
6451
6451
  value: function _closeWidgetWithError(error_type, message) {
6452
6452
  this._closeWidget();
6453
6453
  this._triggerCallback(CALLBACK_ERROR, {
6454
- error_type: error_type,
6455
- message: message
6454
+ error: {
6455
+ error_type: error_type,
6456
+ message: message
6457
+ }
6456
6458
  });
6457
6459
  }
6458
6460
  }, {
package/dist/wealthica.js CHANGED
@@ -6441,8 +6441,10 @@ var API = /*#__PURE__*/function () {
6441
6441
  value: function _closeWidgetWithError(error_type, message) {
6442
6442
  this._closeWidget();
6443
6443
  this._triggerCallback(CALLBACK_ERROR, {
6444
- error_type: error_type,
6445
- message: message
6444
+ error: {
6445
+ error_type: error_type,
6446
+ message: message
6447
+ }
6446
6448
  });
6447
6449
  }
6448
6450
  }, {