securiti-consent-sdk 1.135.0-20rc → 1.135.0-22rc

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 (22) hide show
  1. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/AppPermission.kt +1 -0
  2. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/BannerConfig.kt +1 -0
  3. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/CmpSDKOptions.kt +1 -0
  4. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/CustomColors.kt +1 -0
  5. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/Func_void_bool.kt +1 -0
  6. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/PermissionConsent.kt +1 -0
  7. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/PostConsentsRequest.kt +1 -0
  8. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/Purpose.kt +1 -0
  9. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/PurposeConsent.kt +1 -0
  10. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/SDK.kt +1 -0
  11. package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/SettingsPrompt.kt +1 -0
  12. package/nitrogen/generated/ios/NitroSecuritiConsentSdk-Swift-Cxx-Bridge.cpp +2 -2
  13. package/nitrogen/generated/ios/swift/Func_void_bool.swift +1 -0
  14. package/nitrogen/generated/ios/swift/Func_void_std__exception_ptr.swift +1 -0
  15. package/nitrogen/generated/ios/swift/Func_void_std__optional_BannerConfig_.swift +1 -0
  16. package/nitrogen/generated/ios/swift/Func_void_std__optional_SettingsPrompt_.swift +1 -0
  17. package/nitrogen/generated/ios/swift/Func_void_std__string.swift +1 -0
  18. package/nitrogen/generated/ios/swift/Func_void_std__vector_AppPermission_.swift +1 -0
  19. package/nitrogen/generated/ios/swift/Func_void_std__vector_Purpose_.swift +1 -0
  20. package/nitrogen/generated/ios/swift/Func_void_std__vector_SDK_.swift +1 -0
  21. package/nitrogen/generated/ios/swift/HybridConsentSDKSpec.swift +1 -0
  22. package/package.json +1 -1
@@ -11,6 +11,7 @@ import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
12
  import com.margelo.nitro.core.*
13
13
 
14
+
14
15
  /**
15
16
  * Represents the JavaScript object/struct "AppPermission".
16
17
  */
@@ -11,6 +11,7 @@ import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
12
  import com.margelo.nitro.core.*
13
13
 
14
+
14
15
  /**
15
16
  * Represents the JavaScript object/struct "BannerConfig".
16
17
  */
@@ -11,6 +11,7 @@ import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
12
  import com.margelo.nitro.core.*
13
13
 
14
+
14
15
  /**
15
16
  * Represents the JavaScript object/struct "CmpSDKOptions".
16
17
  */
@@ -11,6 +11,7 @@ import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
12
  import com.margelo.nitro.core.*
13
13
 
14
+
14
15
  /**
15
16
  * Represents the JavaScript object/struct "CustomColors".
16
17
  */
@@ -13,6 +13,7 @@ import com.facebook.proguard.annotations.DoNotStrip
13
13
  import com.margelo.nitro.core.*
14
14
  import dalvik.annotation.optimization.FastNative
15
15
 
16
+
16
17
  /**
17
18
  * Represents the JavaScript callback `(isReady: boolean) => void`.
18
19
  * This can be either implemented in C++ (in which case it might be a callback coming from JS),
@@ -11,6 +11,7 @@ import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
12
  import com.margelo.nitro.core.*
13
13
 
14
+
14
15
  /**
15
16
  * Represents the JavaScript object/struct "PermissionConsent".
16
17
  */
@@ -11,6 +11,7 @@ import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
12
  import com.margelo.nitro.core.*
13
13
 
14
+
14
15
  /**
15
16
  * Represents the JavaScript object/struct "PostConsentsRequest".
16
17
  */
@@ -11,6 +11,7 @@ import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
12
  import com.margelo.nitro.core.*
13
13
 
14
+
14
15
  /**
15
16
  * Represents the JavaScript object/struct "Purpose".
16
17
  */
@@ -11,6 +11,7 @@ import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
12
  import com.margelo.nitro.core.*
13
13
 
14
+
14
15
  /**
15
16
  * Represents the JavaScript object/struct "PurposeConsent".
16
17
  */
@@ -11,6 +11,7 @@ import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
12
  import com.margelo.nitro.core.*
13
13
 
14
+
14
15
  /**
15
16
  * Represents the JavaScript object/struct "SDK".
16
17
  */
@@ -11,6 +11,7 @@ import androidx.annotation.Keep
11
11
  import com.facebook.proguard.annotations.DoNotStrip
12
12
  import com.margelo.nitro.core.*
13
13
 
14
+
14
15
  /**
15
16
  * Represents the JavaScript object/struct "SettingsPrompt".
16
17
  */
@@ -84,11 +84,11 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
84
84
  }
85
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
  }
@@ -7,6 +7,7 @@
7
7
 
8
8
  import NitroModules
9
9
 
10
+
10
11
  /**
11
12
  * Wraps a Swift `(_ value: Bool) -> Void` as a class.
12
13
  * This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
@@ -7,6 +7,7 @@
7
7
 
8
8
  import NitroModules
9
9
 
10
+
10
11
  /**
11
12
  * Wraps a Swift `(_ error: Error) -> Void` as a class.
12
13
  * This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
@@ -7,6 +7,7 @@
7
7
 
8
8
  import NitroModules
9
9
 
10
+
10
11
  /**
11
12
  * Wraps a Swift `(_ value: BannerConfig?) -> Void` as a class.
12
13
  * This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
@@ -7,6 +7,7 @@
7
7
 
8
8
  import NitroModules
9
9
 
10
+
10
11
  /**
11
12
  * Wraps a Swift `(_ value: SettingsPrompt?) -> Void` as a class.
12
13
  * This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
@@ -7,6 +7,7 @@
7
7
 
8
8
  import NitroModules
9
9
 
10
+
10
11
  /**
11
12
  * Wraps a Swift `(_ value: String) -> Void` as a class.
12
13
  * This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
@@ -7,6 +7,7 @@
7
7
 
8
8
  import NitroModules
9
9
 
10
+
10
11
  /**
11
12
  * Wraps a Swift `(_ value: [AppPermission]) -> Void` as a class.
12
13
  * This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
@@ -7,6 +7,7 @@
7
7
 
8
8
  import NitroModules
9
9
 
10
+
10
11
  /**
11
12
  * Wraps a Swift `(_ value: [Purpose]) -> Void` as a class.
12
13
  * This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
@@ -7,6 +7,7 @@
7
7
 
8
8
  import NitroModules
9
9
 
10
+
10
11
  /**
11
12
  * Wraps a Swift `(_ value: [SDK]) -> Void` as a class.
12
13
  * This class can be used from C++, e.g. to wrap the Swift closure as a `std::function`.
@@ -36,6 +36,7 @@ public protocol HybridConsentSDKSpec_protocol: HybridObject {
36
36
  /// See ``HybridConsentSDKSpec``
37
37
  open class HybridConsentSDKSpec_base {
38
38
  private weak var cxxWrapper: HybridConsentSDKSpec_cxx? = nil
39
+ public init() { }
39
40
  public func getCxxWrapper() -> HybridConsentSDKSpec_cxx {
40
41
  #if DEBUG
41
42
  guard self is HybridConsentSDKSpec else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "securiti-consent-sdk",
3
- "version": "1.135.0-20rc",
3
+ "version": "1.135.0-22rc",
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",