@micromag/data 0.3.547 → 0.3.569

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.
Files changed (2) hide show
  1. package/es/index.js +7 -0
  2. package/package.json +3 -3
package/es/index.js CHANGED
@@ -204,6 +204,13 @@ var MediasApi = /*#__PURE__*/function (_Base) {
204
204
  media: id
205
205
  }));
206
206
  }
207
+ }, {
208
+ key: "replace",
209
+ value: function replace(id, data) {
210
+ return this.requestPost(this.route('replace', {
211
+ media: id
212
+ }), data);
213
+ }
207
214
  }]);
208
215
  }(Base$1);
209
216
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/data",
3
- "version": "0.3.547",
3
+ "version": "0.3.569",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -59,7 +59,7 @@
59
59
  "@babel/runtime": "^7.13.10",
60
60
  "@folklore/fetch": "^0.1.17",
61
61
  "@folklore/routes": "^0.2.27",
62
- "@micromag/core": "^0.3.547",
62
+ "@micromag/core": "^0.3.569",
63
63
  "lodash": "^4.17.21",
64
64
  "prop-types": "^15.7.2",
65
65
  "query-string": "^9.0.0"
@@ -68,5 +68,5 @@
68
68
  "access": "public",
69
69
  "registry": "https://registry.npmjs.org/"
70
70
  },
71
- "gitHead": "3c2f5904ce61fcfa61f673c38c2a5ec56e9e2b07"
71
+ "gitHead": "ceb71f23a32ab8df4a1563a1e5cd5598e539de4d"
72
72
  }