securiti-consent-sdk 1.137.0-1rc → 1.137.0-20rc

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.
Files changed (51) hide show
  1. package/nitrogen/generated/.gitattributes +1 -1
  2. package/nitrogen/generated/android/NitroSecuritiConsentSdkOnLoad.cpp +3 -1
  3. package/nitrogen/generated/android/c++/JHybridConsentSDKSpec.cpp +2 -7
  4. package/nitrogen/generated/android/c++/JHybridConsentSDKSpec.hpp +0 -2
  5. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/AppPermission.kt +0 -19
  6. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/BannerConfig.kt +0 -65
  7. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/CmpSDKOptions.kt +0 -23
  8. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/CustomColors.kt +0 -17
  9. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/Func_void_bool.kt +0 -1
  10. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/PermissionConsent.kt +0 -7
  11. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/PostConsentsRequest.kt +0 -25
  12. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/Purpose.kt +0 -25
  13. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/PurposeConsent.kt +0 -9
  14. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/SDK.kt +0 -19
  15. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/SettingsPrompt.kt +0 -11
  16. package/nitrogen/generated/ios/NitroSecuritiConsentSdk-Swift-Cxx-Bridge.cpp +13 -13
  17. package/nitrogen/generated/ios/NitroSecuritiConsentSdk-Swift-Cxx-Bridge.hpp +109 -172
  18. package/nitrogen/generated/ios/NitroSecuritiConsentSdk-Swift-Cxx-Umbrella.hpp +1 -2
  19. package/nitrogen/generated/ios/NitroSecuritiConsentSdkAutolinking.mm +1 -1
  20. package/nitrogen/generated/ios/NitroSecuritiConsentSdkAutolinking.swift +2 -2
  21. package/nitrogen/generated/ios/c++/HybridConsentSDKSpecSwift.hpp +2 -4
  22. package/nitrogen/generated/ios/swift/AppPermission.swift +6 -12
  23. package/nitrogen/generated/ios/swift/BannerConfig.swift +24 -47
  24. package/nitrogen/generated/ios/swift/CmpSDKOptions.swift +4 -8
  25. package/nitrogen/generated/ios/swift/CustomColors.swift +8 -16
  26. package/nitrogen/generated/ios/swift/Func_void_bool.swift +5 -6
  27. package/nitrogen/generated/ios/swift/Func_void_std__exception_ptr.swift +0 -1
  28. package/nitrogen/generated/ios/swift/Func_void_std__optional_BannerConfig_.swift +1 -3
  29. package/nitrogen/generated/ios/swift/Func_void_std__optional_SettingsPrompt_.swift +1 -3
  30. package/nitrogen/generated/ios/swift/Func_void_std__string.swift +0 -1
  31. package/nitrogen/generated/ios/swift/Func_void_std__vector_AppPermission_.swift +0 -1
  32. package/nitrogen/generated/ios/swift/Func_void_std__vector_Purpose_.swift +0 -1
  33. package/nitrogen/generated/ios/swift/Func_void_std__vector_SDK_.swift +0 -1
  34. package/nitrogen/generated/ios/swift/HybridConsentSDKSpec.swift +1 -2
  35. package/nitrogen/generated/ios/swift/HybridConsentSDKSpec_cxx.swift +6 -15
  36. package/nitrogen/generated/ios/swift/PostConsentsRequest.swift +2 -4
  37. package/nitrogen/generated/ios/swift/Purpose.swift +7 -14
  38. package/nitrogen/generated/ios/swift/SDK.swift +7 -14
  39. package/nitrogen/generated/ios/swift/SettingsPrompt.swift +5 -10
  40. package/nitrogen/generated/shared/c++/AppPermission.hpp +6 -4
  41. package/nitrogen/generated/shared/c++/BannerConfig.hpp +9 -7
  42. package/nitrogen/generated/shared/c++/CmpSDKOptions.hpp +6 -4
  43. package/nitrogen/generated/shared/c++/CustomColors.hpp +7 -5
  44. package/nitrogen/generated/shared/c++/HybridConsentSDKSpec.hpp +3 -3
  45. package/nitrogen/generated/shared/c++/PermissionConsent.hpp +6 -4
  46. package/nitrogen/generated/shared/c++/PostConsentsRequest.hpp +13 -11
  47. package/nitrogen/generated/shared/c++/Purpose.hpp +10 -8
  48. package/nitrogen/generated/shared/c++/PurposeConsent.hpp +6 -4
  49. package/nitrogen/generated/shared/c++/SDK.hpp +6 -4
  50. package/nitrogen/generated/shared/c++/SettingsPrompt.hpp +7 -5
  51. package/package.json +1 -1
