@trops/dash-core 0.1.165 → 0.1.166

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.js CHANGED
@@ -1144,9 +1144,14 @@ var ElectronDashboardApi = /*#__PURE__*/function () {
1144
1144
  key: "extractThemeFromUrl",
1145
1145
  value: function extractThemeFromUrl(url, onSuccess, onError) {
1146
1146
  var _this10 = this;
1147
+ var _ref = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {},
1148
+ _ref$forceRefresh = _ref.forceRefresh,
1149
+ forceRefresh = _ref$forceRefresh === void 0 ? false : _ref$forceRefresh;
1147
1150
  if (this.api !== null) {
1148
1151
  try {
1149
- this.api.themeFromUrl.extractFromUrl(url).then(function (result) {
1152
+ this.api.themeFromUrl.extractFromUrl(url, {
1153
+ forceRefresh: forceRefresh
1154
+ }).then(function (result) {
1150
1155
  onSuccess(_this10.events.THEME_EXTRACT_FROM_URL_COMPLETE, result);
1151
1156
  })["catch"](function (error) {
1152
1157
  onError(_this10.events.THEME_EXTRACT_FROM_URL_ERROR, error);