@micromag/data 0.3.541 → 0.3.556
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 +7 -0
- package/package.json +4 -5
- package/lib/index.js +0 -1685
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.
|
|
3
|
+
"version": "0.3.556",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -30,11 +30,10 @@
|
|
|
30
30
|
}
|
|
31
31
|
],
|
|
32
32
|
"license": "ISC",
|
|
33
|
-
"
|
|
33
|
+
"type": "module",
|
|
34
34
|
"module": "es/index.js",
|
|
35
35
|
"exports": {
|
|
36
36
|
".": {
|
|
37
|
-
"require": "./lib/index.js",
|
|
38
37
|
"import": "./es/index.js"
|
|
39
38
|
}
|
|
40
39
|
},
|
|
@@ -60,7 +59,7 @@
|
|
|
60
59
|
"@babel/runtime": "^7.13.10",
|
|
61
60
|
"@folklore/fetch": "^0.1.17",
|
|
62
61
|
"@folklore/routes": "^0.2.27",
|
|
63
|
-
"@micromag/core": "^0.3.
|
|
62
|
+
"@micromag/core": "^0.3.547",
|
|
64
63
|
"lodash": "^4.17.21",
|
|
65
64
|
"prop-types": "^15.7.2",
|
|
66
65
|
"query-string": "^9.0.0"
|
|
@@ -69,5 +68,5 @@
|
|
|
69
68
|
"access": "public",
|
|
70
69
|
"registry": "https://registry.npmjs.org/"
|
|
71
70
|
},
|
|
72
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "12a6092859319d01fdff72d65c6b28d3a33a6af9"
|
|
73
72
|
}
|