druxt 0.21.0 → 0.21.1
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/druxt.esm.js +3 -2
- package/dist/druxt.ssr.js +3 -2
- package/package.json +1 -1
package/dist/druxt.esm.js
CHANGED
|
@@ -250,7 +250,7 @@ class DruxtClient {
|
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
var name = "druxt";
|
|
253
|
-
var version = "0.21.
|
|
253
|
+
var version = "0.21.1";
|
|
254
254
|
var description = "The Fully Decoupled Drupal Framework for Nuxt.js.";
|
|
255
255
|
var keywords = [
|
|
256
256
|
"cms",
|
|
@@ -554,8 +554,9 @@ const DruxtStore = ({ store }) => {
|
|
|
554
554
|
const include = queryObject.include.split(",").filter((s) => s.startsWith(`${key}.`)).map((s) => s.slice(key.length + 1)).join(",");
|
|
555
555
|
return data.filter((o) => typeof o === "object" && o).map((o) => {
|
|
556
556
|
return dispatch("getResource", {
|
|
557
|
-
type: o.type,
|
|
558
557
|
id: o.id,
|
|
558
|
+
prefix,
|
|
559
|
+
type: o.type,
|
|
559
560
|
query: { ...queryObject, include }
|
|
560
561
|
});
|
|
561
562
|
});
|
package/dist/druxt.ssr.js
CHANGED
|
@@ -263,7 +263,7 @@ class DruxtClient {
|
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
var name = "druxt";
|
|
266
|
-
var version = "0.21.
|
|
266
|
+
var version = "0.21.1";
|
|
267
267
|
var description = "The Fully Decoupled Drupal Framework for Nuxt.js.";
|
|
268
268
|
var keywords = [
|
|
269
269
|
"cms",
|
|
@@ -567,8 +567,9 @@ const DruxtStore = ({ store }) => {
|
|
|
567
567
|
const include = queryObject.include.split(",").filter((s) => s.startsWith(`${key}.`)).map((s) => s.slice(key.length + 1)).join(",");
|
|
568
568
|
return data.filter((o) => typeof o === "object" && o).map((o) => {
|
|
569
569
|
return dispatch("getResource", {
|
|
570
|
-
type: o.type,
|
|
571
570
|
id: o.id,
|
|
571
|
+
prefix,
|
|
572
|
+
type: o.type,
|
|
572
573
|
query: { ...queryObject, include }
|
|
573
574
|
});
|
|
574
575
|
});
|