From 6abadba46dc5932eca21f511541c2344c43f7a3f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 26 Nov 2024 10:37:13 +0000 Subject: [PATCH] ci: release --- .changeset/empty-cycles-lay.md | 5 ----- .changeset/gorgeous-pears-chew.md | 5 ----- docs/content/4.sdk/4.api/sdk.api.json | 2 +- docs/content/4.sdk/5.reference/sdk-change-log.md | 11 +++++++---- packages/sdk/CHANGELOG.md | 7 +++++++ packages/sdk/package.json | 2 +- 6 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 .changeset/empty-cycles-lay.md delete mode 100644 .changeset/gorgeous-pears-chew.md diff --git a/.changeset/empty-cycles-lay.md b/.changeset/empty-cycles-lay.md deleted file mode 100644 index 323bf42fa3..0000000000 --- a/.changeset/empty-cycles-lay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@vue-storefront/sdk": patch ---- - -- **[FIX]** Fixed type inference for function-based configurations when using the [extend](https://docs.alokai.com/sdk/advanced/extending-module#extend) method. Now the `methods` object is correctly typed. diff --git a/.changeset/gorgeous-pears-chew.md b/.changeset/gorgeous-pears-chew.md deleted file mode 100644 index 90f2df85ff..0000000000 --- a/.changeset/gorgeous-pears-chew.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@vue-storefront/sdk": patch ---- - -- **[FIXED]** Fixed multiple files upload, now it works as expected. diff --git a/docs/content/4.sdk/4.api/sdk.api.json b/docs/content/4.sdk/4.api/sdk.api.json index 448d72778a..65eebc9351 100644 --- a/docs/content/4.sdk/4.api/sdk.api.json +++ b/docs/content/4.sdk/4.api/sdk.api.json @@ -1146,7 +1146,7 @@ }, { "kind": "Content", - "text": "(options?: Options, parent?: {\n methods: ExtendedModule[\"connector\"];\n context?: ExtendedModule[\"context\"];\n}) => InitializedExtension" + "text": "(options: Options, parent: {\n methods: ExtendedModule[\"connector\"];\n context: ExtendedModule[\"context\"];\n}) => InitializedExtension" }, { "kind": "Content", diff --git a/docs/content/4.sdk/5.reference/sdk-change-log.md b/docs/content/4.sdk/5.reference/sdk-change-log.md index ab609e4d77..eae3538a35 100644 --- a/docs/content/4.sdk/5.reference/sdk-change-log.md +++ b/docs/content/4.sdk/5.reference/sdk-change-log.md @@ -1,5 +1,12 @@ # Change log +## 3.4.1 + +### Patch Changes + +- **[FIXED]** Fixed type inference for function-based configurations when using the [extend](https://docs.alokai.com/sdk/advanced/extending-module#extend) method. Now the `methods` object is correctly typed. +- **[FIXED]** Fixed multiple files upload, now it works as expected. + ## 3.4.0 ### Minor Changes @@ -21,10 +28,6 @@ await sdk.commerce.uploadFile( ); ``` -:::warning -Files mustn't be included in the `FormData` object manually, SDK handles it automatically. -::: - ## 3.3.0 ### Minor Changes diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index ca5baf8c00..6920397263 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,12 @@ # Change log +## 3.4.1 + +### Patch Changes + +- **[FIX]** Fixed type inference for function-based configurations when using the [extend](https://docs.alokai.com/sdk/advanced/extending-module#extend) method. Now the `methods` object is correctly typed. +- **[FIXED]** Fixed multiple files upload, now it works as expected. + ## 3.4.0 ### Minor Changes diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 2db3cbb7b5..d8455f7699 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,7 +1,7 @@ { "name": "@vue-storefront/sdk", "license": "MIT", - "version": "3.4.0", + "version": "3.4.1", "main": "lib/index.cjs.js", "module": "lib/index.es.js", "types": "lib/index.d.ts",