druxt 0.18.0 → 0.18.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 CHANGED
@@ -9,7 +9,7 @@ import Vue from 'vue';
9
9
  import { DrupalJsonApiParams } from 'drupal-jsonapi-params';
10
10
 
11
11
  var name = "druxt";
12
- var version = "0.18.0";
12
+ var version = "0.18.1";
13
13
  var description = "The Fully Decoupled Drupal Framework for Nuxt.js.";
14
14
  var keywords = [
15
15
  "cms",
@@ -128,7 +128,7 @@ const DruxtNuxtModule = function(moduleOptions = {}) {
128
128
  if (!options.axios) {
129
129
  this.options.axios = {
130
130
  baseURL: options.baseUrl,
131
- proxy: !!this.options.proxy,
131
+ proxy: !!(options.proxy || {}).api,
132
132
  ...this.options.axios
133
133
  };
134
134
  this.addModule("@nuxtjs/axios");
package/dist/druxt.ssr.js CHANGED
@@ -22,7 +22,7 @@ const md5__default = /*#__PURE__*/_interopDefaultLegacy(md5);
22
22
  const Vue__default = /*#__PURE__*/_interopDefaultLegacy(Vue);
23
23
 
24
24
  var name = "druxt";
25
- var version = "0.18.0";
25
+ var version = "0.18.1";
26
26
  var description = "The Fully Decoupled Drupal Framework for Nuxt.js.";
27
27
  var keywords = [
28
28
  "cms",
@@ -141,7 +141,7 @@ const DruxtNuxtModule = function(moduleOptions = {}) {
141
141
  if (!options.axios) {
142
142
  this.options.axios = {
143
143
  baseURL: options.baseUrl,
144
- proxy: !!this.options.proxy,
144
+ proxy: !!(options.proxy || {}).api,
145
145
  ...this.options.axios
146
146
  };
147
147
  this.addModule("@nuxtjs/axios");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "druxt",
3
- "version": "0.18.0",
3
+ "version": "0.18.1",
4
4
  "description": "The Fully Decoupled Drupal Framework for Nuxt.js.",
5
5
  "keywords": [
6
6
  "cms",