@dev.smartpricing/message-composer-layer 4.2.5 → 4.2.6

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.
@@ -97,7 +97,7 @@ const accommodationName = computed(
97
97
 
98
98
  const state = ref<Schema>({
99
99
  to: '',
100
- sender_name: accommodationName.value,
100
+ sender_name: '',
101
101
  from: '',
102
102
  })
103
103
 
@@ -111,6 +111,16 @@ watch(
111
111
  { immediate: true },
112
112
  )
113
113
 
114
+ watch(
115
+ accommodationName,
116
+ (name) => {
117
+ if (!state.value.sender_name) {
118
+ state.value.sender_name = name
119
+ }
120
+ },
121
+ { immediate: true },
122
+ )
123
+
114
124
  const schema = z.object({
115
125
  to: z
116
126
  .string()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev.smartpricing/message-composer-layer",
3
- "version": "4.2.5",
3
+ "version": "4.2.6",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./nuxt.config.ts",
@@ -36,7 +36,7 @@
36
36
  "vue-router": "^5.0.7",
37
37
  "vue3-emoji-picker": "^1.1.8",
38
38
  "zod": "^4.4.3",
39
- "@dev.smartpricing/message-composer-utils": "4.2.5"
39
+ "@dev.smartpricing/message-composer-utils": "4.2.6"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@nuxt/eslint": "^1.15.2",