@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 +6 -0
- package/dist/index.js +0 -2
- package/dist/index.mjs +0 -2
- package/package.json +1 -1
- package/src/RedactoNoticeConsentInline/api/index.ts +0 -2
- package/.turbo/turbo-build.log +0 -21
package/CHANGELOG.md
CHANGED
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
|
@@ -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,
|
package/.turbo/turbo-build.log
DELETED
|
@@ -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
|
-
[34mCLI[39m Building entry: {"index":"src/index.ts"}
|
|
7
|
-
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
8
|
-
[34mCLI[39m tsup v8.4.0
|
|
9
|
-
[34mCLI[39m Using tsup config: /Users/abhishekashyap/Documents/redacto/consent-sdk/packages/consent-sdk-react/tsup.config.ts
|
|
10
|
-
[34mCLI[39m Target: es2019
|
|
11
|
-
[34mCLI[39m Cleaning output folder
|
|
12
|
-
[34mESM[39m Build start
|
|
13
|
-
[34mCJS[39m Build start
|
|
14
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m148.63 KB[39m
|
|
15
|
-
[32mESM[39m ⚡️ Build success in 36ms
|
|
16
|
-
[32mCJS[39m [1mdist/index.js [22m[32m154.44 KB[39m
|
|
17
|
-
[32mCJS[39m ⚡️ 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
|