@pagopa/interop-outbound-models 1.3.1 → 1.3.2

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
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## 1.3.2
6
+
7
+ ### Fixed
8
+
9
+ - Fix converter of EServiceNameUpdated
10
+
5
11
  ## 1.3.1
6
12
 
7
13
  ### Fixed
@@ -37,4 +43,4 @@ All notable changes to this project will be documented in this file.
37
43
 
38
44
  ### Added
39
45
 
40
- - Added eservice event `EServiceNameUpdated`
46
+ - Added eservice event `EServiceNameUpdated`
@@ -31,7 +31,7 @@ export function eServiceEventToBinaryDataV2(event) {
31
31
  .with({ type: "EServiceIsDelegableDisabled" }, ({ data }) => EServiceIsDelegableDisabledV2.toBinary(data))
32
32
  .with({ type: "EServiceIsClientAccessDelegableEnabled" }, ({ data }) => EServiceIsClientAccessDelegableEnabledV2.toBinary(data))
33
33
  .with({ type: "EServiceIsClientAccessDelegableDisabled" }, ({ data }) => EServiceIsClientAccessDelegableDisabledV2.toBinary(data))
34
- .with({ type: "EServiceNameUpdated" }, ({ data }) => EServiceDescriptionUpdatedV2.toBinary(data))
34
+ .with({ type: "EServiceNameUpdated" }, ({ data }) => EServiceNameUpdatedV2.toBinary(data))
35
35
  .exhaustive();
36
36
  }
37
37
  export const EServiceEventV2 = z.discriminatedUnion("type", [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pagopa/interop-outbound-models",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "PagoPA Interoperability outbound models",
5
5
  "main": "dist",
6
6
  "type": "module",
@@ -118,7 +118,7 @@ export function eServiceEventToBinaryDataV2(
118
118
  EServiceIsClientAccessDelegableDisabledV2.toBinary(data)
119
119
  )
120
120
  .with({ type: "EServiceNameUpdated" }, ({ data }) =>
121
- EServiceDescriptionUpdatedV2.toBinary(data)
121
+ EServiceNameUpdatedV2.toBinary(data)
122
122
  )
123
123
  .exhaustive();
124
124
  }