Skip to content

Commit

Permalink
ci: release (#1518)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Apr 11, 2024
1 parent ae8a741 commit 8138228
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 29 deletions.
26 changes: 0 additions & 26 deletions .changeset/eight-islands-scream.md

This file was deleted.

4 changes: 2 additions & 2 deletions docs/content/5.api/magento-sdk.api.json
Original file line number Diff line number Diff line change
Expand Up @@ -6848,7 +6848,7 @@
"excerptTokens": [
{
"kind": "Content",
"text": "ssrApiUrl: "
"text": "ssrApiUrl?: "
},
{
"kind": "Content",
Expand All @@ -6859,7 +6859,7 @@
"text": ";"
}
],
"isOptional": false,
"isOptional": true,
"releaseTag": "Public",
"name": "ssrApiUrl",
"propertyTypeTokenRange": {
Expand Down
26 changes: 26 additions & 0 deletions docs/content/6.reference/changelogs/vue-storefront-magento-sdk.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# @vue-storefront/magento-sdk

## 2.3.1

### Patch Changes

- ae8a741d: ### Change Log

- [CHANGED] Deprecated the `MagentoModuleType` interface in `index.ts`. It is no longer necessary to use this type. Please, check documentation of `magentoModule` for alternatives. Below you can find a snippet of the new way of using `magentoModule`. Pay attention to the `buildModule` function that is used to create a module instance, it no longer requires the `MagentoModuleType` type as a generic parameter.

```ts
import { initSDK, buildModule } from "@vue-storefront/sdk";
import {
magentoModule,
MagentoModuleType,
} from "@vue-storefront/magento2-sdk";

const sdkConfig = {
magento: buildModule(magentoModule, {
apiUrl: "http://localhost:8181/magento",
}),
};

export const sdk = initSDK(sdkConfig);
```

- [CHANGED] Made the `ssrApiUrl` property in `ModuleOptions.ts` optional.

## 2.3.0

### Minor Changes
Expand Down
26 changes: 26 additions & 0 deletions packages/sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# @vue-storefront/magento-sdk

## 2.3.1

### Patch Changes

- ae8a741d: ### Change Log

- [CHANGED] Deprecated the `MagentoModuleType` interface in `index.ts`. It is no longer necessary to use this type. Please, check documentation of `magentoModule` for alternatives. Below you can find a snippet of the new way of using `magentoModule`. Pay attention to the `buildModule` function that is used to create a module instance, it no longer requires the `MagentoModuleType` type as a generic parameter.

```ts
import { initSDK, buildModule } from "@vue-storefront/sdk";
import {
magentoModule,
MagentoModuleType,
} from "@vue-storefront/magento2-sdk";

const sdkConfig = {
magento: buildModule(magentoModule, {
apiUrl: "http://localhost:8181/magento",
}),
};

export const sdk = initSDK(sdkConfig);
```

- [CHANGED] Made the `ssrApiUrl` property in `ModuleOptions.ts` optional.

## 2.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue-storefront/magento-sdk",
"version": "2.3.0",
"version": "2.3.1",
"main": "lib/index.cjs.js",
"module": "lib/index.es.js",
"types": "lib/index.d.ts",
Expand Down

0 comments on commit 8138228

Please sign in to comment.