@@ -1 +1 @@
1
- ** linguist-generated=true
1
+ * linguist-generated
@@ -17,6 +17,7 @@
17
17
 
18
18
  #include "JHybridConsentSDKSpec.hpp"
19
19
  #include "JFunc_void_bool.hpp"
20
+ #include <NitroModules/JNISharedPtr.hpp>
20
21
  #include <NitroModules/DefaultConstructableObject.hpp>
21
22
 
22
23
  namespace margelo::nitro::securiticonsentsdk {
@@ -37,7 +38,8 @@ int initialize(JavaVM* vm) {
37
38
  []() -> std::shared_ptr<HybridObject> {
38
39
  static DefaultConstructableObject<JHybridConsentSDKSpec::javaobject> object("com/margelo/nitro/securiticonsentsdk/HybridConsentSDK");
39
40
  auto instance = object.create();
40
- return instance->cthis()->shared();
41
+ auto globalRef = jni::make_global(instance);
42
+ return JNISharedPtr::make_shared_from_jni<JHybridConsentSDKSpec>(globalRef);
41
43
  }
42
44
  );
43
45
  });
@@ -28,11 +28,11 @@ namespace margelo::nitro::securiticonsentsdk { struct PurposeConsent; }
28
28
  // Forward declaration of `PermissionConsent` to properly resolve imports.
29
29
  namespace margelo::nitro::securiticonsentsdk { struct PermissionConsent; }
30
30
 
31
- #include <string>
32
31
  #include <NitroModules/Promise.hpp>
32
+ #include <string>
33
33
  #include <NitroModules/JPromise.hpp>
34
- #include "AppPermission.hpp"
35
34
  #include <vector>
35
+ #include "AppPermission.hpp"
36
36
  #include "JAppPermission.hpp"
37
37
  #include <optional>
38
38
  #include "Purpose.hpp"
@@ -74,11 +74,6 @@ namespace margelo::nitro::securiticonsentsdk {
74
74
  return method(_javaPart);
75
75
  }
76
76
 
77
- void JHybridConsentSDKSpec::dispose() noexcept {
78
- static const auto method = javaClassStatic()->getMethod<void()>("dispose");
79
- method(_javaPart);
80
- }
81
-
82
77
  // Properties
83
78
 
84
79
 
