diff --git a/.changeset/olive-terms-stare.md b/.changeset/olive-terms-stare.md new file mode 100644 index 000000000..5cb9a0e82 --- /dev/null +++ b/.changeset/olive-terms-stare.md @@ -0,0 +1,6 @@ +--- +"@vue-storefront/magento-api": major +"@vue-storefront/magento-sdk": major +--- + +update middleware diff --git a/packages/api-client/package.json b/packages/api-client/package.json index d58786334..68ef4b3e4 100644 --- a/packages/api-client/package.json +++ b/packages/api-client/package.json @@ -24,7 +24,7 @@ "dependencies": { "@apollo/client": "3.8.7", "@vue-storefront/magento-types": "2.0.0", - "@vue-storefront/middleware": "^5.0.0-rc", + "@vue-storefront/middleware": "^5.1.0-rc", "agentkeepalive": "^4.2.1", "consola": "^3.1.0", "dotenv": "^16.0.1", diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 11b4ab80a..d7799f0a7 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -27,12 +27,12 @@ }, "devDependencies": { "@types/node": "^12.12.14", - "@vue-storefront/magento-api": "^6.0.0-rc.0", - "@vue-storefront/middleware": "^5.0.0-rc", + "@vue-storefront/magento-api": "^5.0.0", + "@vue-storefront/middleware": "^5.1.0-rc", "nock": "^13.2.9" }, "peerDependencies": { - "@vue-storefront/middleware": "^5.0.0-rc" + "@vue-storefront/middleware": "^5.1.0-rc" }, "publishConfig": { "access": "public", diff --git a/yarn.lock b/yarn.lock index 0417ee99d..a317826ac 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2229,6 +2229,14 @@ ts-jest "^29.1.0" ts-node "^10.9.1" +"@vue-storefront/logger@1.0.0-rc.3": + version "1.0.0-rc.3" + resolved "https://registrynpm.storefrontcloud.io/@vue-storefront/logger/-/logger-1.0.0-rc.3.tgz#2e9c212a4ecd32a6adf890ed10ad87424af02d1e" + integrity sha512-NZfMtkVpTjH1dbHVFrJNTQvzRHnMeISDWJE6gD//Couktoo0lvoIKtedLEuKrpnMQ0MMWuOrQ3XchsRquwmesQ== + dependencies: + consola "^3" + dotenv "^16" + "@vue-storefront/middleware@^5.0.0-rc": version "5.0.0" resolved "https://registrynpm.storefrontcloud.io/@vue-storefront/middleware/-/middleware-5.0.0.tgz#14cf56baf330c336949dab40862fcc6cca13aadf" @@ -2241,6 +2249,18 @@ express "^4.18.1" helmet "^5.1.1" +"@vue-storefront/middleware@^5.1.0-rc": + version "5.1.0-rc.0" + resolved "https://registrynpm.storefrontcloud.io/@vue-storefront/middleware/-/middleware-5.1.0-rc.0.tgz#cc70ddd63561581556d69f92d0d8dc0e087ea10a" + integrity sha512-QV67JisZWEasf0KiKlgI/YQM7DVOIvYONUeM8KqObueWKP7JhsIPKAiWMGC9ZmRSCRIEiQHl16Lp5O/gFmhVSw== + dependencies: + "@godaddy/terminus" "^4.12.1" + "@vue-storefront/logger" "1.0.0-rc.3" + cookie-parser "^1.4.6" + cors "^2.8.5" + express "^4.18.1" + helmet "^5.1.1" + "@vue-storefront/rollup-config@^0.0.7": version "0.0.7" resolved "https://registry.yarnpkg.com/@vue-storefront/rollup-config/-/rollup-config-0.0.7.tgz#9cf6b7d8b4645191873908dcc1f87f625fa490e4" @@ -3131,6 +3151,11 @@ consola@^2.15.3: resolved "https://registry.yarnpkg.com/consola/-/consola-2.15.3.tgz#2e11f98d6a4be71ff72e0bdf07bd23e12cb61550" integrity sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw== +consola@^3: + version "3.2.3" + resolved "https://registrynpm.storefrontcloud.io/consola/-/consola-3.2.3.tgz#0741857aa88cfa0d6fd53f1cff0375136e98502f" + integrity sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ== + consola@^3.1.0: version "3.2.2" resolved "https://registry.yarnpkg.com/consola/-/consola-3.2.2.tgz#be9b295e1e556355a09ac475b4394016144e0c32" @@ -3442,6 +3467,11 @@ dot-case@^3.0.4: no-case "^3.0.4" tslib "^2.0.3" +dotenv@^16: + version "16.4.5" + resolved "https://registrynpm.storefrontcloud.io/dotenv/-/dotenv-16.4.5.tgz#cdd3b3b604cb327e286b4762e13502f717cb099f" + integrity sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg== + dotenv@^16.0.0, dotenv@^16.0.1: version "16.3.1" resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.3.1.tgz#369034de7d7e5b120972693352a3bf112172cc3e"