securiti-consent-sdk 1.132.2 → 1.133.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.
@@ -32,6 +32,6 @@ Pod::Spec.new do |s|
32
32
 
33
33
  s.dependency 'React-jsi'
34
34
  s.dependency 'React-callinvoker'
35
- s.dependency 'ConsentUI', "1.132.0"
35
+ s.dependency 'ConsentUI', "1.133.0"
36
36
  install_modules_dependencies(s)
37
37
  end
@@ -126,7 +126,7 @@ repositories {
126
126
  mavenCentral()
127
127
  google()
128
128
  maven {
129
- url = uri("https://cdn-qa.securiti.xyz/consent/maven")
129
+ url = uri("https://cdn-prod.securiti.ai/consent/maven")
130
130
  }
131
131
  }
132
132
 
@@ -138,7 +138,7 @@ dependencies {
138
138
  implementation "com.facebook.react:react-native:+"
139
139
 
140
140
 
141
- implementation 'ai.securiti.cmpsdkcore:consent-sdk:1.132.0'
141
+ implementation 'ai.securiti.cmpsdkcore:consent-sdk:1.133.0'
142
142
 
143
143
  // Add a dependency on NitroModules
144
144
  implementation project(":react-native-nitro-modules")
@@ -0,0 +1,33 @@
1
+ // CmpSDKLoggerLevel constants
2
+ export const LoggerLevel = {
3
+ DEBUG: 'DEBUG',
4
+ INFO: 'INFO',
5
+ WARNING: 'WARNING',
6
+ ERROR: 'ERROR',
7
+ };
8
+ export const ModeValues = {
9
+ DRAFT: 'draft',
10
+ LIVE: 'live',
11
+ };
12
+ // Constants object for reference with the exact values from native SDK
13
+ export const ConsentStatusValues = {
14
+ GRANTED: 'granted',
15
+ DECLINED: 'declined',
16
+ NOT_DETERMINED: 'not_determined',
17
+ WITHDRAWN: 'withdrawn',
18
+ };
19
+ export const ComplianceTypeValues = {
20
+ NOTICE_ONLY: 'notice-only',
21
+ OPT_IN: 'opt-in',
22
+ OPT_OUT: 'opt-out',
23
+ };
24
+ export const BannerPositionValues = {
25
+ BOTTOM: 'bottom',
26
+ CENTER: 'center',
27
+ };
28
+ export const ButtonShapeValues = {
29
+ ROUNDED: 'rounded',
30
+ SQUARE: 'square',
31
+ PILL: 'pill',
32
+ OUTLINED: 'outlined',
33
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "securiti-consent-sdk",
3
- "version": "1.132.2",
3
+ "version": "1.133.0",
4
4
  "description": "A React Native Library for managing user consent preferences and compliance with privacy regulations. Integrates with Securiti's Consent Management Platform.",
5
5
  "main": "lib/index",
6
6
  "module": "lib/index",
@@ -57,7 +57,7 @@ export interface Purpose {
57
57
  isGADMapped?: boolean
58
58
  gadDescription?: string
59
59
  isATTMapped?: boolean
60
- attDescription? : string
60
+ attDescription?: string
61
61
  }
62
62
 
63
63
  // AppPermission