diff --git a/CHANGELOG.md b/CHANGELOG.md index cb60e40..7fd7ff7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Adjust b2b-organizations-graphql integration +## [1.39.2] - 2024-02-26 + +### Changed +- Add intro description about Session Watcher + ## [1.39.1] - 2024-02-09 ### Fixed diff --git a/docs/README.md b/docs/README.md index 24286cc..0d58aa4 100644 --- a/docs/README.md +++ b/docs/README.md @@ -123,6 +123,11 @@ If you would like to develop your own app and integrate it with **Storefront Per Once you are done developing and installing your own app, if you have [Storefront Permissions UI](https://developers.vtex.com/vtex-developer-docs/docs/vtex-storefront-permissions-ui), the features of your app associated with each role will be automatically loaded on the **Storefront Permissions** page. For more details on this, read our documentation on the [Storefront Permissions UI](https://developers.vtex.com/vtex-developer-docs/docs/vtex-storefront-permissions-ui) app. +### Session Watcher + +The session watcher is based in the [session transformation feature](https://developers.vtex.com/docs/guides/vtex-io-documentation-collecting-user-session-data#configuring-vtexsession) to update the cart fields with Buyer [Organization data](https://github.com/vtex-apps/b2b-organizations): `Shipping Address`, `Profile` and `Marketdata` ( `utmCampaign` with `organization.id` and `utmMedium` with `costCenter.id` ) + +To activate it, [use the mutation](#setSessionWatcher). ### GraphQL queries @@ -288,7 +293,7 @@ mutation impersonateUser($userId: ID) } ``` -#### setSessionWatcher +#### setSessionWatcher If your account is not using `vtex.b2b-organizations` you may want to disable the Session Watcher to avoid unnecessary operations. To do so, set the `active` property to `false` in the mutation exemplified below. diff --git a/manifest.json b/manifest.json index 9fd4857..ce856f5 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "storefront-permissions", "vendor": "vtex", - "version": "1.39.1", + "version": "1.39.2", "title": "Storefront Permissions", "description": "Manage User's permissions on apps that relates to this app", "mustUpdateAt": "2022-08-28", diff --git a/node/package.json b/node/package.json index dc02e38..26e2a65 100644 --- a/node/package.json +++ b/node/package.json @@ -1,6 +1,6 @@ { "name": "vtex.checkout-ui-custom", - "version": "1.39.1", + "version": "1.39.2", "dependencies": { "@vtex/api": "6.46.1", "atob": "^2.1.2",