@limetech/lime-web-components 5.40.0 → 5.41.1

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
@@ -1,3 +1,19 @@
1
+ ## [5.41.1](https://github.com/Lundalogik/lime-web-components/compare/v5.41.0...v5.41.1) (2025-01-09)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+
7
+ * **decorators:** ensure subscriptions only contains functions ([ce8dbc6](https://github.com/Lundalogik/lime-web-components/commit/ce8dbc6109e8ddbd5c55cb3d3dd3405b7d0c51f4))
8
+
9
+ ## [5.41.0](https://github.com/Lundalogik/lime-web-components/compare/v5.40.0...v5.41.0) (2024-12-04)
10
+
11
+
12
+ ### Features
13
+
14
+
15
+ * **notifications:** add assignment type ([2f5e26d](https://github.com/Lundalogik/lime-web-components/commit/2f5e26debd3a68c5d6cab03350cf3bcb0fee8c9f))
16
+
1
17
  ## [5.40.0](https://github.com/Lundalogik/lime-web-components/compare/v5.39.0...v5.40.0) (2024-11-21)
2
18
 
3
19
 
@@ -178,6 +178,9 @@ function watchProp(target, property, observer) {
178
178
  */
179
179
  function subscribe(component, property) {
180
180
  const subscription = createSubscription(component, property);
181
+ if (typeof subscription !== 'function') {
182
+ return;
183
+ }
181
184
  const subscriptions = componentSubscriptions.get(component);
182
185
  subscriptions.push(subscription);
183
186
  }
@@ -165,6 +165,9 @@ function watchProp(target, property, observer) {
165
165
  }
166
166
  function subscribe(component, property) {
167
167
  var subscription = createSubscription(component, property);
168
+ if (typeof subscription !== 'function') {
169
+ return;
170
+ }
168
171
  var subscriptions = componentSubscriptions.get(component);
169
172
  subscriptions.push(subscription);
170
173
  }
@@ -38,5 +38,5 @@ export type Notification<T = unknown> = {
38
38
  /**
39
39
  * @alpha
40
40
  */
41
- export type NotificationType = 'mention';
41
+ export type NotificationType = 'assignment' | 'mention';
42
42
  //# sourceMappingURL=notification.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../src/notification-service/notification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;;GAKG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,GAAG,OAAO,IAAI;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAExB;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;IAEZ;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAEhB;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB;;OAEG;IACH,IAAI,CAAC,EAAE,CAAC,CAAC;IAET;;OAEG;IACH,SAAS,CAAC,EAAE,UAAU,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,SAAS,CAAC"}
1
+ {"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../src/notification-service/notification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;;GAKG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,GAAG,OAAO,IAAI;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAC;IAExB;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAC;IAEZ;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAEhB;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB;;OAEG;IACH,IAAI,CAAC,EAAE,CAAC,CAAC;IAET;;OAEG;IACH,SAAS,CAAC,EAAE,UAAU,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,SAAS,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetech/lime-web-components",
3
- "version": "5.40.0",
3
+ "version": "5.41.1",
4
4
  "description": "Lime Web Components",
5
5
  "author": "Lime Technologies",
6
6
  "license": "Apache-2.0",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "devDependencies": {
36
36
  "@commitlint/config-conventional": "^19.6.0",
37
- "@microsoft/api-extractor": "^7.47.11",
37
+ "@microsoft/api-extractor": "^7.48.0",
38
38
  "@types/jest": "^27.5.0",
39
39
  "@typescript-eslint/eslint-plugin": "^7.5.0",
40
40
  "@typescript-eslint/parser": "^7.5.0",