@redacto.io/consent-sdk-react 1.2.0 → 1.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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @redacto.io/consent-sdk-react
2
2
 
3
+ ## 1.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - fix language scroll issue
8
+
9
+ ## 1.3.0
10
+
11
+ ### Minor Changes
12
+
13
+ - fix language scroll issue
14
+
3
15
  ## 1.2.0
4
16
 
5
17
  ### Minor Changes
package/dist/index.js CHANGED
@@ -737,6 +737,8 @@ var styles = {
737
737
  boxShadow: "0px 2px 4px rgba(0, 0, 0, 0.1)",
738
738
  zIndex: 10,
739
739
  width: "max-content",
740
+ maxHeight: "200px",
741
+ overflowY: "auto",
740
742
  marginTop: "4px",
741
743
  padding: 0,
742
744
  boxSizing: "border-box",
@@ -3134,10 +3136,8 @@ var submitConsentEvent2 = async ({
3134
3136
  var _a, _b;
3135
3137
  try {
3136
3138
  const primaryEmail = localStorage.getItem("userEmail");
3137
- const primaryMobile = localStorage.getItem("userMobile");
3138
3139
  const payload = {
3139
3140
  primary_email: primaryEmail || void 0,
3140
- primary_mobile: primaryMobile || void 0,
3141
3141
  notice_uuid: noticeUuid,
3142
3142
  source: "WEB",
3143
3143
  declined,
package/dist/index.mjs CHANGED
@@ -710,6 +710,8 @@ var styles = {
710
710
  boxShadow: "0px 2px 4px rgba(0, 0, 0, 0.1)",
711
711
  zIndex: 10,
712
712
  width: "max-content",
713
+ maxHeight: "200px",
714
+ overflowY: "auto",
713
715
  marginTop: "4px",
714
716
  padding: 0,
715
717
  boxSizing: "border-box",
@@ -3107,10 +3109,8 @@ var submitConsentEvent2 = async ({
3107
3109
  var _a, _b;
3108
3110
  try {
3109
3111
  const primaryEmail = localStorage.getItem("userEmail");
3110
- const primaryMobile = localStorage.getItem("userMobile");
3111
3112
  const payload = {
3112
3113
  primary_email: primaryEmail || void 0,
3113
- primary_mobile: primaryMobile || void 0,
3114
3114
  notice_uuid: noticeUuid,
3115
3115
  source: "WEB",
3116
3116
  declined,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redacto.io/consent-sdk-react",
3
- "version": "1.2.0",
3
+ "version": "1.4.0",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -334,6 +334,8 @@ export const styles = {
334
334
  boxShadow: "0px 2px 4px rgba(0, 0, 0, 0.1)",
335
335
  zIndex: 10,
336
336
  width: "max-content",
337
+ maxHeight: "200px",
338
+ overflowY: "auto",
337
339
  marginTop: "4px",
338
340
  padding: 0,
339
341
  boxSizing: "border-box",
@@ -75,10 +75,8 @@ export const submitConsentEvent = async ({
75
75
  }: SubmitConsentEventParams): Promise<void> => {
76
76
  try {
77
77
  const primaryEmail = localStorage.getItem("userEmail");
78
- const primaryMobile = localStorage.getItem("userMobile");
79
78
  const payload: ConsentEventPayload = {
80
79
  primary_email: primaryEmail || undefined,
81
- primary_mobile: primaryMobile || undefined,
82
80
  notice_uuid: noticeUuid,
83
81
  source: "WEB",
84
82
  declined,
@@ -1,21 +0,0 @@
1
-
2
- 
3
- > @redacto.io/consent-sdk-react@1.1.0 build /Users/abhishekashyap/Documents/redacto/consent-sdk/packages/consent-sdk-react
4
- > tsup
5
-
6
- CLI Building entry: {"index":"src/index.ts"}
7
- CLI Using tsconfig: tsconfig.json
8
- CLI tsup v8.4.0
9
- CLI Using tsup config: /Users/abhishekashyap/Documents/redacto/consent-sdk/packages/consent-sdk-react/tsup.config.ts
10
- CLI Target: es2019
11
- CLI Cleaning output folder
12
- ESM Build start
13
- CJS Build start
14
- ESM dist/index.mjs 148.63 KB
15
- ESM ⚡️ Build success in 36ms
16
- CJS dist/index.js 154.44 KB
17
- CJS ⚡️ Build success in 37ms
18
- DTS Build start
19
- DTS ⚡️ Build success in 791ms
20
- DTS dist/index.d.mts 2.69 KB
21
- DTS dist/index.d.ts 2.69 KB