@@ -29,7 +29,6 @@ namespace margelo::nitro::securiticonsentsdk {
29
29
  // C++ constructor (called from Java via `initHybrid()`)
30
30
  explicit JHybridConsentSDKSpec(jni::alias_ref<jhybridobject> jThis) :
31
31
  HybridObject(HybridConsentSDKSpec::TAG),
32
- HybridBase(jThis),
33
32
  _javaPart(jni::make_global(jThis)) {}
34
33
 
35
34
  public:
@@ -40,7 +39,6 @@ namespace margelo::nitro::securiticonsentsdk {
40
39
 
41
40
  public:
42
41
  size_t getExternalMemorySize() noexcept override;
43
- void dispose() noexcept override;
44
42
 
45
43
  public:
46
44
  inline const jni::global_ref<JHybridConsentSDKSpec::javaobject>& getJavaPart() const noexcept {
@@ -11,7 +11,6 @@ import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
12
  import com.margelo.nitro.core.*
13
13
 
14
-
15
14
  /**
16
15
  * Represents the JavaScript object/struct "AppPermission".
17
16
  */
@@ -21,32 +20,14 @@ data class AppPermission
21
20
  @DoNotStrip
22
21
  @Keep
23
22
  constructor(
24
- @DoNotStrip
25
- @Keep
26
23
  val id: Double?,
27
- @DoNotStrip
28
- @Keep
29
24
  val name: String?,
30
- @DoNotStrip
31
- @Keep
32
25
  val permissionId: String?,
33
- @DoNotStrip
34
- @Keep
35
26
  val description: String?,
36
- @DoNotStrip
37
- @Keep
38
27
  val group: String?,
39
- @DoNotStrip
40
- @Keep
41
28
  val groupId: Double?,
42
- @DoNotStrip
43
- @Keep
44
29
  val consentStatus: String?,
45
- @DoNotStrip
46
- @Keep
47
30
  val nameMap: String?,
48
- @DoNotStrip
49
- @Keep
50
31
  val isSettingsPromptEnabled: Boolean?
51
32
  ) {
52
33
  /* main constructor */
@@ -11,7 +11,6 @@ import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
12
  import com.margelo.nitro.core.*
13
13
 
14
-
15
14
  /**
16
15
  * Represents the JavaScript object/struct "BannerConfig".
17
16
  */
@@ -21,101 +20,37 @@ data class BannerConfig
21
20
  @DoNotStrip
22
21
  @Keep
23
22
  constructor(
24
- @DoNotStrip
25
- @Keep
26
23
  val hideCloseButton: Boolean?,
27
- @DoNotStrip
28
- @Keep
29
24
  val hideAcceptButton: Boolean?,
30
- @DoNotStrip
31
- @Keep
32
25
  val embedDSRPortalLink: Boolean?,
33
- @DoNotStrip
34
- @Keep
35
26
  val recordConsentUponAppStart: Boolean?,
36
- @DoNotStrip
37
- @Keep
38
27
  val hideToggleForEssentialCategories: Boolean?,
39
- @DoNotStrip
40
- @Keep
41
28
  val name: String?,
42
- @DoNotStrip
43
- @Keep
44
29
  val dsrPortalLink: String?,
45
- @DoNotStrip
46
- @Keep
47
30
  val complianceType: String?,
48
- @DoNotStrip
49
- @Keep
50
31
  val bannerReappearanceTime: String?,
51
- @DoNotStrip
52
- @Keep
53
32
  val privacyNoticeLink: String?,
54
- @DoNotStrip
55
- @Keep
56
33
  val accept: String?,
57
- @DoNotStrip
58
- @Keep
59
34
  val reject: String?,
60
- @DoNotStrip
61
- @Keep
62
35
  val bannerText: String?,
63
- @DoNotStrip
64
- @Keep
65
36
  val bannerHeading: String?,
66
- @DoNotStrip
67
- @Keep
68
37
  val sdkTabHeading: String?,
69
- @DoNotStrip
70
- @Keep
71
38
  val privacyNoticeText: String?,
72
- @DoNotStrip
73
- @Keep
74
39
  val preferenceCenterLink: String?,
75
- @DoNotStrip
76
- @Keep
77
40
  val permissionsTabHeading: String?,
78
- @DoNotStrip
79
- @Keep
80
41
  val permissionsTabGuidance: String?,
81
- @DoNotStrip
82
- @Keep
83
42
  val preferenceCenterHeading: String?,
84
- @DoNotStrip
85
- @Keep
86
43
  val preferenceCenterGuidance: String?,
87
- @DoNotStrip
88
- @Keep
89
44
  val permissionsTabDescription: String?,
90
- @DoNotStrip
91
- @Keep
92
45
  val preferenceCenterDescription: String?,
93
- @DoNotStrip
94
- @Keep
95
46
  val showPoweredBySecuritiLogo: Boolean?,
96
- @DoNotStrip
97
- @Keep
98
47
  val showDescriptionTextWithPrefCenterToggle: Boolean?,
99
- @DoNotStrip
100
- @Keep
101
48
  val paletteTheme: Double?,
102
- @DoNotStrip
103
- @Keep
104
49
  val bannerPosition: String?,
105
- @DoNotStrip
106
- @Keep
107
50
  val buttonShape: String?,
108
- @DoNotStrip
109
- @Keep
110
51
  val companyLogo: String?,
111
- @DoNotStrip
112
- @Keep
113
52
  val customPaletteTheme: CustomColors?,
114
- @DoNotStrip
115
- @Keep
116
53
  val shouldShowSettingsPrompt: Boolean?,
117
- @DoNotStrip
118
- @Keep
119
54
  val translations: Map<String, String>?
120
55
  ) {
121
56
  /* main constructor */
@@ -11,7 +11,6 @@ import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
12
  import com.margelo.nitro.core.*
13
13
 
14
-
15
14
  /**
16
15
  * Represents the JavaScript object/struct "CmpSDKOptions".
17
16
  */
@@ -21,38 +20,16 @@ data class CmpSDKOptions
21
20
  @DoNotStrip
22
21
  @Keep
23
22
  constructor(
24
- @DoNotStrip
25
- @Keep
26
23
  val appURL: String,
27
- @DoNotStrip
28
- @Keep
29
24
  val cdnURL: String,
30
- @DoNotStrip
31
- @Keep
32
25
  val tenantID: String,
33
- @DoNotStrip
34
- @Keep
35
26
  val appID: String,
36
- @DoNotStrip
37
- @Keep
38
27
  val testingMode: Boolean,
39
- @DoNotStrip
40
- @Keep
41
28
  val loggerLevel: String,
42
- @DoNotStrip
43
- @Keep
44
29
  val consentsCheckInterval: Double,
45
- @DoNotStrip
46
- @Keep
47
30
  val subjectId: String?,
48
- @DoNotStrip
49
- @Keep
50
31
  val languageCode: String?,
51
- @DoNotStrip
52
- @Keep
53
32
  val locationCode: String?,
54
- @DoNotStrip
55
- @Keep
56
33
  val mode: String?
57
34
  ) {
58
35
  /* main constructor */
@@ -11,7 +11,6 @@ import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
12
  import com.margelo.nitro.core.*
13
13
 
14
-
15
14
  /**
16
15
  * Represents the JavaScript object/struct "CustomColors".
17
16
  */
@@ -21,29 +20,13 @@ data class CustomColors
21
20
  @DoNotStrip
22
21
  @Keep
23
22
  constructor(
24
- @DoNotStrip
25
- @Keep
26
23
  val buttonBackground: String?,
27
- @DoNotStrip
28
- @Keep
29
24
  val buttonText: String?,
30
- @DoNotStrip
31
- @Keep
32
25
  val buttonBorder: String?,
33
- @DoNotStrip
34
- @Keep
35
26
  val bannerBackground: String?,
36
- @DoNotStrip
37
- @Keep
38
27
  val bannerText: String?,
39
- @DoNotStrip
40
- @Keep
41
28
  val bannerLinks: String?,
42
- @DoNotStrip
43
- @Keep
44
29
  val preferenceCenterFooterBackground: String?,
45
- @DoNotStrip
46
- @Keep
47
30
  val preferenceCenterFooterSelector: String?
48
31
  ) {
49
32
  /* main constructor */
@@ -13,7 +13,6 @@ import com.facebook.proguard.annotations.DoNotStrip
13
13
  import com.margelo.nitro.core.*
14
14
  import dalvik.annotation.optimization.FastNative
15
15
 
16
-
17
16
  /**
18
17
  * Represents the JavaScript callback `(isReady: boolean) => void`.
19
18
  * This can be either implemented in C++ (in which case it might be a callback coming from JS),
@@ -11,7 +11,6 @@ import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
12
  import com.margelo.nitro.core.*
13
13
 
14
-
15
14
  /**
16
15
  * Represents the JavaScript object/struct "PermissionConsent".
17
16
  */
@@ -21,14 +20,8 @@ data class PermissionConsent
21
20
  @DoNotStrip
22
21
  @Keep
23
22
  constructor(
24
- @DoNotStrip
25
- @Keep
26
23
  val permission: String,
27
- @DoNotStrip
28
- @Keep
29
24
  val consentStatus: String,
30
- @DoNotStrip
31
- @Keep
32
25
  val timestamp: Double
33
26
  ) {
34
27
  /* main constructor */
@@ -11,7 +11,6 @@ import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
12
  import com.margelo.nitro.core.*
13
13
 
14
-
15
14
  /**
16
15
  * Represents the JavaScript object/struct "PostConsentsRequest".
17
16
  */
@@ -21,41 +20,17 @@ data class PostConsentsRequest
21
20
  @DoNotStrip
22
21
  @Keep
23
22
  constructor(
24
- @DoNotStrip
25
- @Keep
26
23
  val uuid: String,
27
- @DoNotStrip
28
- @Keep
29
24
  val appUUID: String,
30
- @DoNotStrip
31
- @Keep
32
25
  val device: String,
33
- @DoNotStrip
34
- @Keep
35
26
  val implicitConsent: Boolean,
36
- @DoNotStrip
37
- @Keep
38
27
  val version: Double,
39
- @DoNotStrip
40
- @Keep
41
28
  val purposeConsents: Array<PurposeConsent>,
42
- @DoNotStrip
43
- @Keep
44
29
  val permissions: Array<PermissionConsent>,
45
- @DoNotStrip
46
- @Keep
47
30
  val isTestMode: Boolean,
48
- @DoNotStrip
49
- @Keep
50
31
  val adId: String,
51
- @DoNotStrip
52
- @Keep
53
32
  val bannerInfo: String,
54
- @DoNotStrip
55
- @Keep
56
33
  val sdkVersion: String?,
57
- @DoNotStrip
58
- @Keep
59
34
  val platform: String?
60
35
  ) {
61
36
  /* main constructor */
@@ -11,7 +11,6 @@ import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
12
  import com.margelo.nitro.core.*
13
13
 
14
-
15
14
  /**
16
15
  * Represents the JavaScript object/struct "Purpose".
17
16
  */
@@ -21,41 +20,17 @@ data class Purpose
21
20
  @DoNotStrip
22
21
  @Keep
23
22
  constructor(
24
- @DoNotStrip
25
- @Keep
26
23
  val purposeId: Double?,
27
- @DoNotStrip
28
- @Keep
29
24
  val purposeName: String?,
30
- @DoNotStrip
31
- @Keep
32
25
  val purposeDescription: String?,
33
- @DoNotStrip
34
- @Keep
35
26
  val sdks: Array<SDK>?,
36
- @DoNotStrip
37
- @Keep
38
27
  val consentStatus: String?,
39
- @DoNotStrip
40
- @Keep
41
28
  val disableOptOut: Boolean?,
42
- @DoNotStrip
43
- @Keep
44
29
  val optOutText: String?,
45
- @DoNotStrip
46
- @Keep
47
30
  val hideDetails: Boolean?,
48
- @DoNotStrip
49
- @Keep
50
31
  val isGADMapped: Boolean?,
51
- @DoNotStrip
52
- @Keep
53
32
  val gadDescription: String?,
54
- @DoNotStrip
55
- @Keep
56
33
  val isATTMapped: Boolean?,
57
- @DoNotStrip
58
- @Keep
59
34
  val attDescription: String?
60
35
  ) {
61
36
  /* main constructor */
@@ -11,7 +11,6 @@ import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
12
  import com.margelo.nitro.core.*
13
13
 
14
-
15
14
  /**
16
15
  * Represents the JavaScript object/struct "PurposeConsent".
17
16
  */
@@ -21,17 +20,9 @@ data class PurposeConsent
21
20
  @DoNotStrip
22
21
  @Keep
23
22
  constructor(
24
- @DoNotStrip
25
- @Keep
26
23
  val purposeID: Double,
27
- @DoNotStrip
28
- @Keep
29
24
  val consentStatus: String,
30
- @DoNotStrip
31
- @Keep
32
25
  val timestamp: Double,
33
- @DoNotStrip
34
- @Keep
35
26
  val isEssential: Boolean
36
27
  ) {
37
28
  /* main constructor */
@@ -11,7 +11,6 @@ import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
12
  import com.margelo.nitro.core.*
13
13
 
14
-
15
14
  /**
16
15
  * Represents the JavaScript object/struct "SDK".
17
16
  */
@@ -21,32 +20,14 @@ data class SDK
21
20
  @DoNotStrip
22
21
  @Keep
23
22
  constructor(
24
- @DoNotStrip
25
- @Keep
26
23
  val sdkId: Double?,
27
- @DoNotStrip
28
- @Keep
29
24
  val namespaceId: String?,
30
- @DoNotStrip
31
- @Keep
32
25
  val sdkName: String?,
33
- @DoNotStrip
34
- @Keep
35
26
  val sdkDescription: String?,
36
- @DoNotStrip
37
- @Keep
38
27
  val vendor: String?,
39
- @DoNotStrip
40
- @Keep
41
28
  val logoBase64: String?,
42
- @DoNotStrip
43
- @Keep
44
29
  val website: String?,
45
- @DoNotStrip
46
- @Keep
47
30
  val matchedBy: Array<String>?,
48
- @DoNotStrip
49
- @Keep
50
31
  val collectingData: Boolean?
51
32
  ) {
52
33
  /* main constructor */
@@ -11,7 +11,6 @@ import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
12
  import com.margelo.nitro.core.*
13
13
 
14
-
15
14
  /**
16
15
  * Represents the JavaScript object/struct "SettingsPrompt".
17
16
  */
@@ -21,20 +20,10 @@ data class SettingsPrompt
21
20
  @DoNotStrip
22
21
  @Keep
23
22
  constructor(
24
- @DoNotStrip
25
- @Keep
26
23
  val promptHeading: String?,
27
- @DoNotStrip
28
- @Keep
29
24
  val promptMessage: String?,
30
- @DoNotStrip
31
- @Keep
32
25
  val settingsButtonText: String?,
33
- @DoNotStrip
34
- @Keep
35
26
  val notNowButtonText: String?,
36
- @DoNotStrip
37
- @Keep
38
27
  val permissions: Array<String>?
39
28
  ) {
40
29
  /* main constructor */
@@ -14,7 +14,7 @@
14
14
  namespace margelo::nitro::securiticonsentsdk::bridge::swift {
15
15
 
16
16
  // pragma MARK: std::function<void(bool /* isReady */)>
17
- Func_void_bool create_Func_void_bool(void* _Nonnull swiftClosureWrapper) noexcept {
17
+ Func_void_bool create_Func_void_bool(void* _Nonnull swiftClosureWrapper) {
18
18
  auto swiftClosure = NitroSecuritiConsentSdk::Func_void_bool::fromUnsafe(swiftClosureWrapper);
19
19
  return [swiftClosure = std::move(swiftClosure)](bool isReady) mutable -> void {
20
20
  swiftClosure.call(isReady);
@@ -22,7 +22,7 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
22
22
  }
23
23
 
24
24
  // pragma MARK: std::function<void(const std::string& /* result */)>
25
- Func_void_std__string create_Func_void_std__string(void* _Nonnull swiftClosureWrapper) noexcept {
25
+ Func_void_std__string create_Func_void_std__string(void* _Nonnull swiftClosureWrapper) {
26
26
  auto swiftClosure = NitroSecuritiConsentSdk::Func_void_std__string::fromUnsafe(swiftClosureWrapper);
27
27
  return [swiftClosure = std::move(swiftClosure)](const std::string& result) mutable -> void {
28
28
  swiftClosure.call(result);
@@ -30,7 +30,7 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
30
30
  }
31
31
 
32
32
  // pragma MARK: std::function<void(const std::exception_ptr& /* error */)>
33
- Func_void_std__exception_ptr create_Func_void_std__exception_ptr(void* _Nonnull swiftClosureWrapper) noexcept {
33
+ Func_void_std__exception_ptr create_Func_void_std__exception_ptr(void* _Nonnull swiftClosureWrapper) {
34
34
  auto swiftClosure = NitroSecuritiConsentSdk::Func_void_std__exception_ptr::fromUnsafe(swiftClosureWrapper);
35
35
  return [swiftClosure = std::move(swiftClosure)](const std::exception_ptr& error) mutable -> void {
36
36
  swiftClosure.call(error);
@@ -38,7 +38,7 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
38
38
  }
39
39
 
40
40
  // pragma MARK: std::function<void(const std::vector<AppPermission>& /* result */)>
41
- Func_void_std__vector_AppPermission_ create_Func_void_std__vector_AppPermission_(void* _Nonnull swiftClosureWrapper) noexcept {
41
+ Func_void_std__vector_AppPermission_ create_Func_void_std__vector_AppPermission_(void* _Nonnull swiftClosureWrapper) {
42
42
  auto swiftClosure = NitroSecuritiConsentSdk::Func_void_std__vector_AppPermission_::fromUnsafe(swiftClosureWrapper);
43
43
  return [swiftClosure = std::move(swiftClosure)](const std::vector<AppPermission>& result) mutable -> void {
44
44
  swiftClosure.call(result);
@@ -46,7 +46,7 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
46
46
  }
47
47
 
48
48
  // pragma MARK: std::function<void(const std::vector<Purpose>& /* result */)>
49
- Func_void_std__vector_Purpose_ create_Func_void_std__vector_Purpose_(void* _Nonnull swiftClosureWrapper) noexcept {
49
+ Func_void_std__vector_Purpose_ create_Func_void_std__vector_Purpose_(void* _Nonnull swiftClosureWrapper) {
50
50
  auto swiftClosure = NitroSecuritiConsentSdk::Func_void_std__vector_Purpose_::fromUnsafe(swiftClosureWrapper);
51
51
  return [swiftClosure = std::move(swiftClosure)](const std::vector<Purpose>& result) mutable -> void {
52
52
  swiftClosure.call(result);
@@ -54,7 +54,7 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
54
54
  }
55
55
 
56
56
  // pragma MARK: std::function<void(const std::vector<SDK>& /* result */)>
57
- Func_void_std__vector_SDK_ create_Func_void_std__vector_SDK_(void* _Nonnull swiftClosureWrapper) noexcept {
57
+ Func_void_std__vector_SDK_ create_Func_void_std__vector_SDK_(void* _Nonnull swiftClosureWrapper) {
58
58
  auto swiftClosure = NitroSecuritiConsentSdk::Func_void_std__vector_SDK_::fromUnsafe(swiftClosureWrapper);
59
59
  return [swiftClosure = std::move(swiftClosure)](const std::vector<SDK>& result) mutable -> void {
60
60
  swiftClosure.call(result);
@@ -62,7 +62,7 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
62
62
  }
63
63
 
64
64
  // pragma MARK: std::function<void(const std::optional<BannerConfig>& /* result */)>
65
- Func_void_std__optional_BannerConfig_ create_Func_void_std__optional_BannerConfig_(void* _Nonnull swiftClosureWrapper) noexcept {
65
+ Func_void_std__optional_BannerConfig_ create_Func_void_std__optional_BannerConfig_(void* _Nonnull swiftClosureWrapper) {
66
66
  auto swiftClosure = NitroSecuritiConsentSdk::Func_void_std__optional_BannerConfig_::fromUnsafe(swiftClosureWrapper);
67
67
  return [swiftClosure = std::move(swiftClosure)](const std::optional<BannerConfig>& result) mutable -> void {
68
68
  swiftClosure.call(result);
@@ -70,25 +70,25 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
70
70
  }
71
71
 
72
72
  // pragma MARK: std::function<void(const std::optional<SettingsPrompt>& /* result */)>
73
- Func_void_std__optional_SettingsPrompt_ create_Func_void_std__optional_SettingsPrompt_(void* _Nonnull swiftClosureWrapper) noexcept {
73
+ Func_void_std__optional_SettingsPrompt_ create_Func_void_std__optional_SettingsPrompt_(void* _Nonnull swiftClosureWrapper) {
74
74
  auto swiftClosure = NitroSecuritiConsentSdk::Func_void_std__optional_SettingsPrompt_::fromUnsafe(swiftClosureWrapper);
75
75
  return [swiftClosure = std::move(swiftClosure)](const std::optional<SettingsPrompt>& result) mutable -> void {
76
76
  swiftClosure.call(result);
77
77
  };
78
78
  }
79
79
 
80
- // pragma MARK: std::shared_ptr<HybridConsentSDKSpec>
81
- std::shared_ptr<HybridConsentSDKSpec> create_std__shared_ptr_HybridConsentSDKSpec_(void* _Nonnull swiftUnsafePointer) noexcept {
80
+ // pragma MARK: std::shared_ptr<margelo::nitro::securiticonsentsdk::HybridConsentSDKSpec>
81
+ std::shared_ptr<margelo::nitro::securiticonsentsdk::HybridConsentSDKSpec> create_std__shared_ptr_margelo__nitro__securiticonsentsdk__HybridConsentSDKSpec_(void* _Nonnull swiftUnsafePointer) {
82
82
  NitroSecuritiConsentSdk::HybridConsentSDKSpec_cxx swiftPart = NitroSecuritiConsentSdk::HybridConsentSDKSpec_cxx::fromUnsafe(swiftUnsafePointer);
83
83
  return std::make_shared<margelo::nitro::securiticonsentsdk::HybridConsentSDKSpecSwift>(swiftPart);
84
84
  }
85
- void* _Nonnull get_std__shared_ptr_HybridConsentSDKSpec_(std__shared_ptr_HybridConsentSDKSpec_ cppType) noexcept {
85
+ void* _Nonnull get_std__shared_ptr_margelo__nitro__securiticonsentsdk__HybridConsentSDKSpec_(std__shared_ptr_margelo__nitro__securiticonsentsdk__HybridConsentSDKSpec_ cppType) {
86
86
  std::shared_ptr<margelo::nitro::securiticonsentsdk::HybridConsentSDKSpecSwift> swiftWrapper = std::dynamic_pointer_cast<margelo::nitro::securiticonsentsdk::HybridConsentSDKSpecSwift>(cppType);
87
- #ifdef NITRO_DEBUG
87
+ #ifdef NITRO_DEBUG
88
88
  if (swiftWrapper == nullptr) [[unlikely]] {
89
89
  throw std::runtime_error("Class \"HybridConsentSDKSpec\" is not implemented in Swift!");
90
90
  }
91
- #endif
91
+ #endif
92
92
  NitroSecuritiConsentSdk::HybridConsentSDKSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
93
93
  return swiftPart.toUnsafe();
94
94
  }