@redacto.io/consent-sdk-react 9.4.0-beta.0 → 9.4.0
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/.turbo/turbo-build.log +12 -12
- package/CHANGELOG.md +7 -0
- package/dist/privacy-center.d.mts +1 -0
- package/dist/privacy-center.d.ts +1 -0
- package/dist/privacy-center.js +1502 -1372
- package/dist/privacy-center.mjs +1185 -1055
- package/package.json +1 -1
- package/src/RedactoPrivacyCenter/components/AppShell/AppShell.tsx +5 -0
- package/src/RedactoPrivacyCenter/components/AppShell/UserMenu.tsx +6 -16
- package/src/RedactoPrivacyCenter/components/AppShell/usePrivacyCenterExitAction.ts +36 -0
- package/src/RedactoPrivacyCenter/components/PrivacyCenterSessionExpired.tsx +97 -0
- package/src/RedactoPrivacyCenter/context/AuthContext.tsx +23 -2
- package/src/RedactoPrivacyCenter/context/DataAvailabilityContext.session-expired.test.tsx +92 -0
- package/src/RedactoPrivacyCenter/context/DataAvailabilityContext.tsx +15 -3
- package/src/RedactoPrivacyCenter/context/types.ts +4 -0
- package/src/RedactoPrivacyCenter/lib/utils.session-expired.test.ts +109 -0
- package/src/RedactoPrivacyCenter/lib/utils.ts +55 -79
- package/src/RedactoPrivacyCenter/locales/as/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/bho/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/bn/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/brx/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/doi/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/en/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/gom/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/gu/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/hi/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/kn/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/ks/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/mai/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/ml/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/mni-Mtei/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/mr/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/ne/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/or/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/pa/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/sa/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/sat/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/sd/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/ta/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/te/translation.json +2 -0
- package/src/RedactoPrivacyCenter/locales/ur/translation.json +2 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @redacto.io/consent-sdk-react@9.
|
|
2
|
+
> @redacto.io/consent-sdk-react@9.4.0-beta.0 build /Users/sadanmianredacto/Developer/redacto/consent-sdk/packages/consent-sdk-react
|
|
3
3
|
> tsup
|
|
4
4
|
|
|
5
5
|
CLI Building entry: {"index":"src/index.ts","privacy-center":"src/privacy-center.ts"}
|
|
@@ -10,16 +10,16 @@ CLI Target: es2019
|
|
|
10
10
|
CLI Cleaning output folder
|
|
11
11
|
ESM Build start
|
|
12
12
|
CJS Build start
|
|
13
|
-
CJS dist/index.js
|
|
14
|
-
CJS dist/privacy-center.js 2.
|
|
15
|
-
CJS ⚡️ Build success in
|
|
16
|
-
ESM dist/index.mjs 306.43 KB
|
|
13
|
+
CJS dist/index.js 517.55 KB
|
|
14
|
+
CJS dist/privacy-center.js 2.18 MB
|
|
15
|
+
CJS ⚡️ Build success in 60ms
|
|
17
16
|
ESM dist/chunk-6A665OPR.mjs 841.00 B
|
|
18
|
-
ESM dist/
|
|
19
|
-
ESM
|
|
17
|
+
ESM dist/index.mjs 503.10 KB
|
|
18
|
+
ESM dist/privacy-center.mjs 2.15 MB
|
|
19
|
+
ESM ⚡️ Build success in 66ms
|
|
20
20
|
DTS Build start
|
|
21
|
-
DTS ⚡️ Build success in
|
|
22
|
-
DTS dist/index.d.mts
|
|
23
|
-
DTS dist/privacy-center.d.mts 30.
|
|
24
|
-
DTS dist/index.d.ts
|
|
25
|
-
DTS dist/privacy-center.d.ts 30.
|
|
21
|
+
DTS ⚡️ Build success in 2580ms
|
|
22
|
+
DTS dist/index.d.mts 8.03 KB
|
|
23
|
+
DTS dist/privacy-center.d.mts 30.69 KB
|
|
24
|
+
DTS dist/index.d.ts 8.03 KB
|
|
25
|
+
DTS dist/privacy-center.d.ts 30.69 KB
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @redacto.io/consent-sdk-react
|
|
2
2
|
|
|
3
|
+
## 9.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 9f7f7d5: feat(consent-sdk-react): add RedactoNoticeAssisted (agent-assisted OTP consent) + starter loan demo
|
|
8
|
+
- add notice assisted and fix ui/ux
|
|
9
|
+
|
|
3
10
|
## 9.4.0-beta.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
|
@@ -642,6 +642,7 @@ type AuthContextValue = Readonly<{
|
|
|
642
642
|
refreshToken: string;
|
|
643
643
|
onError: (error: Error) => boolean;
|
|
644
644
|
updateTokens: (accessToken: string, refreshToken?: string) => void;
|
|
645
|
+
sessionExpired: boolean;
|
|
645
646
|
}>;
|
|
646
647
|
type BaseUrlContextValue = Readonly<{
|
|
647
648
|
baseUrl: string;
|
package/dist/privacy-center.d.ts
CHANGED
|
@@ -642,6 +642,7 @@ type AuthContextValue = Readonly<{
|
|
|
642
642
|
refreshToken: string;
|
|
643
643
|
onError: (error: Error) => boolean;
|
|
644
644
|
updateTokens: (accessToken: string, refreshToken?: string) => void;
|
|
645
|
+
sessionExpired: boolean;
|
|
645
646
|
}>;
|
|
646
647
|
type BaseUrlContextValue = Readonly<{
|
|
647
648
|
baseUrl: string;
|