Skip to content

Commit

Permalink
feat: upgrade axios to 1.6.8
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoszherba committed Apr 16, 2024
1 parent 8660bf3 commit aa3e281
Show file tree
Hide file tree
Showing 3 changed files with 1,473 additions and 47 deletions.
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue-storefront/core",
"version": "2.8.0",
"version": "3.0.0",
"sideEffects": false,
"main": "lib/index.cjs.js",
"module": "lib/index.es.js",
Expand All @@ -13,7 +13,7 @@
"prepublish": "yarn build"
},
"dependencies": {
"axios": "0.22.0",
"axios": "1.6.8",
"express": "^4.17.1",
"lodash-es": "^4.17.15",
"vue": "^2.6.11"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/utils/nuxt/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const integrationPlugin = (pluginFn: NuxtPlugin) => (nuxtCtx: NuxtContext
const api = createProxiedApi({ givenApi: configuration.api || {}, client, tag });

if (nuxtCtx.app.i18n.cookieValues) {
client.defaults.headers.cookie = setCookieValues(nuxtCtx.app.i18n.cookieValues, client.defaults.headers.cookie);
client.defaults.headers.cookie = setCookieValues(nuxtCtx.app.i18n.cookieValues, client.defaults.headers.cookie.toString());
}

injectInContext({ api, client, config });
Expand Down
Loading

0 comments on commit aa3e281

Please sign in to comment.