@micromag/media-gallery 0.3.539 → 0.3.541

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/es/index.js CHANGED
@@ -474,11 +474,11 @@ function MediaGallery(_ref) {
474
474
  },
475
475
  "delete": function _delete() {
476
476
  var _api$medias6;
477
- return (_api$medias6 = api.medias)["delete"].apply(_api$medias6, arguments);
477
+ return (_api$medias6 = api.medias).forceDelete.apply(_api$medias6, arguments);
478
478
  },
479
479
  trash: function trash() {
480
480
  var _api$medias7;
481
- return (_api$medias7 = api.medias).forceDelete.apply(_api$medias7, arguments);
481
+ return (_api$medias7 = api.medias)["delete"].apply(_api$medias7, arguments);
482
482
  }
483
483
  };
484
484
  }, [api]);
package/lib/index.js CHANGED
@@ -514,11 +514,11 @@ function MediaGallery(_ref) {
514
514
  },
515
515
  "delete": function _delete() {
516
516
  var _api$medias6;
517
- return (_api$medias6 = api.medias)["delete"].apply(_api$medias6, arguments);
517
+ return (_api$medias6 = api.medias).forceDelete.apply(_api$medias6, arguments);
518
518
  },
519
519
  trash: function trash() {
520
520
  var _api$medias7;
521
- return (_api$medias7 = api.medias).forceDelete.apply(_api$medias7, arguments);
521
+ return (_api$medias7 = api.medias)["delete"].apply(_api$medias7, arguments);
522
522
  }
523
523
  };
524
524
  }, [api]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/media-gallery",
3
- "version": "0.3.539",
3
+ "version": "0.3.541",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -72,8 +72,8 @@
72
72
  "@fortawesome/fontawesome-svg-core": "^6.5.2",
73
73
  "@fortawesome/free-solid-svg-icons": "^6.5.2",
74
74
  "@fortawesome/react-fontawesome": "^0.2.0",
75
- "@micromag/core": "^0.3.531",
76
- "@micromag/data": "^0.3.531",
75
+ "@micromag/core": "^0.3.541",
76
+ "@micromag/data": "^0.3.541",
77
77
  "@panneau/medias": "^3.0.163",
78
78
  "bootstrap": "^5.3.1",
79
79
  "classnames": "^2.2.6",
@@ -87,5 +87,5 @@
87
87
  "access": "public",
88
88
  "registry": "https://registry.npmjs.org/"
89
89
  },
90
- "gitHead": "bf51aeb7a51e55ef0d09bf1ad7150300fa0974b7"
90
+ "gitHead": "6c04a7e327b5fbc096785c11320b3fbd3c5751c8"
91
91
  }