ywana-core8 0.0.996 → 0.0.998

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 CHANGED
@@ -5659,6 +5659,7 @@ var TaskMonitor = function TaskMonitor(props) {
5659
5659
  try {
5660
5660
  return Promise.resolve(context.tasks(filters)).then(function (tasks) {
5661
5661
  setTasks(tasks);
5662
+ if (onRefresh) onRefresh(tasks);
5662
5663
  });
5663
5664
  } catch (e) {
5664
5665
  return Promise.reject(e);
@@ -5670,7 +5671,8 @@ var TaskMonitor = function TaskMonitor(props) {
5670
5671
  filters = _props$filters === void 0 ? {} : _props$filters,
5671
5672
  editors = props.editors,
5672
5673
  _props$frequency2 = props.frequency,
5673
- frequency = _props$frequency2 === void 0 ? 5000 : _props$frequency2;
5674
+ frequency = _props$frequency2 === void 0 ? 5000 : _props$frequency2,
5675
+ onRefresh = props.onRefresh;
5674
5676
  var context = React.useContext(TaskContext);
5675
5677
  var _useState3 = React.useState([]),
5676
5678
  _useState3$ = _useState3[0],
@@ -12058,4 +12060,5 @@ exports.Wizard = Wizard;
12058
12060
  exports.WizardContext = WizardContext;
12059
12061
  exports.isEmpty = isEmpty;
12060
12062
  exports.isFunction = isFunction;
12063
+ exports.validatePassword = validatePassword;
12061
12064
  //# sourceMappingURL=index.cjs.map