@empathyco/x-components 3.0.0-alpha.248 → 3.0.0-alpha.249

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.0.0-alpha.249](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.248...@empathyco/x-components@3.0.0-alpha.249) (2022-12-14)
7
+
8
+
9
+ ### Features
10
+
11
+ * **recommendations:** emit `RecommendationsChanged` (#922) ([11119c3](https://github.com/empathyco/x/commit/11119c353bb26ac5dc3fdd774a513b68a1098771))
12
+
13
+
14
+
6
15
  ## [3.0.0-alpha.248](https://github.com/empathyco/x/compare/@empathyco/x-components@3.0.0-alpha.247...@empathyco/x-components@3.0.0-alpha.248) (2022-12-12)
7
16
 
8
17
 
@@ -7,6 +7,7 @@ import { recommendationsXStoreModule } from './module.js';
7
7
  * @internal
8
8
  */
9
9
  const recommendationsEmitters = createStoreEmitters(recommendationsXStoreModule, {
10
+ RecommendationsChanged: state => state.recommendations,
10
11
  RecommendationsRequestChanged: {
11
12
  selector: (_, getters) => getters.request,
12
13
  immediate: true
@@ -1 +1 @@
1
- {"version":3,"file":"emitters.js","sources":["../../../../../src/x-modules/recommendations/store/emitters.ts"],"sourcesContent":["import { createStoreEmitters } from '../../../store';\nimport { recommendationsXStoreModule } from './module';\n/**\n * {@link StoreEmitters} For the recommendations module.\n *\n * @internal\n */\nexport const recommendationsEmitters = createStoreEmitters(recommendationsXStoreModule, {\n RecommendationsRequestChanged: {\n selector: (_, getters) => getters.request,\n immediate: true\n }\n});\n"],"names":[],"mappings":";;;AAEA;;;;;MAKa,uBAAuB,GAAG,mBAAmB,CAAC,2BAA2B,EAAE;IACtF,6BAA6B,EAAE;QAC7B,QAAQ,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO;QACzC,SAAS,EAAE,IAAI;KAChB;CACF;;;;"}
1
+ {"version":3,"file":"emitters.js","sources":["../../../../../src/x-modules/recommendations/store/emitters.ts"],"sourcesContent":["import { createStoreEmitters } from '../../../store';\nimport { recommendationsXStoreModule } from './module';\n/**\n * {@link StoreEmitters} For the recommendations module.\n *\n * @internal\n */\nexport const recommendationsEmitters = createStoreEmitters(recommendationsXStoreModule, {\n RecommendationsChanged: state => state.recommendations,\n RecommendationsRequestChanged: {\n selector: (_, getters) => getters.request,\n immediate: true\n }\n});\n"],"names":[],"mappings":";;;AAEA;;;;;MAKa,uBAAuB,GAAG,mBAAmB,CAAC,2BAA2B,EAAE;IACtF,sBAAsB,EAAE,KAAK,IAAI,KAAK,CAAC,eAAe;IACtD,6BAA6B,EAAE;QAC7B,QAAQ,EAAE,CAAC,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,OAAO;QACzC,SAAS,EAAE,IAAI;KAChB;CACF;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empathyco/x-components",
3
- "version": "3.0.0-alpha.248",
3
+ "version": "3.0.0-alpha.249",
4
4
  "description": "Empathy X Components",
5
5
  "author": "Empathy Systems Corporation S.L.",
6
6
  "license": "Apache-2.0",
@@ -135,5 +135,5 @@
135
135
  "access": "public",
136
136
  "directory": "dist"
137
137
  },
138
- "gitHead": "4bf98494d91c4f0b7539f594aca7df88ac7f65b8"
138
+ "gitHead": "5e9b86e992404472ba67981f40a72f8232201ccf"
139
139
  }
@@ -3323,6 +3323,7 @@ export interface RecommendationsConfig {
3323
3323
 
3324
3324
  // @internal
3325
3325
  export const recommendationsEmitters: {
3326
+ RecommendationsChanged: (state: RecommendationsState) => Result[];
3326
3327
  RecommendationsRequestChanged: {
3327
3328
  selector: (_: RecommendationsState, getters: Returns<GettersTree<RecommendationsState, RecommendationsGetters>>) => RecommendationsRequest;
3328
3329
  immediate: true;
@@ -4,6 +4,7 @@
4
4
  * @internal
5
5
  */
6
6
  export declare const recommendationsEmitters: {
7
+ RecommendationsChanged: (state: import("./types").RecommendationsState) => import("@empathyco/x-types").Result[];
7
8
  RecommendationsRequestChanged: {
8
9
  selector: (_: import("./types").RecommendationsState, getters: import("../../..").Returns<import("../../../store").GettersTree<import("./types").RecommendationsState, import("./types").RecommendationsGetters>>) => import("@empathyco/x-types").RecommendationsRequest;
9
10
  immediate: true;
@@ -1 +1 @@
1
- {"version":3,"file":"emitters.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/recommendations/store/emitters.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,uBAAuB;;;;;CAKlC,CAAC"}
1
+ {"version":3,"file":"emitters.d.ts","sourceRoot":"","sources":["../../../../../src/x-modules/recommendations/store/emitters.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,uBAAuB;;;;;;CAMlC,CAAC"}