ywana-core8 0.0.795 → 0.0.797

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
@@ -10847,7 +10847,7 @@ var CollectionContextProvider = function CollectionContextProvider(props) {
10847
10847
 
10848
10848
  var _temp14 = _catch(function () {
10849
10849
  return Promise.resolve(API.remove(id)).then(function () {
10850
- return Promise.resolve(_this12.load()).then(function () {});
10850
+ return Promise.resolve(_this12.reload()).then(function () {});
10851
10851
  });
10852
10852
  }, function (error) {
10853
10853
  console.log(error);
@@ -10865,7 +10865,7 @@ var CollectionContextProvider = function CollectionContextProvider(props) {
10865
10865
 
10866
10866
  var _temp12 = _catch(function () {
10867
10867
  return Promise.resolve(API.updateProperty(id, propertyName, form)).then(function () {
10868
- return Promise.resolve(_this10.load()).then(function () {});
10868
+ return Promise.resolve(_this10.reload()).then(function () {});
10869
10869
  });
10870
10870
  }, function (error) {
10871
10871
  console.log(error);
@@ -10884,7 +10884,7 @@ var CollectionContextProvider = function CollectionContextProvider(props) {
10884
10884
  var _temp10 = _catch(function () {
10885
10885
  if (versioning) form.version = form.version ? form.version + 1 : 1;
10886
10886
  return Promise.resolve(API.patch(id, form)).then(function () {
10887
- return Promise.resolve(_this8.load()).then(function () {});
10887
+ return Promise.resolve(_this8.reload()).then(function () {});
10888
10888
  });
10889
10889
  }, function (error) {
10890
10890
  console.log(error);
@@ -10903,7 +10903,7 @@ var CollectionContextProvider = function CollectionContextProvider(props) {
10903
10903
  var _temp8 = _catch(function () {
10904
10904
  if (versioning) form.version = form.version ? form.version + 1 : 1;
10905
10905
  return Promise.resolve(API.update(form)).then(function () {
10906
- return Promise.resolve(_this6.load()).then(function () {});
10906
+ return Promise.resolve(_this6.reload()).then(function () {});
10907
10907
  });
10908
10908
  }, function (error) {
10909
10909
  console.log(error);
@@ -10922,7 +10922,7 @@ var CollectionContextProvider = function CollectionContextProvider(props) {
10922
10922
  var _temp6 = _catch(function () {
10923
10923
  if (versioning) form.version = 1;
10924
10924
  return Promise.resolve(API.create(form)).then(function () {
10925
- return Promise.resolve(_this4.load()).then(function () {});
10925
+ return Promise.resolve(_this4.reload()).then(function () {});
10926
10926
  });
10927
10927
  }, function (error) {
10928
10928
  console.log(error);