diff --git a/README.md b/README.md index a7a98cf..150b74c 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Add flutter_miracl_sdk to `pubspec.yaml`: ```yaml dependencies: - flutter_miracl_sdk: ^0.6.0 + flutter_miracl_sdk: ^0.7.0 ``` ## Usage diff --git a/android/build.gradle b/android/build.gradle index 5d78ab1..714dce4 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -36,6 +36,6 @@ android { } dependencies { - implementation "com.miracl:trust-sdk-android:1.6.0" + implementation "com.miracl:trust-sdk-android:1.8.1" } } \ No newline at end of file diff --git a/android/settings.gradle b/android/settings.gradle index 44141d4..17cc47b 100644 --- a/android/settings.gradle +++ b/android/settings.gradle @@ -24,7 +24,7 @@ pluginManagement { plugins { id "com.android.application" version "7.2.0" apply false - id "org.jetbrains.kotlin.android" version "1.8.22" apply false + id "org.jetbrains.kotlin.android" version "2.2.20" apply false } rootProject.name = 'flutter_miracl_sdk' \ No newline at end of file diff --git a/android/src/main/kotlin/com/miracl/trust/flutter_miracl_sdk/Extensions.kt b/android/src/main/kotlin/com/miracl/trust/flutter_miracl_sdk/Extensions.kt index 1608ec3..15cdac1 100644 --- a/android/src/main/kotlin/com/miracl/trust/flutter_miracl_sdk/Extensions.kt +++ b/android/src/main/kotlin/com/miracl/trust/flutter_miracl_sdk/Extensions.kt @@ -64,7 +64,6 @@ internal val QuickCodeException.flutterExceptionCodeRepresentation: MQuickCodeEx get() = when (this) { is QuickCodeException.GenerationFail -> MQuickCodeExceptionCode.GENERATION_FAIL QuickCodeException.InvalidPin -> MQuickCodeExceptionCode.INVALID_PIN - QuickCodeException.LimitedQuickCodeGeneration -> MQuickCodeExceptionCode.LIMITED_QUICK_CODE_GENERATION QuickCodeException.PinCancelled -> MQuickCodeExceptionCode.PIN_CANCELLED QuickCodeException.Revoked -> MQuickCodeExceptionCode.REVOKED QuickCodeException.UnsuccessfulAuthentication -> MQuickCodeExceptionCode.UNSUCCESSFUL_AUTHENTICATION diff --git a/android/src/main/kotlin/com/miracl/trust/flutter_miracl_sdk/Pigeon.kt b/android/src/main/kotlin/com/miracl/trust/flutter_miracl_sdk/Pigeon.kt index aa7765f..d8744b4 100644 --- a/android/src/main/kotlin/com/miracl/trust/flutter_miracl_sdk/Pigeon.kt +++ b/android/src/main/kotlin/com/miracl/trust/flutter_miracl_sdk/Pigeon.kt @@ -205,8 +205,7 @@ enum class MQuickCodeExceptionCode(val raw: Int) { UNSUCCESSFUL_AUTHENTICATION(1), PIN_CANCELLED(2), INVALID_PIN(3), - LIMITED_QUICK_CODE_GENERATION(4), - GENERATION_FAIL(5); + GENERATION_FAIL(4); companion object { fun ofRaw(raw: Int): MQuickCodeExceptionCode? { @@ -348,7 +347,6 @@ data class MAuthenticationSessionDetails ( val verificationCustomText: String, val identityTypeLabel: String, val quickCodeEnabled: Boolean, - val limitQuickCodeRegistration: Boolean, val identityType: MIdentityType, val accessId: String ) @@ -365,10 +363,9 @@ data class MAuthenticationSessionDetails ( val verificationCustomText = pigeonVar_list[7] as String val identityTypeLabel = pigeonVar_list[8] as String val quickCodeEnabled = pigeonVar_list[9] as Boolean - val limitQuickCodeRegistration = pigeonVar_list[10] as Boolean - val identityType = pigeonVar_list[11] as MIdentityType - val accessId = pigeonVar_list[12] as String - return MAuthenticationSessionDetails(userId, projectName, projectLogoURL, projectId, pinLength, verificationMethod, verificationURL, verificationCustomText, identityTypeLabel, quickCodeEnabled, limitQuickCodeRegistration, identityType, accessId) + val identityType = pigeonVar_list[10] as MIdentityType + val accessId = pigeonVar_list[11] as String + return MAuthenticationSessionDetails(userId, projectName, projectLogoURL, projectId, pinLength, verificationMethod, verificationURL, verificationCustomText, identityTypeLabel, quickCodeEnabled, identityType, accessId) } } fun toList(): List { @@ -383,7 +380,6 @@ data class MAuthenticationSessionDetails ( verificationCustomText, identityTypeLabel, quickCodeEnabled, - limitQuickCodeRegistration, identityType, accessId, ) @@ -412,7 +408,6 @@ data class MSigningSessionDetails ( val verificationCustomText: String, val identityTypeLabel: String, val quickCodeEnabled: Boolean, - val limitQuickCodeRegistration: Boolean, val identityType: MIdentityType, val sessionId: String, val signingHash: String, @@ -433,14 +428,13 @@ data class MSigningSessionDetails ( val verificationCustomText = pigeonVar_list[7] as String val identityTypeLabel = pigeonVar_list[8] as String val quickCodeEnabled = pigeonVar_list[9] as Boolean - val limitQuickCodeRegistration = pigeonVar_list[10] as Boolean - val identityType = pigeonVar_list[11] as MIdentityType - val sessionId = pigeonVar_list[12] as String - val signingHash = pigeonVar_list[13] as String - val signingDescription = pigeonVar_list[14] as String - val status = pigeonVar_list[15] as MSigningSessionStatus - val expireTime = pigeonVar_list[16] as Long - return MSigningSessionDetails(userId, projectName, projectLogoURL, projectId, pinLength, verificationMethod, verificationURL, verificationCustomText, identityTypeLabel, quickCodeEnabled, limitQuickCodeRegistration, identityType, sessionId, signingHash, signingDescription, status, expireTime) + val identityType = pigeonVar_list[10] as MIdentityType + val sessionId = pigeonVar_list[11] as String + val signingHash = pigeonVar_list[12] as String + val signingDescription = pigeonVar_list[13] as String + val status = pigeonVar_list[14] as MSigningSessionStatus + val expireTime = pigeonVar_list[15] as Long + return MSigningSessionDetails(userId, projectName, projectLogoURL, projectId, pinLength, verificationMethod, verificationURL, verificationCustomText, identityTypeLabel, quickCodeEnabled, identityType, sessionId, signingHash, signingDescription, status, expireTime) } } fun toList(): List { @@ -455,7 +449,6 @@ data class MSigningSessionDetails ( verificationCustomText, identityTypeLabel, quickCodeEnabled, - limitQuickCodeRegistration, identityType, sessionId, signingHash, diff --git a/android/src/main/kotlin/com/miracl/trust/flutter_miracl_sdk/SdkHandler.kt b/android/src/main/kotlin/com/miracl/trust/flutter_miracl_sdk/SdkHandler.kt index 39a3b30..cff2b6a 100644 --- a/android/src/main/kotlin/com/miracl/trust/flutter_miracl_sdk/SdkHandler.kt +++ b/android/src/main/kotlin/com/miracl/trust/flutter_miracl_sdk/SdkHandler.kt @@ -367,7 +367,6 @@ class SdkHandler { it.value.verificationCustomText, it.value.identityTypeLabel, it.value.quickCodeEnabled, - it.value.limitQuickCodeRegistration, MIdentityType.ofRaw(it.value.identityType.ordinal) ?: MIdentityType.EMAIL, it.value.accessId ) @@ -412,7 +411,6 @@ class SdkHandler { it.value.verificationCustomText, it.value.identityTypeLabel, it.value.quickCodeEnabled, - it.value.limitQuickCodeRegistration, MIdentityType.ofRaw(it.value.identityType.ordinal) ?: MIdentityType.EMAIL, it.value.accessId ) @@ -457,7 +455,6 @@ class SdkHandler { it.value.verificationCustomText, it.value.identityTypeLabel, it.value.quickCodeEnabled, - it.value.limitQuickCodeRegistration, MIdentityType.ofRaw(it.value.identityType.ordinal) ?: MIdentityType.EMAIL, it.value.accessId ) @@ -616,7 +613,6 @@ class SdkHandler { it.value.verificationCustomText, it.value.identityTypeLabel, it.value.quickCodeEnabled, - it.value.limitQuickCodeRegistration, MIdentityType.ofRaw(it.value.identityType.ordinal) ?: MIdentityType.EMAIL, it.value.sessionId, it.value.signingHash, @@ -665,7 +661,6 @@ class SdkHandler { it.value.verificationCustomText, it.value.identityTypeLabel, it.value.quickCodeEnabled, - it.value.limitQuickCodeRegistration, MIdentityType.ofRaw(it.value.identityType.ordinal) ?: MIdentityType.EMAIL, it.value.sessionId, it.value.signingHash, diff --git a/example/android/settings.gradle.kts b/example/android/settings.gradle.kts index a439442..6a020c9 100644 --- a/example/android/settings.gradle.kts +++ b/example/android/settings.gradle.kts @@ -19,7 +19,7 @@ pluginManagement { plugins { id("dev.flutter.flutter-plugin-loader") version "1.0.0" id("com.android.application") version "8.7.0" apply false - id("org.jetbrains.kotlin.android") version "1.8.22" apply false + id("org.jetbrains.kotlin.android") version "2.2.20" apply false } include(":app") diff --git a/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 00bd74d..4dca5aa 100644 --- a/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -6,8 +6,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/miracl/trust-sdk-ios", "state" : { - "revision" : "9c688287ca816edacea33ad3ec4fbd46e162feed", - "version" : "1.6.2" + "revision" : "b87839b0d3009df01d419a0c2c09ce924356f2eb", + "version" : "1.7.1" } } ], diff --git a/example/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved b/example/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved index 00bd74d..4dca5aa 100644 --- a/example/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/example/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -6,8 +6,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/miracl/trust-sdk-ios", "state" : { - "revision" : "9c688287ca816edacea33ad3ec4fbd46e162feed", - "version" : "1.6.2" + "revision" : "b87839b0d3009df01d419a0c2c09ce924356f2eb", + "version" : "1.7.1" } } ], diff --git a/example/pubspec.lock b/example/pubspec.lock index 88af425..71266eb 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -5,10 +5,10 @@ packages: dependency: transitive description: name: async - sha256: "758e6d74e971c3e5aceb4110bfd6698efc7f501675bcfe0c775459a8140750eb" + sha256: d2872f9c19731c2e5f10444b14686eb7cc85c76274bd6c16e1816bff9a3bab63 url: "https://pub.dev" source: hosted - version: "2.13.0" + version: "2.12.0" boolean_selector: dependency: transitive description: @@ -53,10 +53,10 @@ packages: dependency: transitive description: name: fake_async - sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44" + sha256: "6a95e56b2449df2273fd8c45a662d6947ce1ebb7aafe80e550a3f68297f3cacc" url: "https://pub.dev" source: hosted - version: "1.3.3" + version: "1.3.2" flutter: dependency: "direct main" description: flutter @@ -76,7 +76,7 @@ packages: path: ".." relative: true source: path - version: "0.6.0" + version: "0.7.0" flutter_test: dependency: "direct dev" description: flutter @@ -99,10 +99,10 @@ packages: dependency: transitive description: name: leak_tracker - sha256: "6bb818ecbdffe216e81182c2f0714a2e62b593f4a4f13098713ff1685dfb6ab0" + sha256: c35baad643ba394b40aac41080300150a4f08fd0fd6a10378f8f7c6bc161acec url: "https://pub.dev" source: hosted - version: "10.0.9" + version: "10.0.8" leak_tracker_flutter_testing: dependency: transitive description: @@ -256,10 +256,10 @@ packages: dependency: transitive description: name: vm_service - sha256: ddfa8d30d89985b96407efce8acbdd124701f96741f2d981ca860662f1c0dc02 + sha256: "0968250880a6c5fe7edc067ed0a13d4bae1577fe2771dcf3010d52c4a9d3ca14" url: "https://pub.dev" source: hosted - version: "15.0.0" + version: "14.3.1" sdks: dart: ">=3.7.0-0 <4.0.0" flutter: ">=3.27.0" diff --git a/integration_test_app/android/settings.gradle.kts b/integration_test_app/android/settings.gradle.kts index a439442..6a020c9 100644 --- a/integration_test_app/android/settings.gradle.kts +++ b/integration_test_app/android/settings.gradle.kts @@ -19,7 +19,7 @@ pluginManagement { plugins { id("dev.flutter.flutter-plugin-loader") version "1.0.0" id("com.android.application") version "8.7.0" apply false - id("org.jetbrains.kotlin.android") version "1.8.22" apply false + id("org.jetbrains.kotlin.android") version "2.2.20" apply false } include(":app") diff --git a/integration_test_app/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/integration_test_app/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index d4d779a..04d5648 100644 --- a/integration_test_app/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/integration_test_app/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -6,8 +6,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/miracl/trust-sdk-ios", "state" : { - "revision" : "9c688287ca816edacea33ad3ec4fbd46e162feed", - "version" : "1.6.2" + "revision" : "b87839b0d3009df01d419a0c2c09ce924356f2eb", + "version" : "1.7.1" } } ], diff --git a/integration_test_app/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved b/integration_test_app/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved index d4d779a..04d5648 100644 --- a/integration_test_app/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/integration_test_app/ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -6,8 +6,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/miracl/trust-sdk-ios", "state" : { - "revision" : "9c688287ca816edacea33ad3ec4fbd46e162feed", - "version" : "1.6.2" + "revision" : "b87839b0d3009df01d419a0c2c09ce924356f2eb", + "version" : "1.7.1" } } ], diff --git a/integration_test_app/pubspec.lock b/integration_test_app/pubspec.lock index b6e597a..62ddaa7 100644 --- a/integration_test_app/pubspec.lock +++ b/integration_test_app/pubspec.lock @@ -137,7 +137,7 @@ packages: path: ".." relative: true source: path - version: "0.6.0" + version: "0.7.0" flutter_test: dependency: "direct dev" description: flutter diff --git a/ios/MIRACLTrust.xcframework/Info.plist b/ios/MIRACLTrust.xcframework/Info.plist index 117b1ee..7dc31c7 100644 --- a/ios/MIRACLTrust.xcframework/Info.plist +++ b/ios/MIRACLTrust.xcframework/Info.plist @@ -8,32 +8,32 @@ BinaryPath MIRACLTrust.framework/MIRACLTrust LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-simulator LibraryPath MIRACLTrust.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator BinaryPath MIRACLTrust.framework/MIRACLTrust LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64 LibraryPath MIRACLTrust.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - simulator CFBundlePackageType diff --git a/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Headers/MIRACLTrust-Swift.h b/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Headers/MIRACLTrust-Swift.h index 38a7d17..5fbf46f 100644 --- a/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Headers/MIRACLTrust-Swift.h +++ b/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Headers/MIRACLTrust-Swift.h @@ -355,8 +355,6 @@ SWIFT_PROTOCOL("_TtP11MIRACLTrust14SessionDetails_") @property (nonatomic, readonly, copy) NSString * _Nonnull identityTypeLabel; /// Whether the QuickCode is enabled for the project or not. @property (nonatomic, readonly) BOOL quickCodeEnabled; -/// Flag indicating whether registration with QuickCode is allowed for identities registered also with QuickCode. -@property (nonatomic, readonly) BOOL limitQuickCodeRegistration; /// Identity type which will be used for identity verification. @property (nonatomic, readonly) enum IdentityType identityType; @end @@ -374,7 +372,6 @@ SWIFT_CLASS("_TtC11MIRACLTrust28AuthenticationSessionDetails") @property (nonatomic, readonly, copy) NSString * _Nonnull verificationCustomText; @property (nonatomic, readonly, copy) NSString * _Nonnull identityTypeLabel; @property (nonatomic, readonly) BOOL quickCodeEnabled; -@property (nonatomic, readonly) BOOL limitQuickCodeRegistration; @property (nonatomic, readonly) enum IdentityType identityType; /// Identifier of the authentication session. @property (nonatomic, readonly, copy) NSString * _Nonnull accessId; @@ -498,8 +495,6 @@ SWIFT_CLASS("_TtC11MIRACLTrust18CrossDeviceSession") @property (nonatomic, readonly, copy) NSString * _Nonnull identityTypeLabel; /// Indicates whether QuickCode is enabled for the project or not. @property (nonatomic, readonly) BOOL quickCodeEnabled; -/// Indicates whether registration with QuickCode is allowed for identities registered also with QuickCode. -@property (nonatomic, readonly) BOOL limitQuickCodeRegistration; /// Identity type which will be used for identity verification. @property (nonatomic, readonly) enum IdentityType identityType; /// Identifier of the session. @@ -508,7 +503,7 @@ SWIFT_CLASS("_TtC11MIRACLTrust18CrossDeviceSession") @property (nonatomic, readonly, copy) NSString * _Nonnull sessionDescription; /// Hash of the transaction that needs to be signed if any. @property (nonatomic, readonly, copy) NSString * _Nonnull signingHash; -- (nonnull instancetype)initWithUserId:(NSString * _Nonnull)userId projectName:(NSString * _Nonnull)projectName projectLogoURL:(NSString * _Nonnull)projectLogoURL projectId:(NSString * _Nonnull)projectId pinLength:(NSInteger)pinLength verificationMethod:(enum VerificationMethod)verificationMethod verificationURL:(NSString * _Nonnull)verificationURL verificationCustomText:(NSString * _Nonnull)verificationCustomText identityTypeLabel:(NSString * _Nonnull)identityTypeLabel quickCodeEnabled:(BOOL)quickCodeEnabled limitQuickCodeRegistration:(BOOL)limitQuickCodeRegistration identityType:(enum IdentityType)identityType sessionId:(NSString * _Nonnull)sessionId sessionDescription:(NSString * _Nonnull)sessionDescription signingHash:(NSString * _Nonnull)signingHash OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithUserId:(NSString * _Nonnull)userId projectName:(NSString * _Nonnull)projectName projectLogoURL:(NSString * _Nonnull)projectLogoURL projectId:(NSString * _Nonnull)projectId pinLength:(NSInteger)pinLength verificationMethod:(enum VerificationMethod)verificationMethod verificationURL:(NSString * _Nonnull)verificationURL verificationCustomText:(NSString * _Nonnull)verificationCustomText identityTypeLabel:(NSString * _Nonnull)identityTypeLabel quickCodeEnabled:(BOOL)quickCodeEnabled identityType:(enum IdentityType)identityType sessionId:(NSString * _Nonnull)sessionId sessionDescription:(NSString * _Nonnull)sessionDescription signingHash:(NSString * _Nonnull)signingHash OBJC_DESIGNATED_INITIALIZER; - (nonnull instancetype)init SWIFT_UNAVAILABLE; + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end @@ -919,7 +914,6 @@ SWIFT_CLASS("_TtC11MIRACLTrust21SigningSessionDetails") @property (nonatomic, readonly, copy) NSString * _Nonnull verificationCustomText; @property (nonatomic, readonly, copy) NSString * _Nonnull identityTypeLabel; @property (nonatomic, readonly) BOOL quickCodeEnabled; -@property (nonatomic, readonly) BOOL limitQuickCodeRegistration; @property (nonatomic, readonly) enum IdentityType identityType; /// Identifier of the signing session. @property (nonatomic, readonly, copy) NSString * _Nonnull sessionId; diff --git a/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Info.plist b/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Info.plist index 08d3a43..93eff06 100644 Binary files a/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Info.plist and b/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Info.plist differ diff --git a/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/MIRACLTrust b/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/MIRACLTrust index 0a78929..cdcda38 100755 Binary files a/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/MIRACLTrust and b/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/MIRACLTrust differ diff --git a/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.abi.json b/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.abi.json index 96a1b02..a6b9a24 100644 --- a/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.abi.json +++ b/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.abi.json @@ -1201,57 +1201,6 @@ } ] }, - { - "kind": "Var", - "name": "limitQuickCodeRegistration", - "printedName": "limitQuickCodeRegistration", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "c:@M@MIRACLTrust@objc(cs)CrossDeviceSession(py)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust18CrossDeviceSessionC26limitQuickCodeRegistrationSbvp", - "moduleName": "MIRACLTrust", - "declAttributes": [ - "Final", - "HasStorage", - "AccessControl", - "RawDocComment", - "ObjC" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Accessor", - "usr": "c:@M@MIRACLTrust@objc(cs)CrossDeviceSession(im)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust18CrossDeviceSessionC26limitQuickCodeRegistrationSbvg", - "moduleName": "MIRACLTrust", - "implicit": true, - "declAttributes": [ - "Final", - "ObjC" - ], - "accessorKind": "get" - } - ] - }, { "kind": "Var", "name": "identityType", @@ -1459,7 +1408,7 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(userId:projectName:projectLogoURL:projectId:pinLength:verificationMethod:verificationURL:verificationCustomText:identityTypeLabel:quickCodeEnabled:limitQuickCodeRegistration:identityType:sessionId:sessionDescription:signingHash:)", + "printedName": "init(userId:projectName:projectLogoURL:projectId:pinLength:verificationMethod:verificationURL:verificationCustomText:identityTypeLabel:quickCodeEnabled:identityType:sessionId:sessionDescription:signingHash:)", "children": [ { "kind": "TypeNominal", @@ -1527,12 +1476,6 @@ "printedName": "Swift.Bool", "usr": "s:Sb" }, - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, { "kind": "TypeNominal", "name": "IdentityType", @@ -1559,8 +1502,8 @@ } ], "declKind": "Constructor", - "usr": "c:@M@MIRACLTrust@objc(cs)CrossDeviceSession(im)initWithUserId:projectName:projectLogoURL:projectId:pinLength:verificationMethod:verificationURL:verificationCustomText:identityTypeLabel:quickCodeEnabled:limitQuickCodeRegistration:identityType:sessionId:sessionDescription:signingHash:", - "mangledName": "$s11MIRACLTrust18CrossDeviceSessionC6userId11projectName0G7LogoURL0gF09pinLength18verificationMethod0mJ00M10CustomText17identityTypeLabel16quickCodeEnabled010limitQuickU12Registration0qR007sessionF00Z11Description11signingHashACSS_S3SSiAA012VerificationN0OS3SS2bAA08IdentityR0OS3Stcfc", + "usr": "c:@M@MIRACLTrust@objc(cs)CrossDeviceSession(im)initWithUserId:projectName:projectLogoURL:projectId:pinLength:verificationMethod:verificationURL:verificationCustomText:identityTypeLabel:quickCodeEnabled:identityType:sessionId:sessionDescription:signingHash:", + "mangledName": "$s11MIRACLTrust18CrossDeviceSessionC6userId11projectName0G7LogoURL0gF09pinLength18verificationMethod0mJ00M10CustomText17identityTypeLabel16quickCodeEnabled0qR007sessionF00W11Description11signingHashACSS_S3SSiAA012VerificationN0OS3SSbAA08IdentityR0OS3Stcfc", "moduleName": "MIRACLTrust", "declAttributes": [ "AccessControl", @@ -2518,58 +2461,6 @@ } ] }, - { - "kind": "Var", - "name": "limitQuickCodeRegistration", - "printedName": "limitQuickCodeRegistration", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "c:@M@MIRACLTrust@objc(cs)AuthenticationSessionDetails(py)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust28AuthenticationSessionDetailsC26limitQuickCodeRegistrationSbvp", - "moduleName": "MIRACLTrust", - "objc_name": "limitQuickCodeRegistration", - "declAttributes": [ - "Final", - "ObjC", - "HasStorage", - "AccessControl" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Accessor", - "usr": "c:@M@MIRACLTrust@objc(cs)AuthenticationSessionDetails(im)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust28AuthenticationSessionDetailsC26limitQuickCodeRegistrationSbvg", - "moduleName": "MIRACLTrust", - "implicit": true, - "objc_name": "limitQuickCodeRegistration", - "declAttributes": [ - "Final", - "ObjC" - ], - "accessorKind": "get" - } - ] - }, { "kind": "Var", "name": "identityType", @@ -3239,46 +3130,6 @@ "RawDocComment" ] }, - { - "kind": "Var", - "name": "limitedQuickCodeGeneration", - "printedName": "limitedQuickCodeGeneration", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(MIRACLTrust.QuickCodeError.Type) -> MIRACLTrust.QuickCodeError", - "children": [ - { - "kind": "TypeNominal", - "name": "QuickCodeError", - "printedName": "MIRACLTrust.QuickCodeError", - "usr": "s:11MIRACLTrust14QuickCodeErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "MIRACLTrust.QuickCodeError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "QuickCodeError", - "printedName": "MIRACLTrust.QuickCodeError", - "usr": "s:11MIRACLTrust14QuickCodeErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:11MIRACLTrust14QuickCodeErrorO07limitedbC10GenerationyA2CmF", - "mangledName": "$s11MIRACLTrust14QuickCodeErrorO07limitedbC10GenerationyA2CmF", - "moduleName": "MIRACLTrust", - "declAttributes": [ - "RawDocComment" - ] - }, { "kind": "Var", "name": "generationFail", @@ -12353,7 +12204,7 @@ ], "declKind": "Func", "usr": "c:@M@MIRACLTrust@objc(cs)MIRACLTrust(im)_abortCrossDeviceSession:completionHandler:", - "mangledName": "$s11MIRACLTrustAAC24_abortCrossDeviceSession_17completionHandleryAA0cdE0C_ySb_s5Error_pSgtctF", + "mangledName": "$s11MIRACLTrustAAC24_abortCrossDeviceSession_17completionHandleryAA0cdE0C_ySb_s5Error_pSgtYbctF", "moduleName": "MIRACLTrust", "declAttributes": [ "AccessControl", @@ -15517,6 +15368,13 @@ "declKind": "Import", "moduleName": "MIRACLTrust" }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "MIRACLTrust" + }, { "kind": "TypeDecl", "name": "SigningSessionError", @@ -17263,58 +17121,6 @@ } ] }, - { - "kind": "Var", - "name": "limitQuickCodeRegistration", - "printedName": "limitQuickCodeRegistration", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "c:@M@MIRACLTrust@objc(cs)SigningSessionDetails(py)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust21SigningSessionDetailsC26limitQuickCodeRegistrationSbvp", - "moduleName": "MIRACLTrust", - "objc_name": "limitQuickCodeRegistration", - "declAttributes": [ - "Final", - "ObjC", - "HasStorage", - "AccessControl" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Accessor", - "usr": "c:@M@MIRACLTrust@objc(cs)SigningSessionDetails(im)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust21SigningSessionDetailsC26limitQuickCodeRegistrationSbvg", - "moduleName": "MIRACLTrust", - "implicit": true, - "objc_name": "limitQuickCodeRegistration", - "declAttributes": [ - "Final", - "ObjC" - ], - "accessorKind": "get" - } - ] - }, { "kind": "Var", "name": "identityType", @@ -19152,55 +18958,6 @@ } ] }, - { - "kind": "Var", - "name": "limitQuickCodeRegistration", - "printedName": "limitQuickCodeRegistration", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "c:@M@MIRACLTrust@objc(pl)SessionDetails(py)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust14SessionDetailsP26limitQuickCodeRegistrationSbvp", - "moduleName": "MIRACLTrust", - "protocolReq": true, - "declAttributes": [ - "RawDocComment", - "ObjC" - ], - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Accessor", - "usr": "c:@M@MIRACLTrust@objc(pl)SessionDetails(im)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust14SessionDetailsP26limitQuickCodeRegistrationSbvg", - "moduleName": "MIRACLTrust", - "genericSig": "<τ_0_0 where τ_0_0 : MIRACLTrust.SessionDetails>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "ObjC" - ], - "reqNewWitnessTableEntry": true, - "accessorKind": "get" - } - ] - }, { "kind": "Var", "name": "identityType", @@ -20716,28 +20473,21 @@ { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Cross Device Session\/CrossDeviceSessionResponse.swift", "kind": "StringLiteral", - "offset": 833, + "offset": 792, "length": 24, "value": "\"enableRegistrationCode\"" }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Cross Device Session\/CrossDeviceSessionResponse.swift", "kind": "StringLiteral", - "offset": 900, - "length": 22, - "value": "\"limitRegCodeVerified\"" - }, - { - "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Cross Device Session\/CrossDeviceSessionResponse.swift", - "kind": "StringLiteral", - "offset": 950, + "offset": 844, "length": 6, "value": "\"hash\"" }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Cross Device Session\/CrossDeviceSessionResponse.swift", "kind": "StringLiteral", - "offset": 991, + "offset": 885, "length": 13, "value": "\"description\"" }, @@ -21070,27 +20820,13 @@ "length": 5, "value": "false" }, - { - "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Authentication Session Management\/AuthenticationSessionDetailsResponse.swift", - "kind": "BooleanLiteral", - "offset": 401, - "length": 5, - "value": "false" - }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Authentication Session Management\/AuthenticationSessionDetailsResponse.swift", "kind": "StringLiteral", - "offset": 757, + "offset": 714, "length": 24, "value": "\"enableRegistrationCode\"" }, - { - "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Authentication Session Management\/AuthenticationSessionDetailsResponse.swift", - "kind": "StringLiteral", - "offset": 824, - "length": 22, - "value": "\"limitRegCodeVerified\"" - }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Logging\/LoggingConstants.swift", "kind": "StringLiteral", @@ -21434,13 +21170,6 @@ "length": 8, "value": "\"miracl\"" }, - { - "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/QuickCode\/QuickCodeGenerator.swift", - "kind": "StringLiteral", - "offset": 54, - "length": 30, - "value": "\"LIMITED_QUICKCODE_GENERATION\"" - }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/User Storage\/SQLiteMigration\/SQLiteMigration2to3.swift", "kind": "IntegerLiteral", @@ -21637,6 +21366,13 @@ "length": 9, "value": "12" }, + { + "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Helpers\/PinController.swift", + "kind": "StringLiteral", + "offset": 168, + "length": 25, + "value": "\"com.miracl.pinSyncQueue\"" + }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Authentication\/Pass1RequestBody.swift", "kind": "StringLiteral", @@ -21682,14 +21418,14 @@ { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Signing Session Management\/SigningSessionDetailsResponse.swift", "kind": "StringLiteral", - "offset": 621, + "offset": 586, "length": 6, "value": "\"hash\"" }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Signing Session Management\/SigningSessionDetailsResponse.swift", "kind": "StringLiteral", - "offset": 662, + "offset": 627, "length": 13, "value": "\"description\"" }, @@ -21787,14 +21523,14 @@ { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Session Management\/SessionDetails.swift", "kind": "IntegerLiteral", - "offset": 1643, + "offset": 1475, "length": 13, "value": "1" }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Session Management\/SessionDetails.swift", "kind": "IntegerLiteral", - "offset": 2479, + "offset": 2311, "length": 12, "value": "1" }, diff --git a/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.private.swiftinterface b/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.private.swiftinterface index ff7e67a..18368f1 100644 --- a/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.private.swiftinterface +++ b/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.private.swiftinterface @@ -1,6 +1,6 @@ // swift-interface-format-version: 1.0 // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1) -// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature InferSendableFromCaptures -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2 import CommonCrypto import MIRACLTrust.Crypto @@ -49,12 +49,11 @@ extension CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: IdentityType @objc final public let sessionId: Swift.String @objc final public let sessionDescription: Swift.String @objc final public let signingHash: Swift.String - @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, limitQuickCodeRegistration: Swift.Bool, identityType: IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) + @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, identityType: IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) @objc deinit } @objc public enum EmailVerificationMethod : Swift.Int, Swift.Sendable { @@ -80,7 +79,6 @@ extension CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: IdentityType @objc final public let accessId: Swift.String @objc deinit @@ -100,7 +98,6 @@ public enum QuickCodeError : Swift.Error { case unsuccessfulAuthentication case pinCancelled case invalidPin - case limitedQuickCodeGeneration case generationFail((any Swift.Error)?) } extension QuickCodeError : Swift.Equatable { @@ -389,7 +386,7 @@ extension AuthenticationError : Foundation.CustomNSError { @objc public func _getCrossDeviceSessionFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping CrossDeviceSessionCompletionHandler) @objc public func _getCrossDeviceSessionFromPushNotificationPayload(pushNotificationPayload: [Swift.AnyHashable : Any], completionHandler: @escaping CrossDeviceSessionCompletionHandler) #if compiler(>=5.3) && $NonescapableTypes - @objc public func _abortCrossDeviceSession(_ crossDeviceSession: CrossDeviceSession, completionHandler: @escaping (Swift.Bool, (any Swift.Error)?) -> Swift.Void) + @objc public func _abortCrossDeviceSession(_ crossDeviceSession: CrossDeviceSession, completionHandler: @escaping @Sendable (Swift.Bool, (any Swift.Error)?) -> Swift.Void) #endif @objc(getAuthenticationSessionDetailsFromQRCode:completionHandler:) public func getAuthenticationSessionDetailsFromQRCode(qrCode: Swift.String, completionHandler: @escaping AuthenticationSessionDetailsCompletionHandler) @objc(getAuthenticationSessionDetailsFromUniversalLinkURL:completionHandler:) public func getAuthenticationSessionDetailsFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping AuthenticationSessionDetailsCompletionHandler) @@ -550,7 +547,6 @@ extension APIError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: IdentityType @objc final public let sessionId: Swift.String @objc final public let signingHash: Swift.String @@ -609,7 +605,6 @@ extension VerificationError : Foundation.CustomNSError { @objc var verificationCustomText: Swift.String { get } @objc var identityTypeLabel: Swift.String { get } @objc var quickCodeEnabled: Swift.Bool { get } - @objc var limitQuickCodeRegistration: Swift.Bool { get } @objc var identityType: IdentityType { get } } @objc public enum VerificationMethod : Swift.Int, Swift.Sendable { diff --git a/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.private.swiftinterface-e b/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.private.swiftinterface-e index 8606054..7473692 100644 --- a/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.private.swiftinterface-e +++ b/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.private.swiftinterface-e @@ -1,6 +1,6 @@ // swift-interface-format-version: 1.0 // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1) -// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature InferSendableFromCaptures -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2 import CommonCrypto import MIRACLTrust.Crypto @@ -49,12 +49,11 @@ extension MIRACLTrust.CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: MIRACLTrust.IdentityType @objc final public let sessionId: Swift.String @objc final public let sessionDescription: Swift.String @objc final public let signingHash: Swift.String - @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: MIRACLTrust.VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, limitQuickCodeRegistration: Swift.Bool, identityType: MIRACLTrust.IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) + @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: MIRACLTrust.VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, identityType: MIRACLTrust.IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) @objc deinit } @objc public enum EmailVerificationMethod : Swift.Int, Swift.Sendable { @@ -80,7 +79,6 @@ extension MIRACLTrust.CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: MIRACLTrust.IdentityType @objc final public let accessId: Swift.String @objc deinit @@ -100,7 +98,6 @@ public enum QuickCodeError : Swift.Error { case unsuccessfulAuthentication case pinCancelled case invalidPin - case limitedQuickCodeGeneration case generationFail((any Swift.Error)?) } extension MIRACLTrust.QuickCodeError : Swift.Equatable { @@ -389,7 +386,7 @@ extension MIRACLTrust.AuthenticationError : Foundation.CustomNSError { @objc public func _getCrossDeviceSessionFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping MIRACLTrust.CrossDeviceSessionCompletionHandler) @objc public func _getCrossDeviceSessionFromPushNotificationPayload(pushNotificationPayload: [Swift.AnyHashable : Any], completionHandler: @escaping MIRACLTrust.CrossDeviceSessionCompletionHandler) #if compiler(>=5.3) && $NonescapableTypes - @objc public func _abortCrossDeviceSession(_ crossDeviceSession: MIRACLTrust.CrossDeviceSession, completionHandler: @escaping (Swift.Bool, (any Swift.Error)?) -> Swift.Void) + @objc public func _abortCrossDeviceSession(_ crossDeviceSession: MIRACLTrust.CrossDeviceSession, completionHandler: @escaping @Sendable (Swift.Bool, (any Swift.Error)?) -> Swift.Void) #endif @objc(getAuthenticationSessionDetailsFromQRCode:completionHandler:) public func getAuthenticationSessionDetailsFromQRCode(qrCode: Swift.String, completionHandler: @escaping MIRACLTrust.AuthenticationSessionDetailsCompletionHandler) @objc(getAuthenticationSessionDetailsFromUniversalLinkURL:completionHandler:) public func getAuthenticationSessionDetailsFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping MIRACLTrust.AuthenticationSessionDetailsCompletionHandler) @@ -550,7 +547,6 @@ extension MIRACLTrust.APIError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: MIRACLTrust.IdentityType @objc final public let sessionId: Swift.String @objc final public let signingHash: Swift.String @@ -609,7 +605,6 @@ extension MIRACLTrust.VerificationError : Foundation.CustomNSError { @objc var verificationCustomText: Swift.String { get } @objc var identityTypeLabel: Swift.String { get } @objc var quickCodeEnabled: Swift.Bool { get } - @objc var limitQuickCodeRegistration: Swift.Bool { get } @objc var identityType: MIRACLTrust.IdentityType { get } } @objc public enum VerificationMethod : Swift.Int, Swift.Sendable { diff --git a/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.swiftdoc b/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.swiftdoc index 74bcdf5..cd60714 100644 Binary files a/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.swiftdoc and b/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.swiftinterface b/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.swiftinterface index ff7e67a..18368f1 100644 --- a/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.swiftinterface +++ b/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.swiftinterface @@ -1,6 +1,6 @@ // swift-interface-format-version: 1.0 // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1) -// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature InferSendableFromCaptures -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2 import CommonCrypto import MIRACLTrust.Crypto @@ -49,12 +49,11 @@ extension CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: IdentityType @objc final public let sessionId: Swift.String @objc final public let sessionDescription: Swift.String @objc final public let signingHash: Swift.String - @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, limitQuickCodeRegistration: Swift.Bool, identityType: IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) + @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, identityType: IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) @objc deinit } @objc public enum EmailVerificationMethod : Swift.Int, Swift.Sendable { @@ -80,7 +79,6 @@ extension CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: IdentityType @objc final public let accessId: Swift.String @objc deinit @@ -100,7 +98,6 @@ public enum QuickCodeError : Swift.Error { case unsuccessfulAuthentication case pinCancelled case invalidPin - case limitedQuickCodeGeneration case generationFail((any Swift.Error)?) } extension QuickCodeError : Swift.Equatable { @@ -389,7 +386,7 @@ extension AuthenticationError : Foundation.CustomNSError { @objc public func _getCrossDeviceSessionFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping CrossDeviceSessionCompletionHandler) @objc public func _getCrossDeviceSessionFromPushNotificationPayload(pushNotificationPayload: [Swift.AnyHashable : Any], completionHandler: @escaping CrossDeviceSessionCompletionHandler) #if compiler(>=5.3) && $NonescapableTypes - @objc public func _abortCrossDeviceSession(_ crossDeviceSession: CrossDeviceSession, completionHandler: @escaping (Swift.Bool, (any Swift.Error)?) -> Swift.Void) + @objc public func _abortCrossDeviceSession(_ crossDeviceSession: CrossDeviceSession, completionHandler: @escaping @Sendable (Swift.Bool, (any Swift.Error)?) -> Swift.Void) #endif @objc(getAuthenticationSessionDetailsFromQRCode:completionHandler:) public func getAuthenticationSessionDetailsFromQRCode(qrCode: Swift.String, completionHandler: @escaping AuthenticationSessionDetailsCompletionHandler) @objc(getAuthenticationSessionDetailsFromUniversalLinkURL:completionHandler:) public func getAuthenticationSessionDetailsFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping AuthenticationSessionDetailsCompletionHandler) @@ -550,7 +547,6 @@ extension APIError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: IdentityType @objc final public let sessionId: Swift.String @objc final public let signingHash: Swift.String @@ -609,7 +605,6 @@ extension VerificationError : Foundation.CustomNSError { @objc var verificationCustomText: Swift.String { get } @objc var identityTypeLabel: Swift.String { get } @objc var quickCodeEnabled: Swift.Bool { get } - @objc var limitQuickCodeRegistration: Swift.Bool { get } @objc var identityType: IdentityType { get } } @objc public enum VerificationMethod : Swift.Int, Swift.Sendable { diff --git a/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.swiftinterface-e b/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.swiftinterface-e index 8606054..7473692 100644 --- a/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.swiftinterface-e +++ b/ios/MIRACLTrust.xcframework/ios-arm64/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios.swiftinterface-e @@ -1,6 +1,6 @@ // swift-interface-format-version: 1.0 // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1) -// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust +// swift-module-flags: -target arm64-apple-ios11.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature InferSendableFromCaptures -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2 import CommonCrypto import MIRACLTrust.Crypto @@ -49,12 +49,11 @@ extension MIRACLTrust.CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: MIRACLTrust.IdentityType @objc final public let sessionId: Swift.String @objc final public let sessionDescription: Swift.String @objc final public let signingHash: Swift.String - @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: MIRACLTrust.VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, limitQuickCodeRegistration: Swift.Bool, identityType: MIRACLTrust.IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) + @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: MIRACLTrust.VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, identityType: MIRACLTrust.IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) @objc deinit } @objc public enum EmailVerificationMethod : Swift.Int, Swift.Sendable { @@ -80,7 +79,6 @@ extension MIRACLTrust.CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: MIRACLTrust.IdentityType @objc final public let accessId: Swift.String @objc deinit @@ -100,7 +98,6 @@ public enum QuickCodeError : Swift.Error { case unsuccessfulAuthentication case pinCancelled case invalidPin - case limitedQuickCodeGeneration case generationFail((any Swift.Error)?) } extension MIRACLTrust.QuickCodeError : Swift.Equatable { @@ -389,7 +386,7 @@ extension MIRACLTrust.AuthenticationError : Foundation.CustomNSError { @objc public func _getCrossDeviceSessionFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping MIRACLTrust.CrossDeviceSessionCompletionHandler) @objc public func _getCrossDeviceSessionFromPushNotificationPayload(pushNotificationPayload: [Swift.AnyHashable : Any], completionHandler: @escaping MIRACLTrust.CrossDeviceSessionCompletionHandler) #if compiler(>=5.3) && $NonescapableTypes - @objc public func _abortCrossDeviceSession(_ crossDeviceSession: MIRACLTrust.CrossDeviceSession, completionHandler: @escaping (Swift.Bool, (any Swift.Error)?) -> Swift.Void) + @objc public func _abortCrossDeviceSession(_ crossDeviceSession: MIRACLTrust.CrossDeviceSession, completionHandler: @escaping @Sendable (Swift.Bool, (any Swift.Error)?) -> Swift.Void) #endif @objc(getAuthenticationSessionDetailsFromQRCode:completionHandler:) public func getAuthenticationSessionDetailsFromQRCode(qrCode: Swift.String, completionHandler: @escaping MIRACLTrust.AuthenticationSessionDetailsCompletionHandler) @objc(getAuthenticationSessionDetailsFromUniversalLinkURL:completionHandler:) public func getAuthenticationSessionDetailsFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping MIRACLTrust.AuthenticationSessionDetailsCompletionHandler) @@ -550,7 +547,6 @@ extension MIRACLTrust.APIError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: MIRACLTrust.IdentityType @objc final public let sessionId: Swift.String @objc final public let signingHash: Swift.String @@ -609,7 +605,6 @@ extension MIRACLTrust.VerificationError : Foundation.CustomNSError { @objc var verificationCustomText: Swift.String { get } @objc var identityTypeLabel: Swift.String { get } @objc var quickCodeEnabled: Swift.Bool { get } - @objc var limitQuickCodeRegistration: Swift.Bool { get } @objc var identityType: MIRACLTrust.IdentityType { get } } @objc public enum VerificationMethod : Swift.Int, Swift.Sendable { diff --git a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Headers/MIRACLTrust-Swift.h b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Headers/MIRACLTrust-Swift.h index 2cd9796..d81ec77 100644 --- a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Headers/MIRACLTrust-Swift.h +++ b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Headers/MIRACLTrust-Swift.h @@ -355,8 +355,6 @@ SWIFT_PROTOCOL("_TtP11MIRACLTrust14SessionDetails_") @property (nonatomic, readonly, copy) NSString * _Nonnull identityTypeLabel; /// Whether the QuickCode is enabled for the project or not. @property (nonatomic, readonly) BOOL quickCodeEnabled; -/// Flag indicating whether registration with QuickCode is allowed for identities registered also with QuickCode. -@property (nonatomic, readonly) BOOL limitQuickCodeRegistration; /// Identity type which will be used for identity verification. @property (nonatomic, readonly) enum IdentityType identityType; @end @@ -374,7 +372,6 @@ SWIFT_CLASS("_TtC11MIRACLTrust28AuthenticationSessionDetails") @property (nonatomic, readonly, copy) NSString * _Nonnull verificationCustomText; @property (nonatomic, readonly, copy) NSString * _Nonnull identityTypeLabel; @property (nonatomic, readonly) BOOL quickCodeEnabled; -@property (nonatomic, readonly) BOOL limitQuickCodeRegistration; @property (nonatomic, readonly) enum IdentityType identityType; /// Identifier of the authentication session. @property (nonatomic, readonly, copy) NSString * _Nonnull accessId; @@ -498,8 +495,6 @@ SWIFT_CLASS("_TtC11MIRACLTrust18CrossDeviceSession") @property (nonatomic, readonly, copy) NSString * _Nonnull identityTypeLabel; /// Indicates whether QuickCode is enabled for the project or not. @property (nonatomic, readonly) BOOL quickCodeEnabled; -/// Indicates whether registration with QuickCode is allowed for identities registered also with QuickCode. -@property (nonatomic, readonly) BOOL limitQuickCodeRegistration; /// Identity type which will be used for identity verification. @property (nonatomic, readonly) enum IdentityType identityType; /// Identifier of the session. @@ -508,7 +503,7 @@ SWIFT_CLASS("_TtC11MIRACLTrust18CrossDeviceSession") @property (nonatomic, readonly, copy) NSString * _Nonnull sessionDescription; /// Hash of the transaction that needs to be signed if any. @property (nonatomic, readonly, copy) NSString * _Nonnull signingHash; -- (nonnull instancetype)initWithUserId:(NSString * _Nonnull)userId projectName:(NSString * _Nonnull)projectName projectLogoURL:(NSString * _Nonnull)projectLogoURL projectId:(NSString * _Nonnull)projectId pinLength:(NSInteger)pinLength verificationMethod:(enum VerificationMethod)verificationMethod verificationURL:(NSString * _Nonnull)verificationURL verificationCustomText:(NSString * _Nonnull)verificationCustomText identityTypeLabel:(NSString * _Nonnull)identityTypeLabel quickCodeEnabled:(BOOL)quickCodeEnabled limitQuickCodeRegistration:(BOOL)limitQuickCodeRegistration identityType:(enum IdentityType)identityType sessionId:(NSString * _Nonnull)sessionId sessionDescription:(NSString * _Nonnull)sessionDescription signingHash:(NSString * _Nonnull)signingHash OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithUserId:(NSString * _Nonnull)userId projectName:(NSString * _Nonnull)projectName projectLogoURL:(NSString * _Nonnull)projectLogoURL projectId:(NSString * _Nonnull)projectId pinLength:(NSInteger)pinLength verificationMethod:(enum VerificationMethod)verificationMethod verificationURL:(NSString * _Nonnull)verificationURL verificationCustomText:(NSString * _Nonnull)verificationCustomText identityTypeLabel:(NSString * _Nonnull)identityTypeLabel quickCodeEnabled:(BOOL)quickCodeEnabled identityType:(enum IdentityType)identityType sessionId:(NSString * _Nonnull)sessionId sessionDescription:(NSString * _Nonnull)sessionDescription signingHash:(NSString * _Nonnull)signingHash OBJC_DESIGNATED_INITIALIZER; - (nonnull instancetype)init SWIFT_UNAVAILABLE; + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end @@ -919,7 +914,6 @@ SWIFT_CLASS("_TtC11MIRACLTrust21SigningSessionDetails") @property (nonatomic, readonly, copy) NSString * _Nonnull verificationCustomText; @property (nonatomic, readonly, copy) NSString * _Nonnull identityTypeLabel; @property (nonatomic, readonly) BOOL quickCodeEnabled; -@property (nonatomic, readonly) BOOL limitQuickCodeRegistration; @property (nonatomic, readonly) enum IdentityType identityType; /// Identifier of the signing session. @property (nonatomic, readonly, copy) NSString * _Nonnull sessionId; @@ -1353,8 +1347,6 @@ SWIFT_PROTOCOL("_TtP11MIRACLTrust14SessionDetails_") @property (nonatomic, readonly, copy) NSString * _Nonnull identityTypeLabel; /// Whether the QuickCode is enabled for the project or not. @property (nonatomic, readonly) BOOL quickCodeEnabled; -/// Flag indicating whether registration with QuickCode is allowed for identities registered also with QuickCode. -@property (nonatomic, readonly) BOOL limitQuickCodeRegistration; /// Identity type which will be used for identity verification. @property (nonatomic, readonly) enum IdentityType identityType; @end @@ -1372,7 +1364,6 @@ SWIFT_CLASS("_TtC11MIRACLTrust28AuthenticationSessionDetails") @property (nonatomic, readonly, copy) NSString * _Nonnull verificationCustomText; @property (nonatomic, readonly, copy) NSString * _Nonnull identityTypeLabel; @property (nonatomic, readonly) BOOL quickCodeEnabled; -@property (nonatomic, readonly) BOOL limitQuickCodeRegistration; @property (nonatomic, readonly) enum IdentityType identityType; /// Identifier of the authentication session. @property (nonatomic, readonly, copy) NSString * _Nonnull accessId; @@ -1496,8 +1487,6 @@ SWIFT_CLASS("_TtC11MIRACLTrust18CrossDeviceSession") @property (nonatomic, readonly, copy) NSString * _Nonnull identityTypeLabel; /// Indicates whether QuickCode is enabled for the project or not. @property (nonatomic, readonly) BOOL quickCodeEnabled; -/// Indicates whether registration with QuickCode is allowed for identities registered also with QuickCode. -@property (nonatomic, readonly) BOOL limitQuickCodeRegistration; /// Identity type which will be used for identity verification. @property (nonatomic, readonly) enum IdentityType identityType; /// Identifier of the session. @@ -1506,7 +1495,7 @@ SWIFT_CLASS("_TtC11MIRACLTrust18CrossDeviceSession") @property (nonatomic, readonly, copy) NSString * _Nonnull sessionDescription; /// Hash of the transaction that needs to be signed if any. @property (nonatomic, readonly, copy) NSString * _Nonnull signingHash; -- (nonnull instancetype)initWithUserId:(NSString * _Nonnull)userId projectName:(NSString * _Nonnull)projectName projectLogoURL:(NSString * _Nonnull)projectLogoURL projectId:(NSString * _Nonnull)projectId pinLength:(NSInteger)pinLength verificationMethod:(enum VerificationMethod)verificationMethod verificationURL:(NSString * _Nonnull)verificationURL verificationCustomText:(NSString * _Nonnull)verificationCustomText identityTypeLabel:(NSString * _Nonnull)identityTypeLabel quickCodeEnabled:(BOOL)quickCodeEnabled limitQuickCodeRegistration:(BOOL)limitQuickCodeRegistration identityType:(enum IdentityType)identityType sessionId:(NSString * _Nonnull)sessionId sessionDescription:(NSString * _Nonnull)sessionDescription signingHash:(NSString * _Nonnull)signingHash OBJC_DESIGNATED_INITIALIZER; +- (nonnull instancetype)initWithUserId:(NSString * _Nonnull)userId projectName:(NSString * _Nonnull)projectName projectLogoURL:(NSString * _Nonnull)projectLogoURL projectId:(NSString * _Nonnull)projectId pinLength:(NSInteger)pinLength verificationMethod:(enum VerificationMethod)verificationMethod verificationURL:(NSString * _Nonnull)verificationURL verificationCustomText:(NSString * _Nonnull)verificationCustomText identityTypeLabel:(NSString * _Nonnull)identityTypeLabel quickCodeEnabled:(BOOL)quickCodeEnabled identityType:(enum IdentityType)identityType sessionId:(NSString * _Nonnull)sessionId sessionDescription:(NSString * _Nonnull)sessionDescription signingHash:(NSString * _Nonnull)signingHash OBJC_DESIGNATED_INITIALIZER; - (nonnull instancetype)init SWIFT_UNAVAILABLE; + (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable"); @end @@ -1917,7 +1906,6 @@ SWIFT_CLASS("_TtC11MIRACLTrust21SigningSessionDetails") @property (nonatomic, readonly, copy) NSString * _Nonnull verificationCustomText; @property (nonatomic, readonly, copy) NSString * _Nonnull identityTypeLabel; @property (nonatomic, readonly) BOOL quickCodeEnabled; -@property (nonatomic, readonly) BOOL limitQuickCodeRegistration; @property (nonatomic, readonly) enum IdentityType identityType; /// Identifier of the signing session. @property (nonatomic, readonly, copy) NSString * _Nonnull sessionId; diff --git a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Info.plist b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Info.plist index 87b10c8..e5c158f 100644 Binary files a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Info.plist and b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Info.plist differ diff --git a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/MIRACLTrust b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/MIRACLTrust index 1e7490c..90bcf1a 100755 Binary files a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/MIRACLTrust and b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/MIRACLTrust differ diff --git a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.abi.json b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.abi.json index 96a1b02..a6b9a24 100644 --- a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.abi.json +++ b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.abi.json @@ -1201,57 +1201,6 @@ } ] }, - { - "kind": "Var", - "name": "limitQuickCodeRegistration", - "printedName": "limitQuickCodeRegistration", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "c:@M@MIRACLTrust@objc(cs)CrossDeviceSession(py)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust18CrossDeviceSessionC26limitQuickCodeRegistrationSbvp", - "moduleName": "MIRACLTrust", - "declAttributes": [ - "Final", - "HasStorage", - "AccessControl", - "RawDocComment", - "ObjC" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Accessor", - "usr": "c:@M@MIRACLTrust@objc(cs)CrossDeviceSession(im)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust18CrossDeviceSessionC26limitQuickCodeRegistrationSbvg", - "moduleName": "MIRACLTrust", - "implicit": true, - "declAttributes": [ - "Final", - "ObjC" - ], - "accessorKind": "get" - } - ] - }, { "kind": "Var", "name": "identityType", @@ -1459,7 +1408,7 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(userId:projectName:projectLogoURL:projectId:pinLength:verificationMethod:verificationURL:verificationCustomText:identityTypeLabel:quickCodeEnabled:limitQuickCodeRegistration:identityType:sessionId:sessionDescription:signingHash:)", + "printedName": "init(userId:projectName:projectLogoURL:projectId:pinLength:verificationMethod:verificationURL:verificationCustomText:identityTypeLabel:quickCodeEnabled:identityType:sessionId:sessionDescription:signingHash:)", "children": [ { "kind": "TypeNominal", @@ -1527,12 +1476,6 @@ "printedName": "Swift.Bool", "usr": "s:Sb" }, - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, { "kind": "TypeNominal", "name": "IdentityType", @@ -1559,8 +1502,8 @@ } ], "declKind": "Constructor", - "usr": "c:@M@MIRACLTrust@objc(cs)CrossDeviceSession(im)initWithUserId:projectName:projectLogoURL:projectId:pinLength:verificationMethod:verificationURL:verificationCustomText:identityTypeLabel:quickCodeEnabled:limitQuickCodeRegistration:identityType:sessionId:sessionDescription:signingHash:", - "mangledName": "$s11MIRACLTrust18CrossDeviceSessionC6userId11projectName0G7LogoURL0gF09pinLength18verificationMethod0mJ00M10CustomText17identityTypeLabel16quickCodeEnabled010limitQuickU12Registration0qR007sessionF00Z11Description11signingHashACSS_S3SSiAA012VerificationN0OS3SS2bAA08IdentityR0OS3Stcfc", + "usr": "c:@M@MIRACLTrust@objc(cs)CrossDeviceSession(im)initWithUserId:projectName:projectLogoURL:projectId:pinLength:verificationMethod:verificationURL:verificationCustomText:identityTypeLabel:quickCodeEnabled:identityType:sessionId:sessionDescription:signingHash:", + "mangledName": "$s11MIRACLTrust18CrossDeviceSessionC6userId11projectName0G7LogoURL0gF09pinLength18verificationMethod0mJ00M10CustomText17identityTypeLabel16quickCodeEnabled0qR007sessionF00W11Description11signingHashACSS_S3SSiAA012VerificationN0OS3SSbAA08IdentityR0OS3Stcfc", "moduleName": "MIRACLTrust", "declAttributes": [ "AccessControl", @@ -2518,58 +2461,6 @@ } ] }, - { - "kind": "Var", - "name": "limitQuickCodeRegistration", - "printedName": "limitQuickCodeRegistration", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "c:@M@MIRACLTrust@objc(cs)AuthenticationSessionDetails(py)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust28AuthenticationSessionDetailsC26limitQuickCodeRegistrationSbvp", - "moduleName": "MIRACLTrust", - "objc_name": "limitQuickCodeRegistration", - "declAttributes": [ - "Final", - "ObjC", - "HasStorage", - "AccessControl" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Accessor", - "usr": "c:@M@MIRACLTrust@objc(cs)AuthenticationSessionDetails(im)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust28AuthenticationSessionDetailsC26limitQuickCodeRegistrationSbvg", - "moduleName": "MIRACLTrust", - "implicit": true, - "objc_name": "limitQuickCodeRegistration", - "declAttributes": [ - "Final", - "ObjC" - ], - "accessorKind": "get" - } - ] - }, { "kind": "Var", "name": "identityType", @@ -3239,46 +3130,6 @@ "RawDocComment" ] }, - { - "kind": "Var", - "name": "limitedQuickCodeGeneration", - "printedName": "limitedQuickCodeGeneration", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(MIRACLTrust.QuickCodeError.Type) -> MIRACLTrust.QuickCodeError", - "children": [ - { - "kind": "TypeNominal", - "name": "QuickCodeError", - "printedName": "MIRACLTrust.QuickCodeError", - "usr": "s:11MIRACLTrust14QuickCodeErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "MIRACLTrust.QuickCodeError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "QuickCodeError", - "printedName": "MIRACLTrust.QuickCodeError", - "usr": "s:11MIRACLTrust14QuickCodeErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:11MIRACLTrust14QuickCodeErrorO07limitedbC10GenerationyA2CmF", - "mangledName": "$s11MIRACLTrust14QuickCodeErrorO07limitedbC10GenerationyA2CmF", - "moduleName": "MIRACLTrust", - "declAttributes": [ - "RawDocComment" - ] - }, { "kind": "Var", "name": "generationFail", @@ -12353,7 +12204,7 @@ ], "declKind": "Func", "usr": "c:@M@MIRACLTrust@objc(cs)MIRACLTrust(im)_abortCrossDeviceSession:completionHandler:", - "mangledName": "$s11MIRACLTrustAAC24_abortCrossDeviceSession_17completionHandleryAA0cdE0C_ySb_s5Error_pSgtctF", + "mangledName": "$s11MIRACLTrustAAC24_abortCrossDeviceSession_17completionHandleryAA0cdE0C_ySb_s5Error_pSgtYbctF", "moduleName": "MIRACLTrust", "declAttributes": [ "AccessControl", @@ -15517,6 +15368,13 @@ "declKind": "Import", "moduleName": "MIRACLTrust" }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "MIRACLTrust" + }, { "kind": "TypeDecl", "name": "SigningSessionError", @@ -17263,58 +17121,6 @@ } ] }, - { - "kind": "Var", - "name": "limitQuickCodeRegistration", - "printedName": "limitQuickCodeRegistration", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "c:@M@MIRACLTrust@objc(cs)SigningSessionDetails(py)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust21SigningSessionDetailsC26limitQuickCodeRegistrationSbvp", - "moduleName": "MIRACLTrust", - "objc_name": "limitQuickCodeRegistration", - "declAttributes": [ - "Final", - "ObjC", - "HasStorage", - "AccessControl" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Accessor", - "usr": "c:@M@MIRACLTrust@objc(cs)SigningSessionDetails(im)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust21SigningSessionDetailsC26limitQuickCodeRegistrationSbvg", - "moduleName": "MIRACLTrust", - "implicit": true, - "objc_name": "limitQuickCodeRegistration", - "declAttributes": [ - "Final", - "ObjC" - ], - "accessorKind": "get" - } - ] - }, { "kind": "Var", "name": "identityType", @@ -19152,55 +18958,6 @@ } ] }, - { - "kind": "Var", - "name": "limitQuickCodeRegistration", - "printedName": "limitQuickCodeRegistration", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "c:@M@MIRACLTrust@objc(pl)SessionDetails(py)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust14SessionDetailsP26limitQuickCodeRegistrationSbvp", - "moduleName": "MIRACLTrust", - "protocolReq": true, - "declAttributes": [ - "RawDocComment", - "ObjC" - ], - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Accessor", - "usr": "c:@M@MIRACLTrust@objc(pl)SessionDetails(im)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust14SessionDetailsP26limitQuickCodeRegistrationSbvg", - "moduleName": "MIRACLTrust", - "genericSig": "<τ_0_0 where τ_0_0 : MIRACLTrust.SessionDetails>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "ObjC" - ], - "reqNewWitnessTableEntry": true, - "accessorKind": "get" - } - ] - }, { "kind": "Var", "name": "identityType", @@ -20716,28 +20473,21 @@ { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Cross Device Session\/CrossDeviceSessionResponse.swift", "kind": "StringLiteral", - "offset": 833, + "offset": 792, "length": 24, "value": "\"enableRegistrationCode\"" }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Cross Device Session\/CrossDeviceSessionResponse.swift", "kind": "StringLiteral", - "offset": 900, - "length": 22, - "value": "\"limitRegCodeVerified\"" - }, - { - "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Cross Device Session\/CrossDeviceSessionResponse.swift", - "kind": "StringLiteral", - "offset": 950, + "offset": 844, "length": 6, "value": "\"hash\"" }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Cross Device Session\/CrossDeviceSessionResponse.swift", "kind": "StringLiteral", - "offset": 991, + "offset": 885, "length": 13, "value": "\"description\"" }, @@ -21070,27 +20820,13 @@ "length": 5, "value": "false" }, - { - "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Authentication Session Management\/AuthenticationSessionDetailsResponse.swift", - "kind": "BooleanLiteral", - "offset": 401, - "length": 5, - "value": "false" - }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Authentication Session Management\/AuthenticationSessionDetailsResponse.swift", "kind": "StringLiteral", - "offset": 757, + "offset": 714, "length": 24, "value": "\"enableRegistrationCode\"" }, - { - "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Authentication Session Management\/AuthenticationSessionDetailsResponse.swift", - "kind": "StringLiteral", - "offset": 824, - "length": 22, - "value": "\"limitRegCodeVerified\"" - }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Logging\/LoggingConstants.swift", "kind": "StringLiteral", @@ -21434,13 +21170,6 @@ "length": 8, "value": "\"miracl\"" }, - { - "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/QuickCode\/QuickCodeGenerator.swift", - "kind": "StringLiteral", - "offset": 54, - "length": 30, - "value": "\"LIMITED_QUICKCODE_GENERATION\"" - }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/User Storage\/SQLiteMigration\/SQLiteMigration2to3.swift", "kind": "IntegerLiteral", @@ -21637,6 +21366,13 @@ "length": 9, "value": "12" }, + { + "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Helpers\/PinController.swift", + "kind": "StringLiteral", + "offset": 168, + "length": 25, + "value": "\"com.miracl.pinSyncQueue\"" + }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Authentication\/Pass1RequestBody.swift", "kind": "StringLiteral", @@ -21682,14 +21418,14 @@ { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Signing Session Management\/SigningSessionDetailsResponse.swift", "kind": "StringLiteral", - "offset": 621, + "offset": 586, "length": 6, "value": "\"hash\"" }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Signing Session Management\/SigningSessionDetailsResponse.swift", "kind": "StringLiteral", - "offset": 662, + "offset": 627, "length": 13, "value": "\"description\"" }, @@ -21787,14 +21523,14 @@ { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Session Management\/SessionDetails.swift", "kind": "IntegerLiteral", - "offset": 1643, + "offset": 1475, "length": 13, "value": "1" }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Session Management\/SessionDetails.swift", "kind": "IntegerLiteral", - "offset": 2479, + "offset": 2311, "length": 12, "value": "1" }, diff --git a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface index a54e70f..f7db936 100644 --- a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +++ b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface @@ -1,6 +1,6 @@ // swift-interface-format-version: 1.0 // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1) -// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature InferSendableFromCaptures -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2 import CommonCrypto import MIRACLTrust.Crypto @@ -49,12 +49,11 @@ extension CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: IdentityType @objc final public let sessionId: Swift.String @objc final public let sessionDescription: Swift.String @objc final public let signingHash: Swift.String - @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, limitQuickCodeRegistration: Swift.Bool, identityType: IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) + @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, identityType: IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) @objc deinit } @objc public enum EmailVerificationMethod : Swift.Int, Swift.Sendable { @@ -80,7 +79,6 @@ extension CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: IdentityType @objc final public let accessId: Swift.String @objc deinit @@ -100,7 +98,6 @@ public enum QuickCodeError : Swift.Error { case unsuccessfulAuthentication case pinCancelled case invalidPin - case limitedQuickCodeGeneration case generationFail((any Swift.Error)?) } extension QuickCodeError : Swift.Equatable { @@ -389,7 +386,7 @@ extension AuthenticationError : Foundation.CustomNSError { @objc public func _getCrossDeviceSessionFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping CrossDeviceSessionCompletionHandler) @objc public func _getCrossDeviceSessionFromPushNotificationPayload(pushNotificationPayload: [Swift.AnyHashable : Any], completionHandler: @escaping CrossDeviceSessionCompletionHandler) #if compiler(>=5.3) && $NonescapableTypes - @objc public func _abortCrossDeviceSession(_ crossDeviceSession: CrossDeviceSession, completionHandler: @escaping (Swift.Bool, (any Swift.Error)?) -> Swift.Void) + @objc public func _abortCrossDeviceSession(_ crossDeviceSession: CrossDeviceSession, completionHandler: @escaping @Sendable (Swift.Bool, (any Swift.Error)?) -> Swift.Void) #endif @objc(getAuthenticationSessionDetailsFromQRCode:completionHandler:) public func getAuthenticationSessionDetailsFromQRCode(qrCode: Swift.String, completionHandler: @escaping AuthenticationSessionDetailsCompletionHandler) @objc(getAuthenticationSessionDetailsFromUniversalLinkURL:completionHandler:) public func getAuthenticationSessionDetailsFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping AuthenticationSessionDetailsCompletionHandler) @@ -550,7 +547,6 @@ extension APIError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: IdentityType @objc final public let sessionId: Swift.String @objc final public let signingHash: Swift.String @@ -609,7 +605,6 @@ extension VerificationError : Foundation.CustomNSError { @objc var verificationCustomText: Swift.String { get } @objc var identityTypeLabel: Swift.String { get } @objc var quickCodeEnabled: Swift.Bool { get } - @objc var limitQuickCodeRegistration: Swift.Bool { get } @objc var identityType: IdentityType { get } } @objc public enum VerificationMethod : Swift.Int, Swift.Sendable { diff --git a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface-e b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface-e index b044a26..d781811 100644 --- a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface-e +++ b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface-e @@ -1,6 +1,6 @@ // swift-interface-format-version: 1.0 // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1) -// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature InferSendableFromCaptures -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2 import CommonCrypto import MIRACLTrust.Crypto @@ -49,12 +49,11 @@ extension MIRACLTrust.CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: MIRACLTrust.IdentityType @objc final public let sessionId: Swift.String @objc final public let sessionDescription: Swift.String @objc final public let signingHash: Swift.String - @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: MIRACLTrust.VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, limitQuickCodeRegistration: Swift.Bool, identityType: MIRACLTrust.IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) + @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: MIRACLTrust.VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, identityType: MIRACLTrust.IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) @objc deinit } @objc public enum EmailVerificationMethod : Swift.Int, Swift.Sendable { @@ -80,7 +79,6 @@ extension MIRACLTrust.CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: MIRACLTrust.IdentityType @objc final public let accessId: Swift.String @objc deinit @@ -100,7 +98,6 @@ public enum QuickCodeError : Swift.Error { case unsuccessfulAuthentication case pinCancelled case invalidPin - case limitedQuickCodeGeneration case generationFail((any Swift.Error)?) } extension MIRACLTrust.QuickCodeError : Swift.Equatable { @@ -389,7 +386,7 @@ extension MIRACLTrust.AuthenticationError : Foundation.CustomNSError { @objc public func _getCrossDeviceSessionFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping MIRACLTrust.CrossDeviceSessionCompletionHandler) @objc public func _getCrossDeviceSessionFromPushNotificationPayload(pushNotificationPayload: [Swift.AnyHashable : Any], completionHandler: @escaping MIRACLTrust.CrossDeviceSessionCompletionHandler) #if compiler(>=5.3) && $NonescapableTypes - @objc public func _abortCrossDeviceSession(_ crossDeviceSession: MIRACLTrust.CrossDeviceSession, completionHandler: @escaping (Swift.Bool, (any Swift.Error)?) -> Swift.Void) + @objc public func _abortCrossDeviceSession(_ crossDeviceSession: MIRACLTrust.CrossDeviceSession, completionHandler: @escaping @Sendable (Swift.Bool, (any Swift.Error)?) -> Swift.Void) #endif @objc(getAuthenticationSessionDetailsFromQRCode:completionHandler:) public func getAuthenticationSessionDetailsFromQRCode(qrCode: Swift.String, completionHandler: @escaping MIRACLTrust.AuthenticationSessionDetailsCompletionHandler) @objc(getAuthenticationSessionDetailsFromUniversalLinkURL:completionHandler:) public func getAuthenticationSessionDetailsFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping MIRACLTrust.AuthenticationSessionDetailsCompletionHandler) @@ -550,7 +547,6 @@ extension MIRACLTrust.APIError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: MIRACLTrust.IdentityType @objc final public let sessionId: Swift.String @objc final public let signingHash: Swift.String @@ -609,7 +605,6 @@ extension MIRACLTrust.VerificationError : Foundation.CustomNSError { @objc var verificationCustomText: Swift.String { get } @objc var identityTypeLabel: Swift.String { get } @objc var quickCodeEnabled: Swift.Bool { get } - @objc var limitQuickCodeRegistration: Swift.Bool { get } @objc var identityType: MIRACLTrust.IdentityType { get } } @objc public enum VerificationMethod : Swift.Int, Swift.Sendable { diff --git a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.swiftdoc index be6d088..d304c80 100644 Binary files a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.swiftdoc and b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.swiftinterface index a54e70f..f7db936 100644 --- a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.swiftinterface +++ b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -1,6 +1,6 @@ // swift-interface-format-version: 1.0 // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1) -// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature InferSendableFromCaptures -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2 import CommonCrypto import MIRACLTrust.Crypto @@ -49,12 +49,11 @@ extension CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: IdentityType @objc final public let sessionId: Swift.String @objc final public let sessionDescription: Swift.String @objc final public let signingHash: Swift.String - @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, limitQuickCodeRegistration: Swift.Bool, identityType: IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) + @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, identityType: IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) @objc deinit } @objc public enum EmailVerificationMethod : Swift.Int, Swift.Sendable { @@ -80,7 +79,6 @@ extension CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: IdentityType @objc final public let accessId: Swift.String @objc deinit @@ -100,7 +98,6 @@ public enum QuickCodeError : Swift.Error { case unsuccessfulAuthentication case pinCancelled case invalidPin - case limitedQuickCodeGeneration case generationFail((any Swift.Error)?) } extension QuickCodeError : Swift.Equatable { @@ -389,7 +386,7 @@ extension AuthenticationError : Foundation.CustomNSError { @objc public func _getCrossDeviceSessionFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping CrossDeviceSessionCompletionHandler) @objc public func _getCrossDeviceSessionFromPushNotificationPayload(pushNotificationPayload: [Swift.AnyHashable : Any], completionHandler: @escaping CrossDeviceSessionCompletionHandler) #if compiler(>=5.3) && $NonescapableTypes - @objc public func _abortCrossDeviceSession(_ crossDeviceSession: CrossDeviceSession, completionHandler: @escaping (Swift.Bool, (any Swift.Error)?) -> Swift.Void) + @objc public func _abortCrossDeviceSession(_ crossDeviceSession: CrossDeviceSession, completionHandler: @escaping @Sendable (Swift.Bool, (any Swift.Error)?) -> Swift.Void) #endif @objc(getAuthenticationSessionDetailsFromQRCode:completionHandler:) public func getAuthenticationSessionDetailsFromQRCode(qrCode: Swift.String, completionHandler: @escaping AuthenticationSessionDetailsCompletionHandler) @objc(getAuthenticationSessionDetailsFromUniversalLinkURL:completionHandler:) public func getAuthenticationSessionDetailsFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping AuthenticationSessionDetailsCompletionHandler) @@ -550,7 +547,6 @@ extension APIError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: IdentityType @objc final public let sessionId: Swift.String @objc final public let signingHash: Swift.String @@ -609,7 +605,6 @@ extension VerificationError : Foundation.CustomNSError { @objc var verificationCustomText: Swift.String { get } @objc var identityTypeLabel: Swift.String { get } @objc var quickCodeEnabled: Swift.Bool { get } - @objc var limitQuickCodeRegistration: Swift.Bool { get } @objc var identityType: IdentityType { get } } @objc public enum VerificationMethod : Swift.Int, Swift.Sendable { diff --git a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.swiftinterface-e b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.swiftinterface-e index b044a26..d781811 100644 --- a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.swiftinterface-e +++ b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.swiftinterface-e @@ -1,6 +1,6 @@ // swift-interface-format-version: 1.0 // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1) -// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust +// swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature InferSendableFromCaptures -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2 import CommonCrypto import MIRACLTrust.Crypto @@ -49,12 +49,11 @@ extension MIRACLTrust.CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: MIRACLTrust.IdentityType @objc final public let sessionId: Swift.String @objc final public let sessionDescription: Swift.String @objc final public let signingHash: Swift.String - @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: MIRACLTrust.VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, limitQuickCodeRegistration: Swift.Bool, identityType: MIRACLTrust.IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) + @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: MIRACLTrust.VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, identityType: MIRACLTrust.IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) @objc deinit } @objc public enum EmailVerificationMethod : Swift.Int, Swift.Sendable { @@ -80,7 +79,6 @@ extension MIRACLTrust.CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: MIRACLTrust.IdentityType @objc final public let accessId: Swift.String @objc deinit @@ -100,7 +98,6 @@ public enum QuickCodeError : Swift.Error { case unsuccessfulAuthentication case pinCancelled case invalidPin - case limitedQuickCodeGeneration case generationFail((any Swift.Error)?) } extension MIRACLTrust.QuickCodeError : Swift.Equatable { @@ -389,7 +386,7 @@ extension MIRACLTrust.AuthenticationError : Foundation.CustomNSError { @objc public func _getCrossDeviceSessionFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping MIRACLTrust.CrossDeviceSessionCompletionHandler) @objc public func _getCrossDeviceSessionFromPushNotificationPayload(pushNotificationPayload: [Swift.AnyHashable : Any], completionHandler: @escaping MIRACLTrust.CrossDeviceSessionCompletionHandler) #if compiler(>=5.3) && $NonescapableTypes - @objc public func _abortCrossDeviceSession(_ crossDeviceSession: MIRACLTrust.CrossDeviceSession, completionHandler: @escaping (Swift.Bool, (any Swift.Error)?) -> Swift.Void) + @objc public func _abortCrossDeviceSession(_ crossDeviceSession: MIRACLTrust.CrossDeviceSession, completionHandler: @escaping @Sendable (Swift.Bool, (any Swift.Error)?) -> Swift.Void) #endif @objc(getAuthenticationSessionDetailsFromQRCode:completionHandler:) public func getAuthenticationSessionDetailsFromQRCode(qrCode: Swift.String, completionHandler: @escaping MIRACLTrust.AuthenticationSessionDetailsCompletionHandler) @objc(getAuthenticationSessionDetailsFromUniversalLinkURL:completionHandler:) public func getAuthenticationSessionDetailsFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping MIRACLTrust.AuthenticationSessionDetailsCompletionHandler) @@ -550,7 +547,6 @@ extension MIRACLTrust.APIError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: MIRACLTrust.IdentityType @objc final public let sessionId: Swift.String @objc final public let signingHash: Swift.String @@ -609,7 +605,6 @@ extension MIRACLTrust.VerificationError : Foundation.CustomNSError { @objc var verificationCustomText: Swift.String { get } @objc var identityTypeLabel: Swift.String { get } @objc var quickCodeEnabled: Swift.Bool { get } - @objc var limitQuickCodeRegistration: Swift.Bool { get } @objc var identityType: MIRACLTrust.IdentityType { get } } @objc public enum VerificationMethod : Swift.Int, Swift.Sendable { diff --git a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.abi.json b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.abi.json index 96a1b02..a6b9a24 100644 --- a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.abi.json +++ b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.abi.json @@ -1201,57 +1201,6 @@ } ] }, - { - "kind": "Var", - "name": "limitQuickCodeRegistration", - "printedName": "limitQuickCodeRegistration", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "c:@M@MIRACLTrust@objc(cs)CrossDeviceSession(py)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust18CrossDeviceSessionC26limitQuickCodeRegistrationSbvp", - "moduleName": "MIRACLTrust", - "declAttributes": [ - "Final", - "HasStorage", - "AccessControl", - "RawDocComment", - "ObjC" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Accessor", - "usr": "c:@M@MIRACLTrust@objc(cs)CrossDeviceSession(im)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust18CrossDeviceSessionC26limitQuickCodeRegistrationSbvg", - "moduleName": "MIRACLTrust", - "implicit": true, - "declAttributes": [ - "Final", - "ObjC" - ], - "accessorKind": "get" - } - ] - }, { "kind": "Var", "name": "identityType", @@ -1459,7 +1408,7 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(userId:projectName:projectLogoURL:projectId:pinLength:verificationMethod:verificationURL:verificationCustomText:identityTypeLabel:quickCodeEnabled:limitQuickCodeRegistration:identityType:sessionId:sessionDescription:signingHash:)", + "printedName": "init(userId:projectName:projectLogoURL:projectId:pinLength:verificationMethod:verificationURL:verificationCustomText:identityTypeLabel:quickCodeEnabled:identityType:sessionId:sessionDescription:signingHash:)", "children": [ { "kind": "TypeNominal", @@ -1527,12 +1476,6 @@ "printedName": "Swift.Bool", "usr": "s:Sb" }, - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, { "kind": "TypeNominal", "name": "IdentityType", @@ -1559,8 +1502,8 @@ } ], "declKind": "Constructor", - "usr": "c:@M@MIRACLTrust@objc(cs)CrossDeviceSession(im)initWithUserId:projectName:projectLogoURL:projectId:pinLength:verificationMethod:verificationURL:verificationCustomText:identityTypeLabel:quickCodeEnabled:limitQuickCodeRegistration:identityType:sessionId:sessionDescription:signingHash:", - "mangledName": "$s11MIRACLTrust18CrossDeviceSessionC6userId11projectName0G7LogoURL0gF09pinLength18verificationMethod0mJ00M10CustomText17identityTypeLabel16quickCodeEnabled010limitQuickU12Registration0qR007sessionF00Z11Description11signingHashACSS_S3SSiAA012VerificationN0OS3SS2bAA08IdentityR0OS3Stcfc", + "usr": "c:@M@MIRACLTrust@objc(cs)CrossDeviceSession(im)initWithUserId:projectName:projectLogoURL:projectId:pinLength:verificationMethod:verificationURL:verificationCustomText:identityTypeLabel:quickCodeEnabled:identityType:sessionId:sessionDescription:signingHash:", + "mangledName": "$s11MIRACLTrust18CrossDeviceSessionC6userId11projectName0G7LogoURL0gF09pinLength18verificationMethod0mJ00M10CustomText17identityTypeLabel16quickCodeEnabled0qR007sessionF00W11Description11signingHashACSS_S3SSiAA012VerificationN0OS3SSbAA08IdentityR0OS3Stcfc", "moduleName": "MIRACLTrust", "declAttributes": [ "AccessControl", @@ -2518,58 +2461,6 @@ } ] }, - { - "kind": "Var", - "name": "limitQuickCodeRegistration", - "printedName": "limitQuickCodeRegistration", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "c:@M@MIRACLTrust@objc(cs)AuthenticationSessionDetails(py)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust28AuthenticationSessionDetailsC26limitQuickCodeRegistrationSbvp", - "moduleName": "MIRACLTrust", - "objc_name": "limitQuickCodeRegistration", - "declAttributes": [ - "Final", - "ObjC", - "HasStorage", - "AccessControl" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Accessor", - "usr": "c:@M@MIRACLTrust@objc(cs)AuthenticationSessionDetails(im)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust28AuthenticationSessionDetailsC26limitQuickCodeRegistrationSbvg", - "moduleName": "MIRACLTrust", - "implicit": true, - "objc_name": "limitQuickCodeRegistration", - "declAttributes": [ - "Final", - "ObjC" - ], - "accessorKind": "get" - } - ] - }, { "kind": "Var", "name": "identityType", @@ -3239,46 +3130,6 @@ "RawDocComment" ] }, - { - "kind": "Var", - "name": "limitedQuickCodeGeneration", - "printedName": "limitedQuickCodeGeneration", - "children": [ - { - "kind": "TypeFunc", - "name": "Function", - "printedName": "(MIRACLTrust.QuickCodeError.Type) -> MIRACLTrust.QuickCodeError", - "children": [ - { - "kind": "TypeNominal", - "name": "QuickCodeError", - "printedName": "MIRACLTrust.QuickCodeError", - "usr": "s:11MIRACLTrust14QuickCodeErrorO" - }, - { - "kind": "TypeNominal", - "name": "Metatype", - "printedName": "MIRACLTrust.QuickCodeError.Type", - "children": [ - { - "kind": "TypeNominal", - "name": "QuickCodeError", - "printedName": "MIRACLTrust.QuickCodeError", - "usr": "s:11MIRACLTrust14QuickCodeErrorO" - } - ] - } - ] - } - ], - "declKind": "EnumElement", - "usr": "s:11MIRACLTrust14QuickCodeErrorO07limitedbC10GenerationyA2CmF", - "mangledName": "$s11MIRACLTrust14QuickCodeErrorO07limitedbC10GenerationyA2CmF", - "moduleName": "MIRACLTrust", - "declAttributes": [ - "RawDocComment" - ] - }, { "kind": "Var", "name": "generationFail", @@ -12353,7 +12204,7 @@ ], "declKind": "Func", "usr": "c:@M@MIRACLTrust@objc(cs)MIRACLTrust(im)_abortCrossDeviceSession:completionHandler:", - "mangledName": "$s11MIRACLTrustAAC24_abortCrossDeviceSession_17completionHandleryAA0cdE0C_ySb_s5Error_pSgtctF", + "mangledName": "$s11MIRACLTrustAAC24_abortCrossDeviceSession_17completionHandleryAA0cdE0C_ySb_s5Error_pSgtYbctF", "moduleName": "MIRACLTrust", "declAttributes": [ "AccessControl", @@ -15517,6 +15368,13 @@ "declKind": "Import", "moduleName": "MIRACLTrust" }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "MIRACLTrust" + }, { "kind": "TypeDecl", "name": "SigningSessionError", @@ -17263,58 +17121,6 @@ } ] }, - { - "kind": "Var", - "name": "limitQuickCodeRegistration", - "printedName": "limitQuickCodeRegistration", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "c:@M@MIRACLTrust@objc(cs)SigningSessionDetails(py)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust21SigningSessionDetailsC26limitQuickCodeRegistrationSbvp", - "moduleName": "MIRACLTrust", - "objc_name": "limitQuickCodeRegistration", - "declAttributes": [ - "Final", - "ObjC", - "HasStorage", - "AccessControl" - ], - "isLet": true, - "hasStorage": true, - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Accessor", - "usr": "c:@M@MIRACLTrust@objc(cs)SigningSessionDetails(im)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust21SigningSessionDetailsC26limitQuickCodeRegistrationSbvg", - "moduleName": "MIRACLTrust", - "implicit": true, - "objc_name": "limitQuickCodeRegistration", - "declAttributes": [ - "Final", - "ObjC" - ], - "accessorKind": "get" - } - ] - }, { "kind": "Var", "name": "identityType", @@ -19152,55 +18958,6 @@ } ] }, - { - "kind": "Var", - "name": "limitQuickCodeRegistration", - "printedName": "limitQuickCodeRegistration", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Var", - "usr": "c:@M@MIRACLTrust@objc(pl)SessionDetails(py)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust14SessionDetailsP26limitQuickCodeRegistrationSbvp", - "moduleName": "MIRACLTrust", - "protocolReq": true, - "declAttributes": [ - "RawDocComment", - "ObjC" - ], - "accessors": [ - { - "kind": "Accessor", - "name": "Get", - "printedName": "Get()", - "children": [ - { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - } - ], - "declKind": "Accessor", - "usr": "c:@M@MIRACLTrust@objc(pl)SessionDetails(im)limitQuickCodeRegistration", - "mangledName": "$s11MIRACLTrust14SessionDetailsP26limitQuickCodeRegistrationSbvg", - "moduleName": "MIRACLTrust", - "genericSig": "<τ_0_0 where τ_0_0 : MIRACLTrust.SessionDetails>", - "sugared_genericSig": "", - "protocolReq": true, - "declAttributes": [ - "ObjC" - ], - "reqNewWitnessTableEntry": true, - "accessorKind": "get" - } - ] - }, { "kind": "Var", "name": "identityType", @@ -20716,28 +20473,21 @@ { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Cross Device Session\/CrossDeviceSessionResponse.swift", "kind": "StringLiteral", - "offset": 833, + "offset": 792, "length": 24, "value": "\"enableRegistrationCode\"" }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Cross Device Session\/CrossDeviceSessionResponse.swift", "kind": "StringLiteral", - "offset": 900, - "length": 22, - "value": "\"limitRegCodeVerified\"" - }, - { - "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Cross Device Session\/CrossDeviceSessionResponse.swift", - "kind": "StringLiteral", - "offset": 950, + "offset": 844, "length": 6, "value": "\"hash\"" }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Cross Device Session\/CrossDeviceSessionResponse.swift", "kind": "StringLiteral", - "offset": 991, + "offset": 885, "length": 13, "value": "\"description\"" }, @@ -21070,27 +20820,13 @@ "length": 5, "value": "false" }, - { - "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Authentication Session Management\/AuthenticationSessionDetailsResponse.swift", - "kind": "BooleanLiteral", - "offset": 401, - "length": 5, - "value": "false" - }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Authentication Session Management\/AuthenticationSessionDetailsResponse.swift", "kind": "StringLiteral", - "offset": 757, + "offset": 714, "length": 24, "value": "\"enableRegistrationCode\"" }, - { - "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Authentication Session Management\/AuthenticationSessionDetailsResponse.swift", - "kind": "StringLiteral", - "offset": 824, - "length": 22, - "value": "\"limitRegCodeVerified\"" - }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Logging\/LoggingConstants.swift", "kind": "StringLiteral", @@ -21434,13 +21170,6 @@ "length": 8, "value": "\"miracl\"" }, - { - "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/QuickCode\/QuickCodeGenerator.swift", - "kind": "StringLiteral", - "offset": 54, - "length": 30, - "value": "\"LIMITED_QUICKCODE_GENERATION\"" - }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/User Storage\/SQLiteMigration\/SQLiteMigration2to3.swift", "kind": "IntegerLiteral", @@ -21637,6 +21366,13 @@ "length": 9, "value": "12" }, + { + "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Helpers\/PinController.swift", + "kind": "StringLiteral", + "offset": 168, + "length": 25, + "value": "\"com.miracl.pinSyncQueue\"" + }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Authentication\/Pass1RequestBody.swift", "kind": "StringLiteral", @@ -21682,14 +21418,14 @@ { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Signing Session Management\/SigningSessionDetailsResponse.swift", "kind": "StringLiteral", - "offset": 621, + "offset": 586, "length": 6, "value": "\"hash\"" }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Signing Session Management\/SigningSessionDetailsResponse.swift", "kind": "StringLiteral", - "offset": 662, + "offset": 627, "length": 13, "value": "\"description\"" }, @@ -21787,14 +21523,14 @@ { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Session Management\/SessionDetails.swift", "kind": "IntegerLiteral", - "offset": 1643, + "offset": 1475, "length": 13, "value": "1" }, { "filePath": "\/Users\/radoslavpenev\/Development\/trust-sdk-ios\/MIRACLTrust\/MIRACLTrust-Sources\/Session Management\/SessionDetails.swift", "kind": "IntegerLiteral", - "offset": 2479, + "offset": 2311, "length": 12, "value": "1" }, diff --git a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface index 65f0522..ff06c2d 100644 --- a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +++ b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface @@ -1,6 +1,6 @@ // swift-interface-format-version: 1.0 // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1) -// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature InferSendableFromCaptures -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2 import CommonCrypto import MIRACLTrust.Crypto @@ -49,12 +49,11 @@ extension CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: IdentityType @objc final public let sessionId: Swift.String @objc final public let sessionDescription: Swift.String @objc final public let signingHash: Swift.String - @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, limitQuickCodeRegistration: Swift.Bool, identityType: IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) + @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, identityType: IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) @objc deinit } @objc public enum EmailVerificationMethod : Swift.Int, Swift.Sendable { @@ -80,7 +79,6 @@ extension CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: IdentityType @objc final public let accessId: Swift.String @objc deinit @@ -100,7 +98,6 @@ public enum QuickCodeError : Swift.Error { case unsuccessfulAuthentication case pinCancelled case invalidPin - case limitedQuickCodeGeneration case generationFail((any Swift.Error)?) } extension QuickCodeError : Swift.Equatable { @@ -389,7 +386,7 @@ extension AuthenticationError : Foundation.CustomNSError { @objc public func _getCrossDeviceSessionFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping CrossDeviceSessionCompletionHandler) @objc public func _getCrossDeviceSessionFromPushNotificationPayload(pushNotificationPayload: [Swift.AnyHashable : Any], completionHandler: @escaping CrossDeviceSessionCompletionHandler) #if compiler(>=5.3) && $NonescapableTypes - @objc public func _abortCrossDeviceSession(_ crossDeviceSession: CrossDeviceSession, completionHandler: @escaping (Swift.Bool, (any Swift.Error)?) -> Swift.Void) + @objc public func _abortCrossDeviceSession(_ crossDeviceSession: CrossDeviceSession, completionHandler: @escaping @Sendable (Swift.Bool, (any Swift.Error)?) -> Swift.Void) #endif @objc(getAuthenticationSessionDetailsFromQRCode:completionHandler:) public func getAuthenticationSessionDetailsFromQRCode(qrCode: Swift.String, completionHandler: @escaping AuthenticationSessionDetailsCompletionHandler) @objc(getAuthenticationSessionDetailsFromUniversalLinkURL:completionHandler:) public func getAuthenticationSessionDetailsFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping AuthenticationSessionDetailsCompletionHandler) @@ -550,7 +547,6 @@ extension APIError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: IdentityType @objc final public let sessionId: Swift.String @objc final public let signingHash: Swift.String @@ -609,7 +605,6 @@ extension VerificationError : Foundation.CustomNSError { @objc var verificationCustomText: Swift.String { get } @objc var identityTypeLabel: Swift.String { get } @objc var quickCodeEnabled: Swift.Bool { get } - @objc var limitQuickCodeRegistration: Swift.Bool { get } @objc var identityType: IdentityType { get } } @objc public enum VerificationMethod : Swift.Int, Swift.Sendable { diff --git a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface-e b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface-e index 242c012..2c9cb10 100644 --- a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface-e +++ b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface-e @@ -1,6 +1,6 @@ // swift-interface-format-version: 1.0 // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1) -// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature InferSendableFromCaptures -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2 import CommonCrypto import MIRACLTrust.Crypto @@ -49,12 +49,11 @@ extension MIRACLTrust.CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: MIRACLTrust.IdentityType @objc final public let sessionId: Swift.String @objc final public let sessionDescription: Swift.String @objc final public let signingHash: Swift.String - @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: MIRACLTrust.VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, limitQuickCodeRegistration: Swift.Bool, identityType: MIRACLTrust.IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) + @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: MIRACLTrust.VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, identityType: MIRACLTrust.IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) @objc deinit } @objc public enum EmailVerificationMethod : Swift.Int, Swift.Sendable { @@ -80,7 +79,6 @@ extension MIRACLTrust.CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: MIRACLTrust.IdentityType @objc final public let accessId: Swift.String @objc deinit @@ -100,7 +98,6 @@ public enum QuickCodeError : Swift.Error { case unsuccessfulAuthentication case pinCancelled case invalidPin - case limitedQuickCodeGeneration case generationFail((any Swift.Error)?) } extension MIRACLTrust.QuickCodeError : Swift.Equatable { @@ -389,7 +386,7 @@ extension MIRACLTrust.AuthenticationError : Foundation.CustomNSError { @objc public func _getCrossDeviceSessionFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping MIRACLTrust.CrossDeviceSessionCompletionHandler) @objc public func _getCrossDeviceSessionFromPushNotificationPayload(pushNotificationPayload: [Swift.AnyHashable : Any], completionHandler: @escaping MIRACLTrust.CrossDeviceSessionCompletionHandler) #if compiler(>=5.3) && $NonescapableTypes - @objc public func _abortCrossDeviceSession(_ crossDeviceSession: MIRACLTrust.CrossDeviceSession, completionHandler: @escaping (Swift.Bool, (any Swift.Error)?) -> Swift.Void) + @objc public func _abortCrossDeviceSession(_ crossDeviceSession: MIRACLTrust.CrossDeviceSession, completionHandler: @escaping @Sendable (Swift.Bool, (any Swift.Error)?) -> Swift.Void) #endif @objc(getAuthenticationSessionDetailsFromQRCode:completionHandler:) public func getAuthenticationSessionDetailsFromQRCode(qrCode: Swift.String, completionHandler: @escaping MIRACLTrust.AuthenticationSessionDetailsCompletionHandler) @objc(getAuthenticationSessionDetailsFromUniversalLinkURL:completionHandler:) public func getAuthenticationSessionDetailsFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping MIRACLTrust.AuthenticationSessionDetailsCompletionHandler) @@ -550,7 +547,6 @@ extension MIRACLTrust.APIError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: MIRACLTrust.IdentityType @objc final public let sessionId: Swift.String @objc final public let signingHash: Swift.String @@ -609,7 +605,6 @@ extension MIRACLTrust.VerificationError : Foundation.CustomNSError { @objc var verificationCustomText: Swift.String { get } @objc var identityTypeLabel: Swift.String { get } @objc var quickCodeEnabled: Swift.Bool { get } - @objc var limitQuickCodeRegistration: Swift.Bool { get } @objc var identityType: MIRACLTrust.IdentityType { get } } @objc public enum VerificationMethod : Swift.Int, Swift.Sendable { diff --git a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.swiftdoc index 660bfbb..267eb7b 100644 Binary files a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index 65f0522..ff06c2d 100644 --- a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -1,6 +1,6 @@ // swift-interface-format-version: 1.0 // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1) -// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature InferSendableFromCaptures -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2 import CommonCrypto import MIRACLTrust.Crypto @@ -49,12 +49,11 @@ extension CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: IdentityType @objc final public let sessionId: Swift.String @objc final public let sessionDescription: Swift.String @objc final public let signingHash: Swift.String - @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, limitQuickCodeRegistration: Swift.Bool, identityType: IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) + @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, identityType: IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) @objc deinit } @objc public enum EmailVerificationMethod : Swift.Int, Swift.Sendable { @@ -80,7 +79,6 @@ extension CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: IdentityType @objc final public let accessId: Swift.String @objc deinit @@ -100,7 +98,6 @@ public enum QuickCodeError : Swift.Error { case unsuccessfulAuthentication case pinCancelled case invalidPin - case limitedQuickCodeGeneration case generationFail((any Swift.Error)?) } extension QuickCodeError : Swift.Equatable { @@ -389,7 +386,7 @@ extension AuthenticationError : Foundation.CustomNSError { @objc public func _getCrossDeviceSessionFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping CrossDeviceSessionCompletionHandler) @objc public func _getCrossDeviceSessionFromPushNotificationPayload(pushNotificationPayload: [Swift.AnyHashable : Any], completionHandler: @escaping CrossDeviceSessionCompletionHandler) #if compiler(>=5.3) && $NonescapableTypes - @objc public func _abortCrossDeviceSession(_ crossDeviceSession: CrossDeviceSession, completionHandler: @escaping (Swift.Bool, (any Swift.Error)?) -> Swift.Void) + @objc public func _abortCrossDeviceSession(_ crossDeviceSession: CrossDeviceSession, completionHandler: @escaping @Sendable (Swift.Bool, (any Swift.Error)?) -> Swift.Void) #endif @objc(getAuthenticationSessionDetailsFromQRCode:completionHandler:) public func getAuthenticationSessionDetailsFromQRCode(qrCode: Swift.String, completionHandler: @escaping AuthenticationSessionDetailsCompletionHandler) @objc(getAuthenticationSessionDetailsFromUniversalLinkURL:completionHandler:) public func getAuthenticationSessionDetailsFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping AuthenticationSessionDetailsCompletionHandler) @@ -550,7 +547,6 @@ extension APIError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: IdentityType @objc final public let sessionId: Swift.String @objc final public let signingHash: Swift.String @@ -609,7 +605,6 @@ extension VerificationError : Foundation.CustomNSError { @objc var verificationCustomText: Swift.String { get } @objc var identityTypeLabel: Swift.String { get } @objc var quickCodeEnabled: Swift.Bool { get } - @objc var limitQuickCodeRegistration: Swift.Bool { get } @objc var identityType: IdentityType { get } } @objc public enum VerificationMethod : Swift.Int, Swift.Sendable { diff --git a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.swiftinterface-e b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.swiftinterface-e index 242c012..2c9cb10 100644 --- a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.swiftinterface-e +++ b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.swiftinterface-e @@ -1,6 +1,6 @@ // swift-interface-format-version: 1.0 // swift-compiler-version: Apple Swift version 6.2 effective-5.10 (swiftlang-6.2.0.19.9 clang-1700.3.19.1) -// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust +// swift-module-flags: -target x86_64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature InferSendableFromCaptures -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferIsolatedConformances -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name MIRACLTrust // swift-module-flags-ignorable: -no-verify-emitted-module-interface -formal-cxx-interoperability-mode=off -interface-compiler-version 6.2 import CommonCrypto import MIRACLTrust.Crypto @@ -49,12 +49,11 @@ extension MIRACLTrust.CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: MIRACLTrust.IdentityType @objc final public let sessionId: Swift.String @objc final public let sessionDescription: Swift.String @objc final public let signingHash: Swift.String - @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: MIRACLTrust.VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, limitQuickCodeRegistration: Swift.Bool, identityType: MIRACLTrust.IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) + @objc public init(userId: Swift.String, projectName: Swift.String, projectLogoURL: Swift.String, projectId: Swift.String, pinLength: Swift.Int, verificationMethod: MIRACLTrust.VerificationMethod, verificationURL: Swift.String, verificationCustomText: Swift.String, identityTypeLabel: Swift.String, quickCodeEnabled: Swift.Bool, identityType: MIRACLTrust.IdentityType, sessionId: Swift.String, sessionDescription: Swift.String, signingHash: Swift.String) @objc deinit } @objc public enum EmailVerificationMethod : Swift.Int, Swift.Sendable { @@ -80,7 +79,6 @@ extension MIRACLTrust.CryptoError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: MIRACLTrust.IdentityType @objc final public let accessId: Swift.String @objc deinit @@ -100,7 +98,6 @@ public enum QuickCodeError : Swift.Error { case unsuccessfulAuthentication case pinCancelled case invalidPin - case limitedQuickCodeGeneration case generationFail((any Swift.Error)?) } extension MIRACLTrust.QuickCodeError : Swift.Equatable { @@ -389,7 +386,7 @@ extension MIRACLTrust.AuthenticationError : Foundation.CustomNSError { @objc public func _getCrossDeviceSessionFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping MIRACLTrust.CrossDeviceSessionCompletionHandler) @objc public func _getCrossDeviceSessionFromPushNotificationPayload(pushNotificationPayload: [Swift.AnyHashable : Any], completionHandler: @escaping MIRACLTrust.CrossDeviceSessionCompletionHandler) #if compiler(>=5.3) && $NonescapableTypes - @objc public func _abortCrossDeviceSession(_ crossDeviceSession: MIRACLTrust.CrossDeviceSession, completionHandler: @escaping (Swift.Bool, (any Swift.Error)?) -> Swift.Void) + @objc public func _abortCrossDeviceSession(_ crossDeviceSession: MIRACLTrust.CrossDeviceSession, completionHandler: @escaping @Sendable (Swift.Bool, (any Swift.Error)?) -> Swift.Void) #endif @objc(getAuthenticationSessionDetailsFromQRCode:completionHandler:) public func getAuthenticationSessionDetailsFromQRCode(qrCode: Swift.String, completionHandler: @escaping MIRACLTrust.AuthenticationSessionDetailsCompletionHandler) @objc(getAuthenticationSessionDetailsFromUniversalLinkURL:completionHandler:) public func getAuthenticationSessionDetailsFromUniversalLinkURL(universalLinkURL: Foundation.URL, completionHandler: @escaping MIRACLTrust.AuthenticationSessionDetailsCompletionHandler) @@ -550,7 +547,6 @@ extension MIRACLTrust.APIError : Foundation.CustomNSError { @objc final public let verificationCustomText: Swift.String @objc final public let identityTypeLabel: Swift.String @objc final public let quickCodeEnabled: Swift.Bool - @objc final public let limitQuickCodeRegistration: Swift.Bool @objc final public let identityType: MIRACLTrust.IdentityType @objc final public let sessionId: Swift.String @objc final public let signingHash: Swift.String @@ -609,7 +605,6 @@ extension MIRACLTrust.VerificationError : Foundation.CustomNSError { @objc var verificationCustomText: Swift.String { get } @objc var identityTypeLabel: Swift.String { get } @objc var quickCodeEnabled: Swift.Bool { get } - @objc var limitQuickCodeRegistration: Swift.Bool { get } @objc var identityType: MIRACLTrust.IdentityType { get } } @objc public enum VerificationMethod : Swift.Int, Swift.Sendable { diff --git a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/_CodeSignature/CodeResources b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/_CodeSignature/CodeResources index 2ea7780..9892249 100644 --- a/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/_CodeSignature/CodeResources +++ b/ios/MIRACLTrust.xcframework/ios-arm64_x86_64-simulator/MIRACLTrust.framework/_CodeSignature/CodeResources @@ -6,7 +6,7 @@ Headers/MIRACLTrust-Swift.h - W5b4gnABbgqvTGn8TIWVJsFwADk= + JXISALHwbsDH3SSW+/LzlU/5hxI= Headers/MIRACLTrust_iOS.h @@ -14,47 +14,47 @@ Info.plist - v3PRu9qsk5Sw7wwIn+jGH9KPqjQ= + DlW3e5DRHhIdaa+XTk1tnav5aac= Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.abi.json - lxgENfgTX2FH5uLIhxP8APYdHi4= + rrlhozZQx9TelxF7riy3pKJu51g= Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface - 49C8RUGRm+CSgCgQtRV0DGxsYSw= + YTzdJLibi3k5t8pa6jRP3hcD/f0= Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.swiftdoc - aG7yYl4nNSXR4R1AJ2f5eBYGF24= + 4osg7vpVeTTT00z6Z+zdoS0XHLA= Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.swiftinterface - 49C8RUGRm+CSgCgQtRV0DGxsYSw= + YTzdJLibi3k5t8pa6jRP3hcD/f0= Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.swiftmodule - WyWqsGwUxffqoZJcJdmv/7TbDfE= + E5p4a2yXHymnmohVdrbbS9lzOq8= Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.abi.json - lxgENfgTX2FH5uLIhxP8APYdHi4= + rrlhozZQx9TelxF7riy3pKJu51g= Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface - 9GUYg+40L6QfZHRLkbfV9psCq8I= + pFcmS2hZxv8qgT/Zg6Z68clp2tQ= Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - KfcF59WWrYoLVeN8GUU8GBBsHXQ= + KpIVqmRebkuT3gKbllNidsYkQac= Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - 9GUYg+40L6QfZHRLkbfV9psCq8I= + pFcmS2hZxv8qgT/Zg6Z68clp2tQ= Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - tk1B89K6bIJ+S2dQywdV53+T+6U= + qQAWZeDo+W7kjohZgWjztA6ZTvo= Modules/module.modulemap @@ -131,7 +131,7 @@ hash2 - +e+fZSqiveOn4JJi6sTaYfm6wVjnbc0y56Y/K451m80= + 8MecGkzSMG0R4keRNM3RvpqczC+05lkCLm6G7EMej70= Headers/MIRACLTrust_iOS.h @@ -145,70 +145,70 @@ hash2 - RLrdmmzfgdkFYGp3TDenzNeeaJZXSUI0T/d67YXyS+Q= + xu+h+FtQPy63++veIxrzANc/BsMY51DV7j8tLxKf1G8= Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface hash2 - ZgNAPgTF2va3Eb6/DZjJ11wASCNSbbd98M3vThjMu4g= + Ul4Jbcv8BsBjcBl1Gefdng0MZMC9LsUx04PzQBrF5aU= Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.swiftdoc hash2 - L+WsDsW/2AFK6/bNjBEkVW2MKgQloQgAP5HDWBdEc20= + +PsWxG15Iu9e0EVX3TMQsHOD4/9ylp3lO+pA75j8054= Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.swiftinterface hash2 - ZgNAPgTF2va3Eb6/DZjJ11wASCNSbbd98M3vThjMu4g= + Ul4Jbcv8BsBjcBl1Gefdng0MZMC9LsUx04PzQBrF5aU= Modules/MIRACLTrust.swiftmodule/arm64-apple-ios-simulator.swiftmodule hash2 - v1Vty4tvsGMIv6a+cSrj+emBRuNj3kvo//z7FpGYiGA= + 0z553F1fhfOsfKoNqdLlSDIszin3YnL2c6RL8XLmNF0= Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.abi.json hash2 - RLrdmmzfgdkFYGp3TDenzNeeaJZXSUI0T/d67YXyS+Q= + xu+h+FtQPy63++veIxrzANc/BsMY51DV7j8tLxKf1G8= Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface hash2 - fgDVh9HyNpHP7JaAbn8pSLHQE+6CpnGeIKoJmVkTIhI= + e4Srms+yblyceWsZmNv/mxOruY6iRnxOy5tWOUpzg1k= Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.swiftdoc hash2 - OHBm+04+57GKboYZ1YkBZtrLrs3NgEavWYTdoh/Ul6c= + /ghMx1St3UPLSkj+022UhnkjL1NI+sVhbYr69oOpTbQ= Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.swiftinterface hash2 - fgDVh9HyNpHP7JaAbn8pSLHQE+6CpnGeIKoJmVkTIhI= + e4Srms+yblyceWsZmNv/mxOruY6iRnxOy5tWOUpzg1k= Modules/MIRACLTrust.swiftmodule/x86_64-apple-ios-simulator.swiftmodule hash2 - VvteDh/wyro+O1ISvVLV6G4iiP+cT7bo1oe51ZlrYrs= + G1VmVm5NrD1ECODp63z5TSYfkYJtAPhW3ykqzndny28= Modules/module.modulemap diff --git a/ios/flutter_miracl_sdk.podspec b/ios/flutter_miracl_sdk.podspec index 64062b0..7f674be 100644 --- a/ios/flutter_miracl_sdk.podspec +++ b/ios/flutter_miracl_sdk.podspec @@ -5,7 +5,7 @@ Pod::Spec.new do |s| s.name = 'flutter_miracl_sdk' - s.version = '0.6.0' + s.version = '0.7.0' s.summary = 'MIRCAL Trust Flutter plugin' s.description = <<-DESC MIRCAL Trust Flutter plugin. diff --git a/ios/flutter_miracl_sdk/Package.resolved b/ios/flutter_miracl_sdk/Package.resolved index 06e6821..e52781f 100644 --- a/ios/flutter_miracl_sdk/Package.resolved +++ b/ios/flutter_miracl_sdk/Package.resolved @@ -5,8 +5,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/miracl/trust-sdk-ios", "state" : { - "revision" : "9c688287ca816edacea33ad3ec4fbd46e162feed", - "version" : "1.6.2" + "revision" : "b87839b0d3009df01d419a0c2c09ce924356f2eb", + "version" : "1.7.1" } } ], diff --git a/ios/flutter_miracl_sdk/Package.swift b/ios/flutter_miracl_sdk/Package.swift index a8627ec..0bb60b0 100644 --- a/ios/flutter_miracl_sdk/Package.swift +++ b/ios/flutter_miracl_sdk/Package.swift @@ -11,7 +11,7 @@ let package = Package( .library(name: "flutter-miracl-sdk", targets: ["flutter_miracl_sdk"]) ], dependencies: [ - .package(url: "https://github.com/miracl/trust-sdk-ios", exact: "1.6.2") + .package(url: "https://github.com/miracl/trust-sdk-ios", exact: "1.7.1") ], targets: [ .target( diff --git a/ios/flutter_miracl_sdk/Sources/flutter_miracl_sdk/Error+Extensions.swift b/ios/flutter_miracl_sdk/Sources/flutter_miracl_sdk/Error+Extensions.swift index fa46da3..c59d042 100644 --- a/ios/flutter_miracl_sdk/Sources/flutter_miracl_sdk/Error+Extensions.swift +++ b/ios/flutter_miracl_sdk/Sources/flutter_miracl_sdk/Error+Extensions.swift @@ -108,8 +108,6 @@ extension QuickCodeError { return MQuickCodeExceptionCode.generationFail case .invalidPin: return MQuickCodeExceptionCode.invalidPin - case .limitedQuickCodeGeneration: - return MQuickCodeExceptionCode.limitedQuickCodeGeneration case .pinCancelled: return MQuickCodeExceptionCode.pinCancelled case .revoked: diff --git a/ios/flutter_miracl_sdk/Sources/flutter_miracl_sdk/Pigeon.swift b/ios/flutter_miracl_sdk/Sources/flutter_miracl_sdk/Pigeon.swift index c47558b..5510b41 100644 --- a/ios/flutter_miracl_sdk/Sources/flutter_miracl_sdk/Pigeon.swift +++ b/ios/flutter_miracl_sdk/Sources/flutter_miracl_sdk/Pigeon.swift @@ -202,8 +202,7 @@ enum MQuickCodeExceptionCode: Int { case unsuccessfulAuthentication = 1 case pinCancelled = 2 case invalidPin = 3 - case limitedQuickCodeGeneration = 4 - case generationFail = 5 + case generationFail = 4 } enum MAuthenticationSessionDetailsExceptionCode: Int { @@ -320,7 +319,6 @@ struct MAuthenticationSessionDetails: Hashable { var verificationCustomText: String var identityTypeLabel: String var quickCodeEnabled: Bool - var limitQuickCodeRegistration: Bool var identityType: MIdentityType var accessId: String @@ -337,9 +335,8 @@ struct MAuthenticationSessionDetails: Hashable { let verificationCustomText = pigeonVar_list[7] as! String let identityTypeLabel = pigeonVar_list[8] as! String let quickCodeEnabled = pigeonVar_list[9] as! Bool - let limitQuickCodeRegistration = pigeonVar_list[10] as! Bool - let identityType = pigeonVar_list[11] as! MIdentityType - let accessId = pigeonVar_list[12] as! String + let identityType = pigeonVar_list[10] as! MIdentityType + let accessId = pigeonVar_list[11] as! String return MAuthenticationSessionDetails( userId: userId, @@ -352,7 +349,6 @@ struct MAuthenticationSessionDetails: Hashable { verificationCustomText: verificationCustomText, identityTypeLabel: identityTypeLabel, quickCodeEnabled: quickCodeEnabled, - limitQuickCodeRegistration: limitQuickCodeRegistration, identityType: identityType, accessId: accessId ) @@ -369,7 +365,6 @@ struct MAuthenticationSessionDetails: Hashable { verificationCustomText, identityTypeLabel, quickCodeEnabled, - limitQuickCodeRegistration, identityType, accessId, ] @@ -393,7 +388,6 @@ struct MSigningSessionDetails: Hashable { var verificationCustomText: String var identityTypeLabel: String var quickCodeEnabled: Bool - var limitQuickCodeRegistration: Bool var identityType: MIdentityType var sessionId: String var signingHash: String @@ -414,13 +408,12 @@ struct MSigningSessionDetails: Hashable { let verificationCustomText = pigeonVar_list[7] as! String let identityTypeLabel = pigeonVar_list[8] as! String let quickCodeEnabled = pigeonVar_list[9] as! Bool - let limitQuickCodeRegistration = pigeonVar_list[10] as! Bool - let identityType = pigeonVar_list[11] as! MIdentityType - let sessionId = pigeonVar_list[12] as! String - let signingHash = pigeonVar_list[13] as! String - let signingDescription = pigeonVar_list[14] as! String - let status = pigeonVar_list[15] as! MSigningSessionStatus - let expireTime = pigeonVar_list[16] as! Int64 + let identityType = pigeonVar_list[10] as! MIdentityType + let sessionId = pigeonVar_list[11] as! String + let signingHash = pigeonVar_list[12] as! String + let signingDescription = pigeonVar_list[13] as! String + let status = pigeonVar_list[14] as! MSigningSessionStatus + let expireTime = pigeonVar_list[15] as! Int64 return MSigningSessionDetails( userId: userId, @@ -433,7 +426,6 @@ struct MSigningSessionDetails: Hashable { verificationCustomText: verificationCustomText, identityTypeLabel: identityTypeLabel, quickCodeEnabled: quickCodeEnabled, - limitQuickCodeRegistration: limitQuickCodeRegistration, identityType: identityType, sessionId: sessionId, signingHash: signingHash, @@ -454,7 +446,6 @@ struct MSigningSessionDetails: Hashable { verificationCustomText, identityTypeLabel, quickCodeEnabled, - limitQuickCodeRegistration, identityType, sessionId, signingHash, diff --git a/ios/flutter_miracl_sdk/Sources/flutter_miracl_sdk/SdkHandler.swift b/ios/flutter_miracl_sdk/Sources/flutter_miracl_sdk/SdkHandler.swift index ae0e54b..d082892 100644 --- a/ios/flutter_miracl_sdk/Sources/flutter_miracl_sdk/SdkHandler.swift +++ b/ios/flutter_miracl_sdk/Sources/flutter_miracl_sdk/SdkHandler.swift @@ -471,7 +471,6 @@ public class SdkHandler: NSObject, MiraclSdk { verificationCustomText: authSession.verificationCustomText, identityTypeLabel: authSession.identityTypeLabel, quickCodeEnabled: authSession.quickCodeEnabled, - limitQuickCodeRegistration: authSession.limitQuickCodeRegistration, identityType: MIdentityType(rawValue:authSession.identityType.rawValue) ?? .email, accessId: authSession.accessId ) @@ -512,7 +511,6 @@ public class SdkHandler: NSObject, MiraclSdk { verificationCustomText: authSession.verificationCustomText, identityTypeLabel: authSession.identityTypeLabel, quickCodeEnabled: authSession.quickCodeEnabled, - limitQuickCodeRegistration: authSession.limitQuickCodeRegistration, identityType: MIdentityType(rawValue: authSession.identityType.rawValue) ?? .email, accessId: authSession.accessId ) @@ -553,7 +551,6 @@ public class SdkHandler: NSObject, MiraclSdk { verificationCustomText: authSession.verificationCustomText, identityTypeLabel: authSession.identityTypeLabel, quickCodeEnabled: authSession.quickCodeEnabled, - limitQuickCodeRegistration: authSession.limitQuickCodeRegistration, identityType: MIdentityType(rawValue: authSession.identityType.rawValue) ?? .email, accessId: authSession.accessId ) @@ -631,7 +628,6 @@ public class SdkHandler: NSObject, MiraclSdk { verificationCustomText: signingSessionDetails.verificationCustomText, identityTypeLabel: signingSessionDetails.identityTypeLabel, quickCodeEnabled: signingSessionDetails.quickCodeEnabled, - limitQuickCodeRegistration: signingSessionDetails.limitQuickCodeRegistration, identityType: MIdentityType(rawValue: signingSessionDetails.identityType.rawValue) ?? .email, sessionId: signingSessionDetails.sessionId, signingHash: signingSessionDetails.signingHash, @@ -678,7 +674,6 @@ public class SdkHandler: NSObject, MiraclSdk { verificationCustomText: signingSessionDetails.verificationCustomText, identityTypeLabel: signingSessionDetails.identityTypeLabel, quickCodeEnabled: signingSessionDetails.quickCodeEnabled, - limitQuickCodeRegistration: signingSessionDetails.limitQuickCodeRegistration, identityType: MIdentityType(rawValue: signingSessionDetails.identityType.rawValue) ?? .email, sessionId: signingSessionDetails.sessionId, signingHash: signingSessionDetails.signingHash, diff --git a/lib/src/constants.dart b/lib/src/constants.dart index 555b6cf..5ca4884 100644 --- a/lib/src/constants.dart +++ b/lib/src/constants.dart @@ -1,2 +1,2 @@ -const sdkApplicationInfo = "flutter_miracl_sdk/0.6.0"; +const sdkApplicationInfo = "flutter_miracl_sdk/0.7.0"; const pluginNotInitializedErrorMessage = "The MIRACL Trust Flutter plugin is not initialized!"; diff --git a/lib/src/exceptions.dart b/lib/src/exceptions.dart index e3f44c3..eb144e0 100644 --- a/lib/src/exceptions.dart +++ b/lib/src/exceptions.dart @@ -166,9 +166,6 @@ enum QuickCodeExceptionCode { /// The PIN code includes invalid symbols or the PIN length does not match. invalidPin, - /// Generating `QuickCode` from this registration is not allowed. - limitedQuickCodeGeneration, - /// The `QuickCode` generation failed. generationFail; } diff --git a/lib/src/extensions.dart b/lib/src/extensions.dart index c70ecfc..b911d5c 100644 --- a/lib/src/extensions.dart +++ b/lib/src/extensions.dart @@ -23,7 +23,6 @@ extension on MAuthenticationSessionDetails { verificationCustomText: verificationCustomText, identityTypeLabel: identityTypeLabel, quickCodeEnabled: quickCodeEnabled, - limitQuickCodeRegistration: limitQuickCodeRegistration, identityType: IdentityType.getIdentityType(identityType.name), accessId: accessId ); @@ -110,8 +109,7 @@ extension on MSigningSessionDetails { verificationURL: verificationURL, verificationCustomText: verificationCustomText, identityTypeLabel: identityTypeLabel, - quickCodeEnabled: quickCodeEnabled, - limitQuickCodeRegistration: limitQuickCodeRegistration, + quickCodeEnabled: quickCodeEnabled, identityType: IdentityType.getIdentityType(identityType.name), sessionId: sessionId, signingHash: signingHash, @@ -204,7 +202,6 @@ extension on MQuickCodeExceptionCode { MQuickCodeExceptionCode.unsuccessfulAuthentication => QuickCodeExceptionCode.unsuccessfulAuthentication, MQuickCodeExceptionCode.pinCancelled => QuickCodeExceptionCode.pinCancelled, MQuickCodeExceptionCode.invalidPin => QuickCodeExceptionCode.invalidPin, - MQuickCodeExceptionCode.limitedQuickCodeGeneration => QuickCodeExceptionCode.limitedQuickCodeGeneration, MQuickCodeExceptionCode.generationFail => QuickCodeExceptionCode.generationFail, }; } diff --git a/lib/src/models.dart b/lib/src/models.dart index e615caf..654b4eb 100644 --- a/lib/src/models.dart +++ b/lib/src/models.dart @@ -204,10 +204,6 @@ class AuthenticationSessionDetails { /// Indicates whether `QuickCode` is enabled for the project. final bool quickCodeEnabled; - /// Indicates whether registration with `QuickCode` is allowed for identities - /// that were also registered using `QuickCode`. - final bool limitQuickCodeRegistration; - /// The [IdentityType] which will be used for identity verification. final IdentityType identityType; @@ -225,7 +221,6 @@ class AuthenticationSessionDetails { required this.verificationCustomText, required this.identityTypeLabel, required this.quickCodeEnabled, - required this.limitQuickCodeRegistration, required this.identityType, required this.accessId, }); @@ -334,10 +329,6 @@ class SigningSessionDetails { /// Indicates whether `QuickCode` is enabled for the project. final bool quickCodeEnabled; - /// Indicates whether registration with `QuickCode` is allowed for identities - /// that were also registered using `QuickCode`. - final bool limitQuickCodeRegistration; - /// The [IdentityType] which will be used for identity verification. final IdentityType identityType; @@ -367,7 +358,6 @@ class SigningSessionDetails { required this.verificationCustomText, required this.identityTypeLabel, required this.quickCodeEnabled, - required this.limitQuickCodeRegistration, required this.identityType, required this.sessionId, required this.signingHash, diff --git a/lib/src/pigeon.dart b/lib/src/pigeon.dart index 9ac91e3..e7336c0 100644 --- a/lib/src/pigeon.dart +++ b/lib/src/pigeon.dart @@ -109,7 +109,6 @@ enum MQuickCodeExceptionCode { unsuccessfulAuthentication, pinCancelled, invalidPin, - limitedQuickCodeGeneration, generationFail, } @@ -264,7 +263,6 @@ class MAuthenticationSessionDetails { required this.verificationCustomText, required this.identityTypeLabel, required this.quickCodeEnabled, - required this.limitQuickCodeRegistration, required this.identityType, required this.accessId, }); @@ -289,8 +287,6 @@ class MAuthenticationSessionDetails { bool quickCodeEnabled; - bool limitQuickCodeRegistration; - MIdentityType identityType; String accessId; @@ -307,7 +303,6 @@ class MAuthenticationSessionDetails { verificationCustomText, identityTypeLabel, quickCodeEnabled, - limitQuickCodeRegistration, identityType, accessId, ]; @@ -329,9 +324,8 @@ class MAuthenticationSessionDetails { verificationCustomText: result[7]! as String, identityTypeLabel: result[8]! as String, quickCodeEnabled: result[9]! as bool, - limitQuickCodeRegistration: result[10]! as bool, - identityType: result[11]! as MIdentityType, - accessId: result[12]! as String, + identityType: result[10]! as MIdentityType, + accessId: result[11]! as String, ); } @@ -365,7 +359,6 @@ class MSigningSessionDetails { required this.verificationCustomText, required this.identityTypeLabel, required this.quickCodeEnabled, - required this.limitQuickCodeRegistration, required this.identityType, required this.sessionId, required this.signingHash, @@ -394,8 +387,6 @@ class MSigningSessionDetails { bool quickCodeEnabled; - bool limitQuickCodeRegistration; - MIdentityType identityType; String sessionId; @@ -420,7 +411,6 @@ class MSigningSessionDetails { verificationCustomText, identityTypeLabel, quickCodeEnabled, - limitQuickCodeRegistration, identityType, sessionId, signingHash, @@ -446,13 +436,12 @@ class MSigningSessionDetails { verificationCustomText: result[7]! as String, identityTypeLabel: result[8]! as String, quickCodeEnabled: result[9]! as bool, - limitQuickCodeRegistration: result[10]! as bool, - identityType: result[11]! as MIdentityType, - sessionId: result[12]! as String, - signingHash: result[13]! as String, - signingDescription: result[14]! as String, - status: result[15]! as MSigningSessionStatus, - expireTime: result[16]! as int, + identityType: result[10]! as MIdentityType, + sessionId: result[11]! as String, + signingHash: result[12]! as String, + signingDescription: result[13]! as String, + status: result[14]! as MSigningSessionStatus, + expireTime: result[15]! as int, ); } diff --git a/pigeon/sdk_types.dart b/pigeon/sdk_types.dart index cea1720..c52233a 100644 --- a/pigeon/sdk_types.dart +++ b/pigeon/sdk_types.dart @@ -57,7 +57,6 @@ class MAuthenticationSessionDetails { final String verificationCustomText; final String identityTypeLabel; final bool quickCodeEnabled; - final bool limitQuickCodeRegistration; final MIdentityType identityType; final String accessId; @@ -72,7 +71,6 @@ class MAuthenticationSessionDetails { this.verificationCustomText, this.identityTypeLabel, this.quickCodeEnabled, - this.limitQuickCodeRegistration, this.identityType, this.accessId ); @@ -89,7 +87,6 @@ class MSigningSessionDetails { final String verificationCustomText; final String identityTypeLabel; final bool quickCodeEnabled; - final bool limitQuickCodeRegistration; final MIdentityType identityType; final String sessionId; final String signingHash; @@ -108,7 +105,6 @@ class MSigningSessionDetails { this.verificationCustomText, this.identityTypeLabel, this.quickCodeEnabled, - this.limitQuickCodeRegistration, this.identityType, this.sessionId, this.signingHash, @@ -225,7 +221,6 @@ enum MQuickCodeExceptionCode { unsuccessfulAuthentication, pinCancelled, invalidPin, - limitedQuickCodeGeneration, generationFail; } diff --git a/pubspec.yaml b/pubspec.yaml index 2b05470..9e0c8e3 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_miracl_sdk description: MIRACL Trust Flutter Plugin -version: 0.6.0 +version: 0.7.0 homepage: https://github.com/miracl/trust-sdk-flutter-wrapper environment: