diff --git a/.changeset/modern-comics-impress.md b/.changeset/modern-comics-impress.md deleted file mode 100644 index f1f874a137..0000000000 --- a/.changeset/modern-comics-impress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@vue-storefront/middleware": patch ---- - -**[FIXED]** type of `defaultErrorHandler` diff --git a/docs/content/3.middleware/3.api/middleware.api.json b/docs/content/3.middleware/3.api/middleware.api.json index 9126ea19db..d93962d8d0 100644 --- a/docs/content/3.middleware/3.api/middleware.api.json +++ b/docs/content/3.middleware/3.api/middleware.api.json @@ -4122,6 +4122,50 @@ "endIndex": 4 } }, + { + "kind": "TypeAlias", + "canonicalReference": "@vue-storefront/middleware!ErrorHandler:type", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "export type ErrorHandler = " + }, + { + "kind": "Content", + "text": "(error: unknown, req: " + }, + { + "kind": "Reference", + "text": "AlokaiRequest", + "canonicalReference": "@vue-storefront/middleware!AlokaiRequest:type" + }, + { + "kind": "Content", + "text": ", res: " + }, + { + "kind": "Reference", + "text": "AlokaiResponse", + "canonicalReference": "@vue-storefront/middleware!AlokaiResponse:type" + }, + { + "kind": "Content", + "text": ") => void" + }, + { + "kind": "Content", + "text": ";" + } + ], + "fileUrlPath": "src/types/common.ts", + "releaseTag": "Public", + "name": "ErrorHandler", + "typeTokenRange": { + "startIndex": 1, + "endIndex": 6 + } + }, { "kind": "TypeAlias", "canonicalReference": "@vue-storefront/middleware!ErrorObject:type", @@ -5158,27 +5202,10 @@ "kind": "Content", "text": "errorHandler?: " }, - { - "kind": "Content", - "text": "(error: unknown, req: " - }, { "kind": "Reference", - "text": "AlokaiRequest", - "canonicalReference": "@vue-storefront/middleware!AlokaiRequest:type" - }, - { - "kind": "Content", - "text": ", res: " - }, - { - "kind": "Reference", - "text": "AlokaiResponse", - "canonicalReference": "@vue-storefront/middleware!AlokaiResponse:type" - }, - { - "kind": "Content", - "text": ") => void" + "text": "ErrorHandler", + "canonicalReference": "@vue-storefront/middleware!ErrorHandler:type" }, { "kind": "Content", @@ -5191,7 +5218,7 @@ "name": "errorHandler", "propertyTypeTokenRange": { "startIndex": 1, - "endIndex": 6 + "endIndex": 2 } }, { diff --git a/docs/content/3.middleware/4.reference/change-log.md b/docs/content/3.middleware/4.reference/change-log.md index 9425485924..a571f52173 100644 --- a/docs/content/3.middleware/4.reference/change-log.md +++ b/docs/content/3.middleware/4.reference/change-log.md @@ -1,5 +1,11 @@ # Change log +## 5.3.1 + +### Patch Changes + +**[FIXED]** type of `defaultErrorHandler` + ## 5.3.0 ### Minor Changes diff --git a/packages/middleware/CHANGELOG.md b/packages/middleware/CHANGELOG.md index 9425485924..a571f52173 100644 --- a/packages/middleware/CHANGELOG.md +++ b/packages/middleware/CHANGELOG.md @@ -1,5 +1,11 @@ # Change log +## 5.3.1 + +### Patch Changes + +**[FIXED]** type of `defaultErrorHandler` + ## 5.3.0 ### Minor Changes diff --git a/packages/middleware/package.json b/packages/middleware/package.json index f3cd783023..f0d27f3e4a 100644 --- a/packages/middleware/package.json +++ b/packages/middleware/package.json @@ -1,6 +1,6 @@ { "name": "@vue-storefront/middleware", - "version": "5.3.0", + "version": "5.3.1", "main": "lib/index.cjs.js", "module": "lib/index.es.js", "types": "lib/index.d.ts", diff --git a/packages/sdk/package.json b/packages/sdk/package.json index c8036f7909..76ea85afa4 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -25,7 +25,7 @@ "devDependencies": { "@types/jest": "^29.0.3", "@types/node": "^18.11.17", - "@vue-storefront/middleware": "5.3.0", + "@vue-storefront/middleware": "5.3.1", "axios": "^1.6.7", "babel-preset-node": "^5.1.1", "isomorphic-fetch": "^3.0.0",