@redacto.io/consent-sdk-react 1.2.0 → 1.3.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,11 @@
1
1
  # @redacto.io/consent-sdk-react
2
2
 
3
+ ## 1.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - fix language scroll issue
8
+
3
9
  ## 1.2.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.js CHANGED
@@ -3134,10 +3134,8 @@ var submitConsentEvent2 = async ({
3134
3134
  var _a, _b;
3135
3135
  try {
3136
3136
  const primaryEmail = localStorage.getItem("userEmail");
3137
- const primaryMobile = localStorage.getItem("userMobile");
3138
3137
  const payload = {
3139
3138
  primary_email: primaryEmail || void 0,
3140
- primary_mobile: primaryMobile || void 0,
3141
3139
  notice_uuid: noticeUuid,
3142
3140
  source: "WEB",
3143
3141
  declined,
package/dist/index.mjs CHANGED
@@ -3107,10 +3107,8 @@ var submitConsentEvent2 = async ({
3107
3107
  var _a, _b;
3108
3108
  try {
3109
3109
  const primaryEmail = localStorage.getItem("userEmail");
3110
- const primaryMobile = localStorage.getItem("userMobile");
3111
3110
  const payload = {
3112
3111
  primary_email: primaryEmail || void 0,
3113
- primary_mobile: primaryMobile || void 0,
3114
3112
  notice_uuid: noticeUuid,
3115
3113
  source: "WEB",
3116
3114
  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.3.0",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -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