@pagopa/selfcare-common-frontend 1.2.0 → 1.2.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
|
@@ -4,8 +4,9 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
-
#### 1.2.
|
|
7
|
+
#### 1.2.1
|
|
8
8
|
|
|
9
|
+
- SELC-417 fixed useUnloadEventInterceptor useEffect [`#12`](https://github.com/pagopa/selfcare-common-frontend/pull/12)
|
|
9
10
|
- added api-utils and utility to use together with @pagopa/openapi-codegen-ts [`#11`](https://github.com/pagopa/selfcare-common-frontend/pull/11)
|
|
10
11
|
- Selc-408 fix concurrent notify [`#10`](https://github.com/pagopa/selfcare-common-frontend/pull/10)
|
|
11
12
|
- bug fix [`#8`](https://github.com/pagopa/selfcare-common-frontend/pull/8)
|
package/build.info
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
tags/v1.2.
|
|
1
|
+
20220202.1 - selfcare-common-frontend.deploy(18826)
|
|
2
|
+
tags/v1.2.1^0 6b0cd321c093e09f56475232a105594d155f220d
|
|
@@ -30,7 +30,7 @@ const useUnloadEventInterceptorAndActivate = (title, description) => {
|
|
|
30
30
|
(0, react_1.useEffect)(() => {
|
|
31
31
|
registerUnloadEvent(title, description);
|
|
32
32
|
return () => unregisterUnloadEvent();
|
|
33
|
-
});
|
|
33
|
+
}, []);
|
|
34
34
|
return {
|
|
35
35
|
registerUnloadEvent,
|
|
36
36
|
unregisterUnloadEvent,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUnloadEventInterceptor.js","sourceRoot":"","sources":["../../src/lib/hooks/useUnloadEventInterceptor.ts"],"names":[],"mappings":";;;AAAA,iCAAkC;AAClC,6CAAuD;AACvD,uCAAuC;AACvC,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,IAAA,4BAAoB,GAAE,CAAC;IACtC,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,YAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC;AAC1E,CAAC,CAAC;AAHW,QAAA,oBAAoB,wBAG/B"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pagopa/selfcare-common-frontend",
|
|
3
3
|
"description": "Shared React components for the pagopa selfcare project",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/pagopa/selfcare-common-frontend",
|
|
7
7
|
"author": "https://www.pagopa.gov.it",
|