securiti-consent-sdk 1.134.0 → 1.135.0-1rc

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.134.0"
35
+ s.dependency 'ConsentUI', "1.132.0"
36
36
  install_modules_dependencies(s)
37
37
  end
@@ -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.134.0'
141
+ implementation 'ai.securiti.cmpsdkcore:consent-sdk:1.135.0'
142
142
 
143
143
  // Add a dependency on NitroModules
144
144
  implementation project(":react-native-nitro-modules")
@@ -46,9 +46,8 @@ public class HybridConsentSDK : HybridConsentSDKSpec {
46
46
  testingMode: options.testingMode,
47
47
  logLevel: logLevel,
48
48
  consentsCheckInterval: Int(options.consentsCheckInterval),
49
- subjectId: options.subjectId,
50
49
  languageCode: options.languageCode,
51
- locationCode: options.locationCode,
50
+ locationCode: options.locationCode
52
51
  ))
53
52
 
54
53
  // Register for ready status
@@ -1 +1 @@
1
- * linguist-generated
1
+ ** linguist-generated=true
@@ -60,6 +60,7 @@ namespace margelo::nitro::securiticonsentsdk { struct SettingsPrompt; }
60
60
  #include <NitroModules/ArrayBufferHolder.hpp>
61
61
  #include <NitroModules/AnyMapHolder.hpp>
62
62
  #include <NitroModules/RuntimeError.hpp>
63
+ #include <NitroModules/DateToChronoDate.hpp>
63
64
 
64
65
  // Forward declarations of Swift defined types
65
66
  // Forward declaration of `HybridConsentSDKSpec_cxx` to properly resolve imports.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "securiti-consent-sdk",
3
- "version": "1.134.0",
3
+ "version": "1.135.0-1rc",
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
package/lib/index.d.ts DELETED
@@ -1,20 +0,0 @@
1
- import type { CmpSDKLoggerLevel, CmpSDKOptions, ConsentStatus, Purpose, AppPermission, SDK, BannerConfig, SettingsPrompt, PostConsentsRequest, ComplianceType, BannerPosition, ButtonShape, CustomColors, PurposeConsent, PermissionConsent, Mode, PurposeObject, PermissionObject } from './ConsentSDK.nitro';
2
- export type { CmpSDKLoggerLevel, CmpSDKOptions, ConsentStatus, Purpose, AppPermission, SDK, BannerConfig, SettingsPrompt, PostConsentsRequest, ComplianceType, BannerPosition, ButtonShape, CustomColors, PurposeConsent, PermissionConsent, Mode, PurposeObject, PermissionObject, };
3
- export { LoggerLevel, ModeValues, ConsentStatusValues, ComplianceTypeValues, BannerPositionValues, ButtonShapeValues, } from './ConsentSDK.nitro';
4
- export declare function initialize(sdkOptions: CmpSDKOptions): void;
5
- export declare function presentConsentBanner(): void;
6
- export declare function presentPreferenceCenter(): void;
7
- export declare function isSdkReady(): boolean;
8
- export declare function isReady(callback: (isReady: boolean) => void): void;
9
- export declare function resetConsents(): void;
10
- export declare function getConsentByPurposeId(purposeId: number): Promise<string>;
11
- export declare function getConsentByPermissionId(permissionId: string): Promise<string>;
12
- export declare function getPermissions(): Promise<Array<AppPermission>>;
13
- export declare function getPurposes(): Promise<Array<Purpose>>;
14
- export declare function getSdksInPurpose(purposeId: number): Promise<Array<SDK>>;
15
- export declare function setPurposeConsent(purpose: Purpose, consent: string): boolean;
16
- export declare function setPermissionConsent(permission: AppPermission, consent: string): boolean;
17
- export declare function getBannerConfig(): Promise<BannerConfig | null>;
18
- export declare function options(): CmpSDKOptions | null;
19
- export declare function getSettingsPrompt(): Promise<SettingsPrompt | null>;
20
- export declare function uploadConsents(request: PostConsentsRequest): Promise<boolean>;