@finema/finework-layer 2.0.48 → 2.0.50

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,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.50](https://gitlab.finema.co/finema/internal/finework/compare/2.0.49...2.0.50) (2026-08-27)
4
+
5
+ ### Bug Fixes
6
+
7
+ * update notification link handler for document type ([43f2bac](https://gitlab.finema.co/finema/internal/finework/commit/43f2bacb565a061d2c9ae09063d19df1e1f7941c)), closes [#documentRef](https://gitlab.finema.co/finema/internal/finework/issues/documentRef)
8
+
9
+ ## [2.0.49](https://gitlab.finema.co/finema/internal/finework/compare/2.0.48...2.0.49) (2026-08-24)
10
+
11
+ ### Bug Fixes
12
+
13
+ * correct costsheet document ID property name in notifications ([e13a5eb](https://gitlab.finema.co/finema/internal/finework/commit/e13a5eb3b71c7437f3a93a5098702dad11237bb8))
14
+
3
15
  ## [2.0.48](https://gitlab.finema.co/finema/internal/finework/compare/2.0.47...2.0.48) (2026-08-21)
4
16
 
5
17
  ### Features
@@ -171,7 +171,7 @@ const getLink = (item: INotificationItem) => {
171
171
 
172
172
  case 'COSTSHEET':
173
173
  {
174
- const costSheetDocID = item.data?.cost_sheet_doc_id
174
+ const costSheetDocID = item.data?.costsheet_doc_id
175
175
  const sourceID = item.source_id
176
176
 
177
177
  switch (item.action_type) {
@@ -227,6 +227,17 @@ const getLink = (item: INotificationItem) => {
227
227
  }
228
228
  }
229
229
 
230
+ case 'DOCUMENT':
231
+ {
232
+ switch (item.action_type) {
233
+ case 'DOCUMENT_BIZCO_WAITING':
234
+ return `/#documentRef`
235
+
236
+ default:
237
+ return '#'
238
+ }
239
+ }
240
+
230
241
  default:
231
242
  return '#'
232
243
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "2.0.48",
4
+ "version": "2.0.50",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",