securiti-consent-sdk 1.135.0-20rc → 1.135.0-21rc
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/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/AppPermission.kt +1 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/BannerConfig.kt +1 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/CmpSDKOptions.kt +1 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/CustomColors.kt +1 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/Func_void_bool.kt +1 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/PermissionConsent.kt +1 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/PostConsentsRequest.kt +1 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/Purpose.kt +1 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/PurposeConsent.kt +1 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/SDK.kt +1 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/SettingsPrompt.kt +1 -0
- package/nitrogen/generated/ios/NitroSecuritiConsentSdk-Swift-Cxx-Bridge.cpp +2 -2
- package/nitrogen/generated/ios/swift/Func_void_bool.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_std__exception_ptr.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_std__optional_BannerConfig_.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_std__optional_SettingsPrompt_.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_std__string.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_std__vector_AppPermission_.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_std__vector_Purpose_.swift +1 -0
- package/nitrogen/generated/ios/swift/Func_void_std__vector_SDK_.swift +1 -0
- package/nitrogen/generated/ios/swift/HybridConsentSDKSpec.swift +1 -0
- package/package.json +1 -1
package/nitrogen/generated/android/kotlin/com/margelo/nitro/securiticonsentsdk/Func_void_bool.kt
CHANGED
|
@@ -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),
|
|
@@ -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
|
-
|
|
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
|
-
|
|
91
|
+
#endif
|
|
92
92
|
NitroSecuritiConsentSdk::HybridConsentSDKSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
93
93
|
return swiftPart.toUnsafe();
|
|
94
94
|
}
|
|
@@ -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-
|
|
3
|
+
"version": "1.135.0-21rc",
|
|
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",
|