securiti-consent-sdk 1.136.0-7rc → 1.136.0-9rc
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/ios/NitroSecuritiConsentSdk-Swift-Cxx-Bridge.cpp +10 -10
- package/nitrogen/generated/ios/NitroSecuritiConsentSdk-Swift-Cxx-Bridge.hpp +142 -82
- package/nitrogen/generated/ios/swift/AppPermission.swift +12 -6
- package/nitrogen/generated/ios/swift/BannerConfig.swift +46 -23
- package/nitrogen/generated/ios/swift/CmpSDKOptions.swift +8 -4
- package/nitrogen/generated/ios/swift/CustomColors.swift +16 -8
- package/nitrogen/generated/ios/swift/Func_void_std__optional_BannerConfig_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__optional_SettingsPrompt_.swift +2 -1
- package/nitrogen/generated/ios/swift/PostConsentsRequest.swift +4 -2
- package/nitrogen/generated/ios/swift/Purpose.swift +14 -7
- package/nitrogen/generated/ios/swift/SDK.swift +14 -7
- package/nitrogen/generated/ios/swift/SettingsPrompt.swift +10 -5
- package/package.json +1 -1
|
@@ -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) {
|
|
17
|
+
Func_void_bool create_Func_void_bool(void* _Nonnull swiftClosureWrapper) noexcept {
|
|
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) {
|
|
25
|
+
Func_void_std__string create_Func_void_std__string(void* _Nonnull swiftClosureWrapper) noexcept {
|
|
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) {
|
|
33
|
+
Func_void_std__exception_ptr create_Func_void_std__exception_ptr(void* _Nonnull swiftClosureWrapper) noexcept {
|
|
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) {
|
|
41
|
+
Func_void_std__vector_AppPermission_ create_Func_void_std__vector_AppPermission_(void* _Nonnull swiftClosureWrapper) noexcept {
|
|
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) {
|
|
49
|
+
Func_void_std__vector_Purpose_ create_Func_void_std__vector_Purpose_(void* _Nonnull swiftClosureWrapper) noexcept {
|
|
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) {
|
|
57
|
+
Func_void_std__vector_SDK_ create_Func_void_std__vector_SDK_(void* _Nonnull swiftClosureWrapper) noexcept {
|
|
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) {
|
|
65
|
+
Func_void_std__optional_BannerConfig_ create_Func_void_std__optional_BannerConfig_(void* _Nonnull swiftClosureWrapper) noexcept {
|
|
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,7 +70,7 @@ 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) {
|
|
73
|
+
Func_void_std__optional_SettingsPrompt_ create_Func_void_std__optional_SettingsPrompt_(void* _Nonnull swiftClosureWrapper) noexcept {
|
|
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);
|
|
@@ -78,11 +78,11 @@ namespace margelo::nitro::securiticonsentsdk::bridge::swift {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
// pragma MARK: std::shared_ptr<HybridConsentSDKSpec>
|
|
81
|
-
std::shared_ptr<HybridConsentSDKSpec> create_std__shared_ptr_HybridConsentSDKSpec_(void* _Nonnull swiftUnsafePointer) {
|
|
81
|
+
std::shared_ptr<HybridConsentSDKSpec> create_std__shared_ptr_HybridConsentSDKSpec_(void* _Nonnull swiftUnsafePointer) noexcept {
|
|
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) {
|
|
85
|
+
void* _Nonnull get_std__shared_ptr_HybridConsentSDKSpec_(std__shared_ptr_HybridConsentSDKSpec_ cppType) noexcept {
|
|
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]] {
|