@webitel/ui-sdk 25.5.2 → 25.5.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/ui-sdk",
3
- "version": "25.5.2",
3
+ "version": "25.5.4",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "npm run docs:dev",
@@ -69,7 +69,7 @@ const getSource = async ({ itemId: id }) => {
69
69
 
70
70
  const addSource = async ({ itemInstance }) => {
71
71
  const item = applyTransform(itemInstance, [
72
- sanitize(getFieldsToSendFromZodSchema(createSourceBody)),
72
+ sanitize(getShallowFieldsToSendFromZodSchema(createSourceBody)),
73
73
  camelToSnake(),
74
74
  ]);
75
75
  try {
@@ -83,7 +83,7 @@ const addSource = async ({ itemInstance }) => {
83
83
  const updateSource = async ({ itemInstance, itemId: id }) => {
84
84
  const item = applyTransform(itemInstance, [
85
85
  camelToSnake(),
86
- sanitize(updateSourceBody),
86
+ sanitize(getShallowFieldsToSendFromZodSchema(updateSourceBody)),
87
87
  ]);
88
88
 
89
89
  try {