diff --git a/Frameworks/M2Kit.xcframework/Info.plist b/Frameworks/M2Kit.xcframework/Info.plist index 9ddf4cd..7570190 100644 --- a/Frameworks/M2Kit.xcframework/Info.plist +++ b/Frameworks/M2Kit.xcframework/Info.plist @@ -4,20 +4,6 @@ AvailableLibraries - - BinaryPath - M2Kit.framework/M2Kit - LibraryIdentifier - ios-arm64 - LibraryPath - M2Kit.framework - SupportedArchitectures - - arm64 - - SupportedPlatform - ios - BinaryPath M2Kit.framework/M2Kit @@ -52,6 +38,20 @@ SupportedPlatformVariant maccatalyst + + BinaryPath + M2Kit.framework/M2Kit + LibraryIdentifier + ios-arm64 + LibraryPath + M2Kit.framework + SupportedArchitectures + + arm64 + + SupportedPlatform + ios + CFBundlePackageType XFWK diff --git a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Info.plist b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Info.plist index cfb2674..f7440e9 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Info.plist and b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Info.plist differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/M2Kit b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/M2Kit index c674c40..3dcd193 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/M2Kit and b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/M2Kit differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.abi.json b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.abi.json index 7ae90a7..b0348e3 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.abi.json +++ b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.abi.json @@ -88,6 +88,16 @@ "declKind": "Import", "moduleName": "M2Kit" }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "M2Kit", + "declAttributes": [ + "RawDocComment" + ] + }, { "kind": "Import", "name": "Foundation", @@ -2617,8 +2627,10 @@ "usr": "s:5M2Kit0A6BackupV", "mangledName": "$s5M2Kit0A6BackupV", "moduleName": "M2Kit", + "deprecated": true, "declAttributes": [ "AccessControl", + "Available", "RawDocComment" ], "conformances": [ @@ -2650,6 +2662,285 @@ "name": "M2Backup2", "printedName": "M2Backup2", "children": [ + { + "kind": "Var", + "name": "backupCode", + "printedName": "backupCode", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:5M2Kit0A7Backup2V10backupCodeSSvpZ", + "mangledName": "$s5M2Kit0A7Backup2V10backupCodeSSvpZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:5M2Kit0A7Backup2V10backupCodeSSvgZ", + "mangledName": "$s5M2Kit0A7Backup2V10backupCodeSSvgZ", + "moduleName": "M2Kit", + "static": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "uploadBackup", + "printedName": "uploadBackup(code:data:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A7Backup2V12uploadBackup4code4data6resultySS_10Foundation4DataVySbctFZ", + "mangledName": "$s5M2Kit0A7Backup2V12uploadBackup4code4data6resultySS_10Foundation4DataVySbctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getBackup", + "printedName": "getBackup(code:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Foundation.Data?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Data?", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A7Backup2V9getBackup4code6resultySS_y10Foundation4DataVSgctFZ", + "mangledName": "$s5M2Kit0A7Backup2V9getBackup4code6resultySS_y10Foundation4DataVSgctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getBackupVersion", + "printedName": "getBackupVersion(code:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Int?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A7Backup2V16getBackupVersion4code6resultySS_ySiSgctFZ", + "mangledName": "$s5M2Kit0A7Backup2V16getBackupVersion4code6resultySS_ySiSgctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getBackupVersions", + "printedName": "getBackupVersions(codes:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String : Swift.Int?]) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.Int?]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "usr": "s:SD" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A7Backup2V17getBackupVersions5codes6resultySaySSG_ySDySSSiSgGctFZ", + "mangledName": "$s5M2Kit0A7Backup2V17getBackupVersions5codes6resultySaySSG_ySDySSSiSgGctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "uploadBackupPlaylist", @@ -3580,6 +3871,171 @@ } ] }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "M2Kit" + }, + { + "kind": "TypeDecl", + "name": "M2Log", + "printedName": "M2Log", + "children": [ + { + "kind": "Function", + "name": "send", + "printedName": "send(event:count:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "hasDefaultArg": true, + "usr": "s:Si" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3LogV4send5event5count6resultySS_SiySbctFZ", + "mangledName": "$s5M2Kit0A3LogV4send5event5count6resultySS_SiySbctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "lazyLog", + "printedName": "lazyLog(event:count:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "hasDefaultArg": true, + "usr": "s:Si" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3LogV04lazyC05event5countySS_SitFZ", + "mangledName": "$s5M2Kit0A3LogV04lazyC05event5countySS_SitFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendAllEvents", + "printedName": "sendAllEvents(result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3LogV13sendAllEvents6resultyySbc_tFZ", + "mangledName": "$s5M2Kit0A3LogV13sendAllEvents6resultyySbc_tFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:5M2Kit0A3LogV", + "mangledName": "$s5M2Kit0A3LogV", + "moduleName": "M2Kit", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, { "kind": "TypeDecl", "name": "M2Musi", @@ -11374,6 +11830,13 @@ "declKind": "Import", "moduleName": "M2Kit" }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "M2Kit" + }, { "kind": "Import", "name": "UIKit", @@ -11449,10 +11912,7 @@ "name": "Foundation", "printedName": "Foundation", "declKind": "Import", - "moduleName": "M2Kit", - "declAttributes": [ - "RawDocComment" - ] + "moduleName": "M2Kit" }, { "kind": "TypeDecl", @@ -12218,6 +12678,436 @@ } ] }, + { + "kind": "TypeDecl", + "name": "Int", + "printedName": "Int", + "declKind": "Struct", + "usr": "s:Si", + "mangledName": "$sSi", + "moduleName": "Swift", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "FixedWidthInteger", + "printedName": "FixedWidthInteger", + "usr": "s:s17FixedWidthIntegerP", + "mangledName": "$ss17FixedWidthIntegerP" + }, + { + "kind": "Conformance", + "name": "SignedInteger", + "printedName": "SignedInteger", + "usr": "s:SZ", + "mangledName": "$sSZ" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinIntegerLiteral", + "printedName": "_ExpressibleByBuiltinIntegerLiteral", + "usr": "s:s35_ExpressibleByBuiltinIntegerLiteralP", + "mangledName": "$ss35_ExpressibleByBuiltinIntegerLiteralP" + }, + { + "kind": "Conformance", + "name": "BinaryInteger", + "printedName": "BinaryInteger", + "children": [ + { + "kind": "TypeWitness", + "name": "Words", + "printedName": "Words", + "children": [ + { + "kind": "TypeNominal", + "name": "Words", + "printedName": "Swift.Int.Words", + "usr": "s:Si5WordsV" + } + ] + } + ], + "usr": "s:Sz", + "mangledName": "$sSz" + }, + { + "kind": "Conformance", + "name": "LosslessStringConvertible", + "printedName": "LosslessStringConvertible", + "usr": "s:s25LosslessStringConvertibleP", + "mangledName": "$ss25LosslessStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "SignedNumeric", + "printedName": "SignedNumeric", + "usr": "s:s13SignedNumericP", + "mangledName": "$ss13SignedNumericP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Numeric", + "printedName": "Numeric", + "children": [ + { + "kind": "TypeWitness", + "name": "Magnitude", + "printedName": "Magnitude", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt", + "printedName": "Swift.UInt", + "usr": "s:Su" + } + ] + } + ], + "usr": "s:Sj", + "mangledName": "$sSj" + }, + { + "kind": "Conformance", + "name": "Strideable", + "printedName": "Strideable", + "children": [ + { + "kind": "TypeWitness", + "name": "Stride", + "printedName": "Stride", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ], + "usr": "s:Sx", + "mangledName": "$sSx" + }, + { + "kind": "Conformance", + "name": "AdditiveArithmetic", + "printedName": "AdditiveArithmetic", + "usr": "s:s18AdditiveArithmeticP", + "mangledName": "$ss18AdditiveArithmeticP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByIntegerLiteral", + "printedName": "ExpressibleByIntegerLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "IntegerLiteralType", + "printedName": "IntegerLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ], + "usr": "s:s27ExpressibleByIntegerLiteralP", + "mangledName": "$ss27ExpressibleByIntegerLiteralP" + }, + { + "kind": "Conformance", + "name": "Comparable", + "printedName": "Comparable", + "usr": "s:SL", + "mangledName": "$sSL" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "CodingKeyRepresentable", + "printedName": "CodingKeyRepresentable", + "usr": "s:s22CodingKeyRepresentableP", + "mangledName": "$ss22CodingKeyRepresentableP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "_CustomPlaygroundQuickLookable", + "printedName": "_CustomPlaygroundQuickLookable", + "usr": "s:s30_CustomPlaygroundQuickLookableP", + "mangledName": "$ss30_CustomPlaygroundQuickLookableP" + }, + { + "kind": "Conformance", + "name": "MirrorPath", + "printedName": "MirrorPath", + "usr": "s:s10MirrorPathP", + "mangledName": "$ss10MirrorPathP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "_HasCustomAnyHashableRepresentation", + "printedName": "_HasCustomAnyHashableRepresentation", + "usr": "s:s35_HasCustomAnyHashableRepresentationP", + "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "SIMDScalar", + "printedName": "SIMDScalar", + "children": [ + { + "kind": "TypeWitness", + "name": "SIMDMaskScalar", + "printedName": "SIMDMaskScalar", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD2Storage", + "printedName": "SIMD2Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD2Storage", + "printedName": "Swift.Int.SIMD2Storage", + "usr": "s:Si12SIMD2StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD4Storage", + "printedName": "SIMD4Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD4Storage", + "printedName": "Swift.Int.SIMD4Storage", + "usr": "s:Si12SIMD4StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD8Storage", + "printedName": "SIMD8Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD8Storage", + "printedName": "Swift.Int.SIMD8Storage", + "usr": "s:Si12SIMD8StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD16Storage", + "printedName": "SIMD16Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD16Storage", + "printedName": "Swift.Int.SIMD16Storage", + "usr": "s:Si13SIMD16StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD32Storage", + "printedName": "SIMD32Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD32Storage", + "printedName": "Swift.Int.SIMD32Storage", + "usr": "s:Si13SIMD32StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD64Storage", + "printedName": "SIMD64Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD64Storage", + "printedName": "Swift.Int.SIMD64Storage", + "usr": "s:Si13SIMD64StorageV" + } + ] + } + ], + "usr": "s:s10SIMDScalarP", + "mangledName": "$ss10SIMDScalarP" + }, + { + "kind": "Conformance", + "name": "BitwiseCopyable", + "printedName": "BitwiseCopyable", + "usr": "s:s15BitwiseCopyableP", + "mangledName": "$ss15BitwiseCopyableP" + }, + { + "kind": "Conformance", + "name": "_FormatSpecifiable", + "printedName": "_FormatSpecifiable", + "children": [ + { + "kind": "TypeWitness", + "name": "_Arg", + "printedName": "_Arg", + "children": [ + { + "kind": "TypeNominal", + "name": "Int64", + "printedName": "Swift.Int64", + "usr": "s:s5Int64V" + } + ] + } + ], + "usr": "s:10Foundation18_FormatSpecifiableP", + "mangledName": "$s10Foundation18_FormatSpecifiableP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSNumber", + "printedName": "Foundation.NSNumber", + "usr": "c:objc(cs)NSNumber" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "_FormatSpecifiable", + "printedName": "_FormatSpecifiable", + "children": [ + { + "kind": "TypeWitness", + "name": "_Arg", + "printedName": "_Arg", + "children": [ + { + "kind": "TypeNominal", + "name": "Int64", + "printedName": "Swift.Int64", + "usr": "s:s5Int64V" + } + ] + } + ], + "usr": "s:7SwiftUI18_FormatSpecifiableP", + "mangledName": "$s7SwiftUI18_FormatSpecifiableP" + } + ] + }, { "kind": "TypeDecl", "name": "Optional", @@ -13887,6 +14777,160 @@ "length": 1, "value": "1" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1305, + "length": 3, + "value": "999" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1337, + "length": 3, + "value": "900" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1367, + "length": 3, + "value": "902" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1392, + "length": 3, + "value": "901" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1416, + "length": 3, + "value": "500" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1443, + "length": 3, + "value": "490" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2681, + "length": 6, + "value": "1" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2694, + "length": 4, + "value": "2" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2705, + "length": 5, + "value": "3" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2717, + "length": 10, + "value": "4" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2734, + "length": 4, + "value": "5" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2745, + "length": 7, + "value": "6" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "Array", + "offset": 3125, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "Array", + "offset": 6432, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "Dictionary", + "offset": 6486, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "StringLiteral", + "offset": 6530, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 6575, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "BooleanLiteral", + "offset": 6660, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 16442, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 17538, + "length": 2, + "value": "10" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "BooleanLiteral", + "offset": 33628, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "BooleanLiteral", + "offset": 33676, + "length": 5, + "value": "false" + }, { "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "kind": "IntegerLiteral", @@ -13948,7 +14992,7 @@ "kind": "StringLiteral", "offset": 131, "length": 5, - "value": "\"5.8\"" + "value": "\"5.9\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2K.swift", @@ -13971,6 +15015,34 @@ "length": 1, "value": "0" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Log.swift", + "kind": "StringLiteral", + "offset": 150, + "length": 22, + "value": "\"M2LogEventDictionary\"" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Log.swift", + "kind": "Dictionary", + "offset": 300, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Log.swift", + "kind": "IntegerLiteral", + "offset": 393, + "length": 1, + "value": "1" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Log.swift", + "kind": "IntegerLiteral", + "offset": 679, + "length": 1, + "value": "1" + }, { "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Setting.swift", "kind": "StringLiteral", @@ -14832,6 +15904,13 @@ "length": 22, "value": "\"getLinkPlayEpisodeRB\"" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Bundle++.swift", + "kind": "StringLiteral", + "offset": 191, + "length": 9, + "value": "\"unknown\"" + }, { "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/EndPointURL.swift", "kind": "StringLiteral", @@ -15015,16 +16094,16 @@ "value": "\"123aA@123\"" }, { - "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Utils2.swift", + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Utils++V4.swift", "kind": "StringLiteral", - "offset": 138, + "offset": 150, "length": 12, "value": "\"image\/jpeg\"" }, { - "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Utils2.swift", + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Utils++V4.swift", "kind": "StringLiteral", - "offset": 179, + "offset": 191, "length": 18, "value": "\"application\/json\"" } diff --git a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.private.swiftinterface b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.private.swiftinterface index 4f5d7eb..cf65c8e 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.private.swiftinterface +++ b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.private.swiftinterface @@ -97,6 +97,7 @@ extension M2Kit.M2API { @_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String) #endif } +@available(*, deprecated, message: "M2Backup is deprecated. Use M2Backup instead.") public struct M2Backup { public static var backupCode: Swift.String { get @@ -113,6 +114,19 @@ public struct M2Backup { #endif } public struct M2Backup2 { + public static var backupCode: Swift.String { + get + } + public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void) + #endif + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void) + #endif + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void) + #endif #if compiler(>=5.3) && $NonescapableTypes public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void) #endif @@ -160,6 +174,11 @@ public struct M2Image2 { public struct M2K { public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void) } +public struct M2Log { + public static func send(event: Swift.String, count: Swift.Int = 1, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) + public static func lazyLog(event: Swift.String, count: Swift.Int = 1) + public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) +} public struct M2Musi { #if compiler(>=5.3) && $NonescapableTypes public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void) diff --git a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.swiftdoc b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.swiftdoc index b853f14..93a2825 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.swiftdoc and b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.swiftinterface b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.swiftinterface index 4f5d7eb..cf65c8e 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.swiftinterface +++ b/Frameworks/M2Kit.xcframework/ios-arm64/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios.swiftinterface @@ -97,6 +97,7 @@ extension M2Kit.M2API { @_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String) #endif } +@available(*, deprecated, message: "M2Backup is deprecated. Use M2Backup instead.") public struct M2Backup { public static var backupCode: Swift.String { get @@ -113,6 +114,19 @@ public struct M2Backup { #endif } public struct M2Backup2 { + public static var backupCode: Swift.String { + get + } + public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void) + #endif + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void) + #endif + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void) + #endif #if compiler(>=5.3) && $NonescapableTypes public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void) #endif @@ -160,6 +174,11 @@ public struct M2Image2 { public struct M2K { public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void) } +public struct M2Log { + public static func send(event: Swift.String, count: Swift.Int = 1, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) + public static func lazyLog(event: Swift.String, count: Swift.Int = 1) + public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) +} public struct M2Musi { #if compiler(>=5.3) && $NonescapableTypes public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void) diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/M2Kit b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/M2Kit index 3fec57b..310ff4a 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/M2Kit and b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/M2Kit differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.abi.json b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.abi.json index 7ae90a7..b0348e3 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.abi.json +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.abi.json @@ -88,6 +88,16 @@ "declKind": "Import", "moduleName": "M2Kit" }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "M2Kit", + "declAttributes": [ + "RawDocComment" + ] + }, { "kind": "Import", "name": "Foundation", @@ -2617,8 +2627,10 @@ "usr": "s:5M2Kit0A6BackupV", "mangledName": "$s5M2Kit0A6BackupV", "moduleName": "M2Kit", + "deprecated": true, "declAttributes": [ "AccessControl", + "Available", "RawDocComment" ], "conformances": [ @@ -2650,6 +2662,285 @@ "name": "M2Backup2", "printedName": "M2Backup2", "children": [ + { + "kind": "Var", + "name": "backupCode", + "printedName": "backupCode", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:5M2Kit0A7Backup2V10backupCodeSSvpZ", + "mangledName": "$s5M2Kit0A7Backup2V10backupCodeSSvpZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:5M2Kit0A7Backup2V10backupCodeSSvgZ", + "mangledName": "$s5M2Kit0A7Backup2V10backupCodeSSvgZ", + "moduleName": "M2Kit", + "static": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "uploadBackup", + "printedName": "uploadBackup(code:data:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A7Backup2V12uploadBackup4code4data6resultySS_10Foundation4DataVySbctFZ", + "mangledName": "$s5M2Kit0A7Backup2V12uploadBackup4code4data6resultySS_10Foundation4DataVySbctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getBackup", + "printedName": "getBackup(code:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Foundation.Data?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Data?", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A7Backup2V9getBackup4code6resultySS_y10Foundation4DataVSgctFZ", + "mangledName": "$s5M2Kit0A7Backup2V9getBackup4code6resultySS_y10Foundation4DataVSgctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getBackupVersion", + "printedName": "getBackupVersion(code:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Int?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A7Backup2V16getBackupVersion4code6resultySS_ySiSgctFZ", + "mangledName": "$s5M2Kit0A7Backup2V16getBackupVersion4code6resultySS_ySiSgctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getBackupVersions", + "printedName": "getBackupVersions(codes:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String : Swift.Int?]) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.Int?]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "usr": "s:SD" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A7Backup2V17getBackupVersions5codes6resultySaySSG_ySDySSSiSgGctFZ", + "mangledName": "$s5M2Kit0A7Backup2V17getBackupVersions5codes6resultySaySSG_ySDySSSiSgGctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "uploadBackupPlaylist", @@ -3580,6 +3871,171 @@ } ] }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "M2Kit" + }, + { + "kind": "TypeDecl", + "name": "M2Log", + "printedName": "M2Log", + "children": [ + { + "kind": "Function", + "name": "send", + "printedName": "send(event:count:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "hasDefaultArg": true, + "usr": "s:Si" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3LogV4send5event5count6resultySS_SiySbctFZ", + "mangledName": "$s5M2Kit0A3LogV4send5event5count6resultySS_SiySbctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "lazyLog", + "printedName": "lazyLog(event:count:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "hasDefaultArg": true, + "usr": "s:Si" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3LogV04lazyC05event5countySS_SitFZ", + "mangledName": "$s5M2Kit0A3LogV04lazyC05event5countySS_SitFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendAllEvents", + "printedName": "sendAllEvents(result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3LogV13sendAllEvents6resultyySbc_tFZ", + "mangledName": "$s5M2Kit0A3LogV13sendAllEvents6resultyySbc_tFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:5M2Kit0A3LogV", + "mangledName": "$s5M2Kit0A3LogV", + "moduleName": "M2Kit", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, { "kind": "TypeDecl", "name": "M2Musi", @@ -11374,6 +11830,13 @@ "declKind": "Import", "moduleName": "M2Kit" }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "M2Kit" + }, { "kind": "Import", "name": "UIKit", @@ -11449,10 +11912,7 @@ "name": "Foundation", "printedName": "Foundation", "declKind": "Import", - "moduleName": "M2Kit", - "declAttributes": [ - "RawDocComment" - ] + "moduleName": "M2Kit" }, { "kind": "TypeDecl", @@ -12218,6 +12678,436 @@ } ] }, + { + "kind": "TypeDecl", + "name": "Int", + "printedName": "Int", + "declKind": "Struct", + "usr": "s:Si", + "mangledName": "$sSi", + "moduleName": "Swift", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "FixedWidthInteger", + "printedName": "FixedWidthInteger", + "usr": "s:s17FixedWidthIntegerP", + "mangledName": "$ss17FixedWidthIntegerP" + }, + { + "kind": "Conformance", + "name": "SignedInteger", + "printedName": "SignedInteger", + "usr": "s:SZ", + "mangledName": "$sSZ" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinIntegerLiteral", + "printedName": "_ExpressibleByBuiltinIntegerLiteral", + "usr": "s:s35_ExpressibleByBuiltinIntegerLiteralP", + "mangledName": "$ss35_ExpressibleByBuiltinIntegerLiteralP" + }, + { + "kind": "Conformance", + "name": "BinaryInteger", + "printedName": "BinaryInteger", + "children": [ + { + "kind": "TypeWitness", + "name": "Words", + "printedName": "Words", + "children": [ + { + "kind": "TypeNominal", + "name": "Words", + "printedName": "Swift.Int.Words", + "usr": "s:Si5WordsV" + } + ] + } + ], + "usr": "s:Sz", + "mangledName": "$sSz" + }, + { + "kind": "Conformance", + "name": "LosslessStringConvertible", + "printedName": "LosslessStringConvertible", + "usr": "s:s25LosslessStringConvertibleP", + "mangledName": "$ss25LosslessStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "SignedNumeric", + "printedName": "SignedNumeric", + "usr": "s:s13SignedNumericP", + "mangledName": "$ss13SignedNumericP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Numeric", + "printedName": "Numeric", + "children": [ + { + "kind": "TypeWitness", + "name": "Magnitude", + "printedName": "Magnitude", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt", + "printedName": "Swift.UInt", + "usr": "s:Su" + } + ] + } + ], + "usr": "s:Sj", + "mangledName": "$sSj" + }, + { + "kind": "Conformance", + "name": "Strideable", + "printedName": "Strideable", + "children": [ + { + "kind": "TypeWitness", + "name": "Stride", + "printedName": "Stride", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ], + "usr": "s:Sx", + "mangledName": "$sSx" + }, + { + "kind": "Conformance", + "name": "AdditiveArithmetic", + "printedName": "AdditiveArithmetic", + "usr": "s:s18AdditiveArithmeticP", + "mangledName": "$ss18AdditiveArithmeticP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByIntegerLiteral", + "printedName": "ExpressibleByIntegerLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "IntegerLiteralType", + "printedName": "IntegerLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ], + "usr": "s:s27ExpressibleByIntegerLiteralP", + "mangledName": "$ss27ExpressibleByIntegerLiteralP" + }, + { + "kind": "Conformance", + "name": "Comparable", + "printedName": "Comparable", + "usr": "s:SL", + "mangledName": "$sSL" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "CodingKeyRepresentable", + "printedName": "CodingKeyRepresentable", + "usr": "s:s22CodingKeyRepresentableP", + "mangledName": "$ss22CodingKeyRepresentableP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "_CustomPlaygroundQuickLookable", + "printedName": "_CustomPlaygroundQuickLookable", + "usr": "s:s30_CustomPlaygroundQuickLookableP", + "mangledName": "$ss30_CustomPlaygroundQuickLookableP" + }, + { + "kind": "Conformance", + "name": "MirrorPath", + "printedName": "MirrorPath", + "usr": "s:s10MirrorPathP", + "mangledName": "$ss10MirrorPathP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "_HasCustomAnyHashableRepresentation", + "printedName": "_HasCustomAnyHashableRepresentation", + "usr": "s:s35_HasCustomAnyHashableRepresentationP", + "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "SIMDScalar", + "printedName": "SIMDScalar", + "children": [ + { + "kind": "TypeWitness", + "name": "SIMDMaskScalar", + "printedName": "SIMDMaskScalar", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD2Storage", + "printedName": "SIMD2Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD2Storage", + "printedName": "Swift.Int.SIMD2Storage", + "usr": "s:Si12SIMD2StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD4Storage", + "printedName": "SIMD4Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD4Storage", + "printedName": "Swift.Int.SIMD4Storage", + "usr": "s:Si12SIMD4StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD8Storage", + "printedName": "SIMD8Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD8Storage", + "printedName": "Swift.Int.SIMD8Storage", + "usr": "s:Si12SIMD8StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD16Storage", + "printedName": "SIMD16Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD16Storage", + "printedName": "Swift.Int.SIMD16Storage", + "usr": "s:Si13SIMD16StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD32Storage", + "printedName": "SIMD32Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD32Storage", + "printedName": "Swift.Int.SIMD32Storage", + "usr": "s:Si13SIMD32StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD64Storage", + "printedName": "SIMD64Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD64Storage", + "printedName": "Swift.Int.SIMD64Storage", + "usr": "s:Si13SIMD64StorageV" + } + ] + } + ], + "usr": "s:s10SIMDScalarP", + "mangledName": "$ss10SIMDScalarP" + }, + { + "kind": "Conformance", + "name": "BitwiseCopyable", + "printedName": "BitwiseCopyable", + "usr": "s:s15BitwiseCopyableP", + "mangledName": "$ss15BitwiseCopyableP" + }, + { + "kind": "Conformance", + "name": "_FormatSpecifiable", + "printedName": "_FormatSpecifiable", + "children": [ + { + "kind": "TypeWitness", + "name": "_Arg", + "printedName": "_Arg", + "children": [ + { + "kind": "TypeNominal", + "name": "Int64", + "printedName": "Swift.Int64", + "usr": "s:s5Int64V" + } + ] + } + ], + "usr": "s:10Foundation18_FormatSpecifiableP", + "mangledName": "$s10Foundation18_FormatSpecifiableP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSNumber", + "printedName": "Foundation.NSNumber", + "usr": "c:objc(cs)NSNumber" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "_FormatSpecifiable", + "printedName": "_FormatSpecifiable", + "children": [ + { + "kind": "TypeWitness", + "name": "_Arg", + "printedName": "_Arg", + "children": [ + { + "kind": "TypeNominal", + "name": "Int64", + "printedName": "Swift.Int64", + "usr": "s:s5Int64V" + } + ] + } + ], + "usr": "s:7SwiftUI18_FormatSpecifiableP", + "mangledName": "$s7SwiftUI18_FormatSpecifiableP" + } + ] + }, { "kind": "TypeDecl", "name": "Optional", @@ -13887,6 +14777,160 @@ "length": 1, "value": "1" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1305, + "length": 3, + "value": "999" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1337, + "length": 3, + "value": "900" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1367, + "length": 3, + "value": "902" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1392, + "length": 3, + "value": "901" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1416, + "length": 3, + "value": "500" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1443, + "length": 3, + "value": "490" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2681, + "length": 6, + "value": "1" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2694, + "length": 4, + "value": "2" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2705, + "length": 5, + "value": "3" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2717, + "length": 10, + "value": "4" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2734, + "length": 4, + "value": "5" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2745, + "length": 7, + "value": "6" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "Array", + "offset": 3125, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "Array", + "offset": 6432, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "Dictionary", + "offset": 6486, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "StringLiteral", + "offset": 6530, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 6575, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "BooleanLiteral", + "offset": 6660, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 16442, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 17538, + "length": 2, + "value": "10" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "BooleanLiteral", + "offset": 33628, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "BooleanLiteral", + "offset": 33676, + "length": 5, + "value": "false" + }, { "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "kind": "IntegerLiteral", @@ -13948,7 +14992,7 @@ "kind": "StringLiteral", "offset": 131, "length": 5, - "value": "\"5.8\"" + "value": "\"5.9\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2K.swift", @@ -13971,6 +15015,34 @@ "length": 1, "value": "0" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Log.swift", + "kind": "StringLiteral", + "offset": 150, + "length": 22, + "value": "\"M2LogEventDictionary\"" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Log.swift", + "kind": "Dictionary", + "offset": 300, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Log.swift", + "kind": "IntegerLiteral", + "offset": 393, + "length": 1, + "value": "1" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Log.swift", + "kind": "IntegerLiteral", + "offset": 679, + "length": 1, + "value": "1" + }, { "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Setting.swift", "kind": "StringLiteral", @@ -14832,6 +15904,13 @@ "length": 22, "value": "\"getLinkPlayEpisodeRB\"" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Bundle++.swift", + "kind": "StringLiteral", + "offset": 191, + "length": 9, + "value": "\"unknown\"" + }, { "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/EndPointURL.swift", "kind": "StringLiteral", @@ -15015,16 +16094,16 @@ "value": "\"123aA@123\"" }, { - "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Utils2.swift", + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Utils++V4.swift", "kind": "StringLiteral", - "offset": 138, + "offset": 150, "length": 12, "value": "\"image\/jpeg\"" }, { - "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Utils2.swift", + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Utils++V4.swift", "kind": "StringLiteral", - "offset": 179, + "offset": 191, "length": 18, "value": "\"application\/json\"" } diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface index 88ee8d8..264d01a 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.private.swiftinterface @@ -97,6 +97,7 @@ extension M2Kit.M2API { @_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String) #endif } +@available(*, deprecated, message: "M2Backup is deprecated. Use M2Backup instead.") public struct M2Backup { public static var backupCode: Swift.String { get @@ -113,6 +114,19 @@ public struct M2Backup { #endif } public struct M2Backup2 { + public static var backupCode: Swift.String { + get + } + public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void) + #endif + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void) + #endif + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void) + #endif #if compiler(>=5.3) && $NonescapableTypes public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void) #endif @@ -160,6 +174,11 @@ public struct M2Image2 { public struct M2K { public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void) } +public struct M2Log { + public static func send(event: Swift.String, count: Swift.Int = 1, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) + public static func lazyLog(event: Swift.String, count: Swift.Int = 1) + public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) +} public struct M2Musi { #if compiler(>=5.3) && $NonescapableTypes public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void) diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.swiftdoc b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.swiftdoc index 4122cfa..e87e826 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.swiftdoc and b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.swiftdoc differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.swiftinterface b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.swiftinterface index 88ee8d8..264d01a 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.swiftinterface +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/arm64-apple-ios-macabi.swiftinterface @@ -97,6 +97,7 @@ extension M2Kit.M2API { @_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String) #endif } +@available(*, deprecated, message: "M2Backup is deprecated. Use M2Backup instead.") public struct M2Backup { public static var backupCode: Swift.String { get @@ -113,6 +114,19 @@ public struct M2Backup { #endif } public struct M2Backup2 { + public static var backupCode: Swift.String { + get + } + public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void) + #endif + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void) + #endif + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void) + #endif #if compiler(>=5.3) && $NonescapableTypes public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void) #endif @@ -160,6 +174,11 @@ public struct M2Image2 { public struct M2K { public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void) } +public struct M2Log { + public static func send(event: Swift.String, count: Swift.Int = 1, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) + public static func lazyLog(event: Swift.String, count: Swift.Int = 1) + public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) +} public struct M2Musi { #if compiler(>=5.3) && $NonescapableTypes public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void) diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.abi.json b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.abi.json index 7ae90a7..b0348e3 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.abi.json +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.abi.json @@ -88,6 +88,16 @@ "declKind": "Import", "moduleName": "M2Kit" }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "M2Kit", + "declAttributes": [ + "RawDocComment" + ] + }, { "kind": "Import", "name": "Foundation", @@ -2617,8 +2627,10 @@ "usr": "s:5M2Kit0A6BackupV", "mangledName": "$s5M2Kit0A6BackupV", "moduleName": "M2Kit", + "deprecated": true, "declAttributes": [ "AccessControl", + "Available", "RawDocComment" ], "conformances": [ @@ -2650,6 +2662,285 @@ "name": "M2Backup2", "printedName": "M2Backup2", "children": [ + { + "kind": "Var", + "name": "backupCode", + "printedName": "backupCode", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:5M2Kit0A7Backup2V10backupCodeSSvpZ", + "mangledName": "$s5M2Kit0A7Backup2V10backupCodeSSvpZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:5M2Kit0A7Backup2V10backupCodeSSvgZ", + "mangledName": "$s5M2Kit0A7Backup2V10backupCodeSSvgZ", + "moduleName": "M2Kit", + "static": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "uploadBackup", + "printedName": "uploadBackup(code:data:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A7Backup2V12uploadBackup4code4data6resultySS_10Foundation4DataVySbctFZ", + "mangledName": "$s5M2Kit0A7Backup2V12uploadBackup4code4data6resultySS_10Foundation4DataVySbctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getBackup", + "printedName": "getBackup(code:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Foundation.Data?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Data?", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A7Backup2V9getBackup4code6resultySS_y10Foundation4DataVSgctFZ", + "mangledName": "$s5M2Kit0A7Backup2V9getBackup4code6resultySS_y10Foundation4DataVSgctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getBackupVersion", + "printedName": "getBackupVersion(code:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Int?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A7Backup2V16getBackupVersion4code6resultySS_ySiSgctFZ", + "mangledName": "$s5M2Kit0A7Backup2V16getBackupVersion4code6resultySS_ySiSgctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getBackupVersions", + "printedName": "getBackupVersions(codes:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String : Swift.Int?]) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.Int?]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "usr": "s:SD" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A7Backup2V17getBackupVersions5codes6resultySaySSG_ySDySSSiSgGctFZ", + "mangledName": "$s5M2Kit0A7Backup2V17getBackupVersions5codes6resultySaySSG_ySDySSSiSgGctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "uploadBackupPlaylist", @@ -3580,6 +3871,171 @@ } ] }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "M2Kit" + }, + { + "kind": "TypeDecl", + "name": "M2Log", + "printedName": "M2Log", + "children": [ + { + "kind": "Function", + "name": "send", + "printedName": "send(event:count:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "hasDefaultArg": true, + "usr": "s:Si" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3LogV4send5event5count6resultySS_SiySbctFZ", + "mangledName": "$s5M2Kit0A3LogV4send5event5count6resultySS_SiySbctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "lazyLog", + "printedName": "lazyLog(event:count:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "hasDefaultArg": true, + "usr": "s:Si" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3LogV04lazyC05event5countySS_SitFZ", + "mangledName": "$s5M2Kit0A3LogV04lazyC05event5countySS_SitFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendAllEvents", + "printedName": "sendAllEvents(result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3LogV13sendAllEvents6resultyySbc_tFZ", + "mangledName": "$s5M2Kit0A3LogV13sendAllEvents6resultyySbc_tFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:5M2Kit0A3LogV", + "mangledName": "$s5M2Kit0A3LogV", + "moduleName": "M2Kit", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, { "kind": "TypeDecl", "name": "M2Musi", @@ -11374,6 +11830,13 @@ "declKind": "Import", "moduleName": "M2Kit" }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "M2Kit" + }, { "kind": "Import", "name": "UIKit", @@ -11449,10 +11912,7 @@ "name": "Foundation", "printedName": "Foundation", "declKind": "Import", - "moduleName": "M2Kit", - "declAttributes": [ - "RawDocComment" - ] + "moduleName": "M2Kit" }, { "kind": "TypeDecl", @@ -12218,6 +12678,436 @@ } ] }, + { + "kind": "TypeDecl", + "name": "Int", + "printedName": "Int", + "declKind": "Struct", + "usr": "s:Si", + "mangledName": "$sSi", + "moduleName": "Swift", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "FixedWidthInteger", + "printedName": "FixedWidthInteger", + "usr": "s:s17FixedWidthIntegerP", + "mangledName": "$ss17FixedWidthIntegerP" + }, + { + "kind": "Conformance", + "name": "SignedInteger", + "printedName": "SignedInteger", + "usr": "s:SZ", + "mangledName": "$sSZ" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinIntegerLiteral", + "printedName": "_ExpressibleByBuiltinIntegerLiteral", + "usr": "s:s35_ExpressibleByBuiltinIntegerLiteralP", + "mangledName": "$ss35_ExpressibleByBuiltinIntegerLiteralP" + }, + { + "kind": "Conformance", + "name": "BinaryInteger", + "printedName": "BinaryInteger", + "children": [ + { + "kind": "TypeWitness", + "name": "Words", + "printedName": "Words", + "children": [ + { + "kind": "TypeNominal", + "name": "Words", + "printedName": "Swift.Int.Words", + "usr": "s:Si5WordsV" + } + ] + } + ], + "usr": "s:Sz", + "mangledName": "$sSz" + }, + { + "kind": "Conformance", + "name": "LosslessStringConvertible", + "printedName": "LosslessStringConvertible", + "usr": "s:s25LosslessStringConvertibleP", + "mangledName": "$ss25LosslessStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "SignedNumeric", + "printedName": "SignedNumeric", + "usr": "s:s13SignedNumericP", + "mangledName": "$ss13SignedNumericP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Numeric", + "printedName": "Numeric", + "children": [ + { + "kind": "TypeWitness", + "name": "Magnitude", + "printedName": "Magnitude", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt", + "printedName": "Swift.UInt", + "usr": "s:Su" + } + ] + } + ], + "usr": "s:Sj", + "mangledName": "$sSj" + }, + { + "kind": "Conformance", + "name": "Strideable", + "printedName": "Strideable", + "children": [ + { + "kind": "TypeWitness", + "name": "Stride", + "printedName": "Stride", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ], + "usr": "s:Sx", + "mangledName": "$sSx" + }, + { + "kind": "Conformance", + "name": "AdditiveArithmetic", + "printedName": "AdditiveArithmetic", + "usr": "s:s18AdditiveArithmeticP", + "mangledName": "$ss18AdditiveArithmeticP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByIntegerLiteral", + "printedName": "ExpressibleByIntegerLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "IntegerLiteralType", + "printedName": "IntegerLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ], + "usr": "s:s27ExpressibleByIntegerLiteralP", + "mangledName": "$ss27ExpressibleByIntegerLiteralP" + }, + { + "kind": "Conformance", + "name": "Comparable", + "printedName": "Comparable", + "usr": "s:SL", + "mangledName": "$sSL" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "CodingKeyRepresentable", + "printedName": "CodingKeyRepresentable", + "usr": "s:s22CodingKeyRepresentableP", + "mangledName": "$ss22CodingKeyRepresentableP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "_CustomPlaygroundQuickLookable", + "printedName": "_CustomPlaygroundQuickLookable", + "usr": "s:s30_CustomPlaygroundQuickLookableP", + "mangledName": "$ss30_CustomPlaygroundQuickLookableP" + }, + { + "kind": "Conformance", + "name": "MirrorPath", + "printedName": "MirrorPath", + "usr": "s:s10MirrorPathP", + "mangledName": "$ss10MirrorPathP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "_HasCustomAnyHashableRepresentation", + "printedName": "_HasCustomAnyHashableRepresentation", + "usr": "s:s35_HasCustomAnyHashableRepresentationP", + "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "SIMDScalar", + "printedName": "SIMDScalar", + "children": [ + { + "kind": "TypeWitness", + "name": "SIMDMaskScalar", + "printedName": "SIMDMaskScalar", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD2Storage", + "printedName": "SIMD2Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD2Storage", + "printedName": "Swift.Int.SIMD2Storage", + "usr": "s:Si12SIMD2StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD4Storage", + "printedName": "SIMD4Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD4Storage", + "printedName": "Swift.Int.SIMD4Storage", + "usr": "s:Si12SIMD4StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD8Storage", + "printedName": "SIMD8Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD8Storage", + "printedName": "Swift.Int.SIMD8Storage", + "usr": "s:Si12SIMD8StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD16Storage", + "printedName": "SIMD16Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD16Storage", + "printedName": "Swift.Int.SIMD16Storage", + "usr": "s:Si13SIMD16StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD32Storage", + "printedName": "SIMD32Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD32Storage", + "printedName": "Swift.Int.SIMD32Storage", + "usr": "s:Si13SIMD32StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD64Storage", + "printedName": "SIMD64Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD64Storage", + "printedName": "Swift.Int.SIMD64Storage", + "usr": "s:Si13SIMD64StorageV" + } + ] + } + ], + "usr": "s:s10SIMDScalarP", + "mangledName": "$ss10SIMDScalarP" + }, + { + "kind": "Conformance", + "name": "BitwiseCopyable", + "printedName": "BitwiseCopyable", + "usr": "s:s15BitwiseCopyableP", + "mangledName": "$ss15BitwiseCopyableP" + }, + { + "kind": "Conformance", + "name": "_FormatSpecifiable", + "printedName": "_FormatSpecifiable", + "children": [ + { + "kind": "TypeWitness", + "name": "_Arg", + "printedName": "_Arg", + "children": [ + { + "kind": "TypeNominal", + "name": "Int64", + "printedName": "Swift.Int64", + "usr": "s:s5Int64V" + } + ] + } + ], + "usr": "s:10Foundation18_FormatSpecifiableP", + "mangledName": "$s10Foundation18_FormatSpecifiableP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSNumber", + "printedName": "Foundation.NSNumber", + "usr": "c:objc(cs)NSNumber" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "_FormatSpecifiable", + "printedName": "_FormatSpecifiable", + "children": [ + { + "kind": "TypeWitness", + "name": "_Arg", + "printedName": "_Arg", + "children": [ + { + "kind": "TypeNominal", + "name": "Int64", + "printedName": "Swift.Int64", + "usr": "s:s5Int64V" + } + ] + } + ], + "usr": "s:7SwiftUI18_FormatSpecifiableP", + "mangledName": "$s7SwiftUI18_FormatSpecifiableP" + } + ] + }, { "kind": "TypeDecl", "name": "Optional", @@ -13887,6 +14777,160 @@ "length": 1, "value": "1" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1305, + "length": 3, + "value": "999" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1337, + "length": 3, + "value": "900" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1367, + "length": 3, + "value": "902" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1392, + "length": 3, + "value": "901" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1416, + "length": 3, + "value": "500" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1443, + "length": 3, + "value": "490" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2681, + "length": 6, + "value": "1" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2694, + "length": 4, + "value": "2" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2705, + "length": 5, + "value": "3" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2717, + "length": 10, + "value": "4" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2734, + "length": 4, + "value": "5" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2745, + "length": 7, + "value": "6" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "Array", + "offset": 3125, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "Array", + "offset": 6432, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "Dictionary", + "offset": 6486, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "StringLiteral", + "offset": 6530, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 6575, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "BooleanLiteral", + "offset": 6660, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 16442, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 17538, + "length": 2, + "value": "10" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "BooleanLiteral", + "offset": 33628, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "BooleanLiteral", + "offset": 33676, + "length": 5, + "value": "false" + }, { "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "kind": "IntegerLiteral", @@ -13948,7 +14992,7 @@ "kind": "StringLiteral", "offset": 131, "length": 5, - "value": "\"5.8\"" + "value": "\"5.9\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2K.swift", @@ -13971,6 +15015,34 @@ "length": 1, "value": "0" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Log.swift", + "kind": "StringLiteral", + "offset": 150, + "length": 22, + "value": "\"M2LogEventDictionary\"" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Log.swift", + "kind": "Dictionary", + "offset": 300, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Log.swift", + "kind": "IntegerLiteral", + "offset": 393, + "length": 1, + "value": "1" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Log.swift", + "kind": "IntegerLiteral", + "offset": 679, + "length": 1, + "value": "1" + }, { "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Setting.swift", "kind": "StringLiteral", @@ -14832,6 +15904,13 @@ "length": 22, "value": "\"getLinkPlayEpisodeRB\"" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Bundle++.swift", + "kind": "StringLiteral", + "offset": 191, + "length": 9, + "value": "\"unknown\"" + }, { "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/EndPointURL.swift", "kind": "StringLiteral", @@ -15015,16 +16094,16 @@ "value": "\"123aA@123\"" }, { - "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Utils2.swift", + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Utils++V4.swift", "kind": "StringLiteral", - "offset": 138, + "offset": 150, "length": 12, "value": "\"image\/jpeg\"" }, { - "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Utils2.swift", + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Utils++V4.swift", "kind": "StringLiteral", - "offset": 179, + "offset": 191, "length": 18, "value": "\"application\/json\"" } diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface index 7e9b919..6998785 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.private.swiftinterface @@ -97,6 +97,7 @@ extension M2Kit.M2API { @_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String) #endif } +@available(*, deprecated, message: "M2Backup is deprecated. Use M2Backup instead.") public struct M2Backup { public static var backupCode: Swift.String { get @@ -113,6 +114,19 @@ public struct M2Backup { #endif } public struct M2Backup2 { + public static var backupCode: Swift.String { + get + } + public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void) + #endif + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void) + #endif + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void) + #endif #if compiler(>=5.3) && $NonescapableTypes public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void) #endif @@ -160,6 +174,11 @@ public struct M2Image2 { public struct M2K { public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void) } +public struct M2Log { + public static func send(event: Swift.String, count: Swift.Int = 1, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) + public static func lazyLog(event: Swift.String, count: Swift.Int = 1) + public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) +} public struct M2Musi { #if compiler(>=5.3) && $NonescapableTypes public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void) diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc index b91ffa7..a6d3a3a 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc and b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.swiftdoc differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface index 7e9b919..6998785 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Modules/M2Kit.swiftmodule/x86_64-apple-ios-macabi.swiftinterface @@ -97,6 +97,7 @@ extension M2Kit.M2API { @_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String) #endif } +@available(*, deprecated, message: "M2Backup is deprecated. Use M2Backup instead.") public struct M2Backup { public static var backupCode: Swift.String { get @@ -113,6 +114,19 @@ public struct M2Backup { #endif } public struct M2Backup2 { + public static var backupCode: Swift.String { + get + } + public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void) + #endif + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void) + #endif + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void) + #endif #if compiler(>=5.3) && $NonescapableTypes public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void) #endif @@ -160,6 +174,11 @@ public struct M2Image2 { public struct M2K { public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void) } +public struct M2Log { + public static func send(event: Swift.String, count: Swift.Int = 1, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) + public static func lazyLog(event: Swift.String, count: Swift.Int = 1) + public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) +} public struct M2Musi { #if compiler(>=5.3) && $NonescapableTypes public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void) diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Resources/Info.plist b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Resources/Info.plist index 3158cd1..9338942 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Resources/Info.plist +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-maccatalyst/M2Kit.framework/Versions/A/Resources/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 5.8 + 5.9 CFBundleSupportedPlatforms MacOSX @@ -37,9 +37,9 @@ DTSDKName macosx26.1 DTXcode - 2610 + 2611 DTXcodeBuild - 17B55 + 17B100 LSMinimumSystemVersion 12.0 UIDeviceFamily diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Info.plist b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Info.plist index c80acac..5351947 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Info.plist and b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Info.plist differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/M2Kit b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/M2Kit index 4b54b35..6882a8e 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/M2Kit and b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/M2Kit differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json index 7ae90a7..b0348e3 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json @@ -88,6 +88,16 @@ "declKind": "Import", "moduleName": "M2Kit" }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "M2Kit", + "declAttributes": [ + "RawDocComment" + ] + }, { "kind": "Import", "name": "Foundation", @@ -2617,8 +2627,10 @@ "usr": "s:5M2Kit0A6BackupV", "mangledName": "$s5M2Kit0A6BackupV", "moduleName": "M2Kit", + "deprecated": true, "declAttributes": [ "AccessControl", + "Available", "RawDocComment" ], "conformances": [ @@ -2650,6 +2662,285 @@ "name": "M2Backup2", "printedName": "M2Backup2", "children": [ + { + "kind": "Var", + "name": "backupCode", + "printedName": "backupCode", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:5M2Kit0A7Backup2V10backupCodeSSvpZ", + "mangledName": "$s5M2Kit0A7Backup2V10backupCodeSSvpZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:5M2Kit0A7Backup2V10backupCodeSSvgZ", + "mangledName": "$s5M2Kit0A7Backup2V10backupCodeSSvgZ", + "moduleName": "M2Kit", + "static": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "uploadBackup", + "printedName": "uploadBackup(code:data:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A7Backup2V12uploadBackup4code4data6resultySS_10Foundation4DataVySbctFZ", + "mangledName": "$s5M2Kit0A7Backup2V12uploadBackup4code4data6resultySS_10Foundation4DataVySbctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getBackup", + "printedName": "getBackup(code:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Foundation.Data?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Data?", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A7Backup2V9getBackup4code6resultySS_y10Foundation4DataVSgctFZ", + "mangledName": "$s5M2Kit0A7Backup2V9getBackup4code6resultySS_y10Foundation4DataVSgctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getBackupVersion", + "printedName": "getBackupVersion(code:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Int?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A7Backup2V16getBackupVersion4code6resultySS_ySiSgctFZ", + "mangledName": "$s5M2Kit0A7Backup2V16getBackupVersion4code6resultySS_ySiSgctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getBackupVersions", + "printedName": "getBackupVersions(codes:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String : Swift.Int?]) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.Int?]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "usr": "s:SD" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A7Backup2V17getBackupVersions5codes6resultySaySSG_ySDySSSiSgGctFZ", + "mangledName": "$s5M2Kit0A7Backup2V17getBackupVersions5codes6resultySaySSG_ySDySSSiSgGctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "uploadBackupPlaylist", @@ -3580,6 +3871,171 @@ } ] }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "M2Kit" + }, + { + "kind": "TypeDecl", + "name": "M2Log", + "printedName": "M2Log", + "children": [ + { + "kind": "Function", + "name": "send", + "printedName": "send(event:count:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "hasDefaultArg": true, + "usr": "s:Si" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3LogV4send5event5count6resultySS_SiySbctFZ", + "mangledName": "$s5M2Kit0A3LogV4send5event5count6resultySS_SiySbctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "lazyLog", + "printedName": "lazyLog(event:count:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "hasDefaultArg": true, + "usr": "s:Si" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3LogV04lazyC05event5countySS_SitFZ", + "mangledName": "$s5M2Kit0A3LogV04lazyC05event5countySS_SitFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendAllEvents", + "printedName": "sendAllEvents(result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3LogV13sendAllEvents6resultyySbc_tFZ", + "mangledName": "$s5M2Kit0A3LogV13sendAllEvents6resultyySbc_tFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:5M2Kit0A3LogV", + "mangledName": "$s5M2Kit0A3LogV", + "moduleName": "M2Kit", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, { "kind": "TypeDecl", "name": "M2Musi", @@ -11374,6 +11830,13 @@ "declKind": "Import", "moduleName": "M2Kit" }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "M2Kit" + }, { "kind": "Import", "name": "UIKit", @@ -11449,10 +11912,7 @@ "name": "Foundation", "printedName": "Foundation", "declKind": "Import", - "moduleName": "M2Kit", - "declAttributes": [ - "RawDocComment" - ] + "moduleName": "M2Kit" }, { "kind": "TypeDecl", @@ -12218,6 +12678,436 @@ } ] }, + { + "kind": "TypeDecl", + "name": "Int", + "printedName": "Int", + "declKind": "Struct", + "usr": "s:Si", + "mangledName": "$sSi", + "moduleName": "Swift", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "FixedWidthInteger", + "printedName": "FixedWidthInteger", + "usr": "s:s17FixedWidthIntegerP", + "mangledName": "$ss17FixedWidthIntegerP" + }, + { + "kind": "Conformance", + "name": "SignedInteger", + "printedName": "SignedInteger", + "usr": "s:SZ", + "mangledName": "$sSZ" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinIntegerLiteral", + "printedName": "_ExpressibleByBuiltinIntegerLiteral", + "usr": "s:s35_ExpressibleByBuiltinIntegerLiteralP", + "mangledName": "$ss35_ExpressibleByBuiltinIntegerLiteralP" + }, + { + "kind": "Conformance", + "name": "BinaryInteger", + "printedName": "BinaryInteger", + "children": [ + { + "kind": "TypeWitness", + "name": "Words", + "printedName": "Words", + "children": [ + { + "kind": "TypeNominal", + "name": "Words", + "printedName": "Swift.Int.Words", + "usr": "s:Si5WordsV" + } + ] + } + ], + "usr": "s:Sz", + "mangledName": "$sSz" + }, + { + "kind": "Conformance", + "name": "LosslessStringConvertible", + "printedName": "LosslessStringConvertible", + "usr": "s:s25LosslessStringConvertibleP", + "mangledName": "$ss25LosslessStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "SignedNumeric", + "printedName": "SignedNumeric", + "usr": "s:s13SignedNumericP", + "mangledName": "$ss13SignedNumericP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Numeric", + "printedName": "Numeric", + "children": [ + { + "kind": "TypeWitness", + "name": "Magnitude", + "printedName": "Magnitude", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt", + "printedName": "Swift.UInt", + "usr": "s:Su" + } + ] + } + ], + "usr": "s:Sj", + "mangledName": "$sSj" + }, + { + "kind": "Conformance", + "name": "Strideable", + "printedName": "Strideable", + "children": [ + { + "kind": "TypeWitness", + "name": "Stride", + "printedName": "Stride", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ], + "usr": "s:Sx", + "mangledName": "$sSx" + }, + { + "kind": "Conformance", + "name": "AdditiveArithmetic", + "printedName": "AdditiveArithmetic", + "usr": "s:s18AdditiveArithmeticP", + "mangledName": "$ss18AdditiveArithmeticP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByIntegerLiteral", + "printedName": "ExpressibleByIntegerLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "IntegerLiteralType", + "printedName": "IntegerLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ], + "usr": "s:s27ExpressibleByIntegerLiteralP", + "mangledName": "$ss27ExpressibleByIntegerLiteralP" + }, + { + "kind": "Conformance", + "name": "Comparable", + "printedName": "Comparable", + "usr": "s:SL", + "mangledName": "$sSL" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "CodingKeyRepresentable", + "printedName": "CodingKeyRepresentable", + "usr": "s:s22CodingKeyRepresentableP", + "mangledName": "$ss22CodingKeyRepresentableP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "_CustomPlaygroundQuickLookable", + "printedName": "_CustomPlaygroundQuickLookable", + "usr": "s:s30_CustomPlaygroundQuickLookableP", + "mangledName": "$ss30_CustomPlaygroundQuickLookableP" + }, + { + "kind": "Conformance", + "name": "MirrorPath", + "printedName": "MirrorPath", + "usr": "s:s10MirrorPathP", + "mangledName": "$ss10MirrorPathP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "_HasCustomAnyHashableRepresentation", + "printedName": "_HasCustomAnyHashableRepresentation", + "usr": "s:s35_HasCustomAnyHashableRepresentationP", + "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "SIMDScalar", + "printedName": "SIMDScalar", + "children": [ + { + "kind": "TypeWitness", + "name": "SIMDMaskScalar", + "printedName": "SIMDMaskScalar", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD2Storage", + "printedName": "SIMD2Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD2Storage", + "printedName": "Swift.Int.SIMD2Storage", + "usr": "s:Si12SIMD2StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD4Storage", + "printedName": "SIMD4Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD4Storage", + "printedName": "Swift.Int.SIMD4Storage", + "usr": "s:Si12SIMD4StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD8Storage", + "printedName": "SIMD8Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD8Storage", + "printedName": "Swift.Int.SIMD8Storage", + "usr": "s:Si12SIMD8StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD16Storage", + "printedName": "SIMD16Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD16Storage", + "printedName": "Swift.Int.SIMD16Storage", + "usr": "s:Si13SIMD16StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD32Storage", + "printedName": "SIMD32Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD32Storage", + "printedName": "Swift.Int.SIMD32Storage", + "usr": "s:Si13SIMD32StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD64Storage", + "printedName": "SIMD64Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD64Storage", + "printedName": "Swift.Int.SIMD64Storage", + "usr": "s:Si13SIMD64StorageV" + } + ] + } + ], + "usr": "s:s10SIMDScalarP", + "mangledName": "$ss10SIMDScalarP" + }, + { + "kind": "Conformance", + "name": "BitwiseCopyable", + "printedName": "BitwiseCopyable", + "usr": "s:s15BitwiseCopyableP", + "mangledName": "$ss15BitwiseCopyableP" + }, + { + "kind": "Conformance", + "name": "_FormatSpecifiable", + "printedName": "_FormatSpecifiable", + "children": [ + { + "kind": "TypeWitness", + "name": "_Arg", + "printedName": "_Arg", + "children": [ + { + "kind": "TypeNominal", + "name": "Int64", + "printedName": "Swift.Int64", + "usr": "s:s5Int64V" + } + ] + } + ], + "usr": "s:10Foundation18_FormatSpecifiableP", + "mangledName": "$s10Foundation18_FormatSpecifiableP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSNumber", + "printedName": "Foundation.NSNumber", + "usr": "c:objc(cs)NSNumber" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "_FormatSpecifiable", + "printedName": "_FormatSpecifiable", + "children": [ + { + "kind": "TypeWitness", + "name": "_Arg", + "printedName": "_Arg", + "children": [ + { + "kind": "TypeNominal", + "name": "Int64", + "printedName": "Swift.Int64", + "usr": "s:s5Int64V" + } + ] + } + ], + "usr": "s:7SwiftUI18_FormatSpecifiableP", + "mangledName": "$s7SwiftUI18_FormatSpecifiableP" + } + ] + }, { "kind": "TypeDecl", "name": "Optional", @@ -13887,6 +14777,160 @@ "length": 1, "value": "1" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1305, + "length": 3, + "value": "999" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1337, + "length": 3, + "value": "900" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1367, + "length": 3, + "value": "902" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1392, + "length": 3, + "value": "901" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1416, + "length": 3, + "value": "500" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1443, + "length": 3, + "value": "490" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2681, + "length": 6, + "value": "1" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2694, + "length": 4, + "value": "2" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2705, + "length": 5, + "value": "3" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2717, + "length": 10, + "value": "4" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2734, + "length": 4, + "value": "5" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2745, + "length": 7, + "value": "6" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "Array", + "offset": 3125, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "Array", + "offset": 6432, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "Dictionary", + "offset": 6486, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "StringLiteral", + "offset": 6530, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 6575, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "BooleanLiteral", + "offset": 6660, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 16442, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 17538, + "length": 2, + "value": "10" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "BooleanLiteral", + "offset": 33628, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "BooleanLiteral", + "offset": 33676, + "length": 5, + "value": "false" + }, { "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "kind": "IntegerLiteral", @@ -13948,7 +14992,7 @@ "kind": "StringLiteral", "offset": 131, "length": 5, - "value": "\"5.8\"" + "value": "\"5.9\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2K.swift", @@ -13971,6 +15015,34 @@ "length": 1, "value": "0" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Log.swift", + "kind": "StringLiteral", + "offset": 150, + "length": 22, + "value": "\"M2LogEventDictionary\"" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Log.swift", + "kind": "Dictionary", + "offset": 300, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Log.swift", + "kind": "IntegerLiteral", + "offset": 393, + "length": 1, + "value": "1" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Log.swift", + "kind": "IntegerLiteral", + "offset": 679, + "length": 1, + "value": "1" + }, { "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Setting.swift", "kind": "StringLiteral", @@ -14832,6 +15904,13 @@ "length": 22, "value": "\"getLinkPlayEpisodeRB\"" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Bundle++.swift", + "kind": "StringLiteral", + "offset": 191, + "length": 9, + "value": "\"unknown\"" + }, { "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/EndPointURL.swift", "kind": "StringLiteral", @@ -15015,16 +16094,16 @@ "value": "\"123aA@123\"" }, { - "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Utils2.swift", + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Utils++V4.swift", "kind": "StringLiteral", - "offset": 138, + "offset": 150, "length": 12, "value": "\"image\/jpeg\"" }, { - "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Utils2.swift", + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Utils++V4.swift", "kind": "StringLiteral", - "offset": 179, + "offset": 191, "length": 18, "value": "\"application\/json\"" } diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface index 9fa7d9b..ca28da1 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface @@ -97,6 +97,7 @@ extension M2Kit.M2API { @_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String) #endif } +@available(*, deprecated, message: "M2Backup is deprecated. Use M2Backup instead.") public struct M2Backup { public static var backupCode: Swift.String { get @@ -113,6 +114,19 @@ public struct M2Backup { #endif } public struct M2Backup2 { + public static var backupCode: Swift.String { + get + } + public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void) + #endif + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void) + #endif + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void) + #endif #if compiler(>=5.3) && $NonescapableTypes public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void) #endif @@ -160,6 +174,11 @@ public struct M2Image2 { public struct M2K { public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void) } +public struct M2Log { + public static func send(event: Swift.String, count: Swift.Int = 1, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) + public static func lazyLog(event: Swift.String, count: Swift.Int = 1) + public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) +} public struct M2Musi { #if compiler(>=5.3) && $NonescapableTypes public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void) diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc index f51238c..d5bf4e9 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc and b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface index 9fa7d9b..ca28da1 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -97,6 +97,7 @@ extension M2Kit.M2API { @_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String) #endif } +@available(*, deprecated, message: "M2Backup is deprecated. Use M2Backup instead.") public struct M2Backup { public static var backupCode: Swift.String { get @@ -113,6 +114,19 @@ public struct M2Backup { #endif } public struct M2Backup2 { + public static var backupCode: Swift.String { + get + } + public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void) + #endif + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void) + #endif + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void) + #endif #if compiler(>=5.3) && $NonescapableTypes public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void) #endif @@ -160,6 +174,11 @@ public struct M2Image2 { public struct M2K { public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void) } +public struct M2Log { + public static func send(event: Swift.String, count: Swift.Int = 1, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) + public static func lazyLog(event: Swift.String, count: Swift.Int = 1) + public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) +} public struct M2Musi { #if compiler(>=5.3) && $NonescapableTypes public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void) diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json index 7ae90a7..b0348e3 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json @@ -88,6 +88,16 @@ "declKind": "Import", "moduleName": "M2Kit" }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "M2Kit", + "declAttributes": [ + "RawDocComment" + ] + }, { "kind": "Import", "name": "Foundation", @@ -2617,8 +2627,10 @@ "usr": "s:5M2Kit0A6BackupV", "mangledName": "$s5M2Kit0A6BackupV", "moduleName": "M2Kit", + "deprecated": true, "declAttributes": [ "AccessControl", + "Available", "RawDocComment" ], "conformances": [ @@ -2650,6 +2662,285 @@ "name": "M2Backup2", "printedName": "M2Backup2", "children": [ + { + "kind": "Var", + "name": "backupCode", + "printedName": "backupCode", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Var", + "usr": "s:5M2Kit0A7Backup2V10backupCodeSSvpZ", + "mangledName": "$s5M2Kit0A7Backup2V10backupCodeSSvpZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Accessor", + "usr": "s:5M2Kit0A7Backup2V10backupCodeSSvgZ", + "mangledName": "$s5M2Kit0A7Backup2V10backupCodeSSvgZ", + "moduleName": "M2Kit", + "static": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "uploadBackup", + "printedName": "uploadBackup(code:data:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A7Backup2V12uploadBackup4code4data6resultySS_10Foundation4DataVySbctFZ", + "mangledName": "$s5M2Kit0A7Backup2V12uploadBackup4code4data6resultySS_10Foundation4DataVySbctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getBackup", + "printedName": "getBackup(code:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Foundation.Data?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Foundation.Data?", + "children": [ + { + "kind": "TypeNominal", + "name": "Data", + "printedName": "Foundation.Data", + "usr": "s:10Foundation4DataV" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A7Backup2V9getBackup4code6resultySS_y10Foundation4DataVSgctFZ", + "mangledName": "$s5M2Kit0A7Backup2V9getBackup4code6resultySS_y10Foundation4DataVSgctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getBackupVersion", + "printedName": "getBackupVersion(code:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Int?) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A7Backup2V16getBackupVersion4code6resultySS_ySiSgctFZ", + "mangledName": "$s5M2Kit0A7Backup2V16getBackupVersion4code6resultySS_ySiSgctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "getBackupVersions", + "printedName": "getBackupVersions(codes:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Array", + "printedName": "[Swift.String]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sa" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "([Swift.String : Swift.Int?]) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Dictionary", + "printedName": "[Swift.String : Swift.Int?]", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + } + ], + "usr": "s:SD" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A7Backup2V17getBackupVersions5codes6resultySaySSG_ySDySSSiSgGctFZ", + "mangledName": "$s5M2Kit0A7Backup2V17getBackupVersions5codes6resultySaySSG_ySDySSSiSgGctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "uploadBackupPlaylist", @@ -3580,6 +3871,171 @@ } ] }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "M2Kit" + }, + { + "kind": "TypeDecl", + "name": "M2Log", + "printedName": "M2Log", + "children": [ + { + "kind": "Function", + "name": "send", + "printedName": "send(event:count:result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "hasDefaultArg": true, + "usr": "s:Si" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3LogV4send5event5count6resultySS_SiySbctFZ", + "mangledName": "$s5M2Kit0A3LogV4send5event5count6resultySS_SiySbctFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "lazyLog", + "printedName": "lazyLog(event:count:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "hasDefaultArg": true, + "usr": "s:Si" + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3LogV04lazyC05event5countySS_SitFZ", + "mangledName": "$s5M2Kit0A3LogV04lazyC05event5countySS_SitFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "sendAllEvents", + "printedName": "sendAllEvents(result:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "declKind": "Func", + "usr": "s:5M2Kit0A3LogV13sendAllEvents6resultyySbc_tFZ", + "mangledName": "$s5M2Kit0A3LogV13sendAllEvents6resultyySbc_tFZ", + "moduleName": "M2Kit", + "static": true, + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:5M2Kit0A3LogV", + "mangledName": "$s5M2Kit0A3LogV", + "moduleName": "M2Kit", + "declAttributes": [ + "AccessControl" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + } + ] + }, { "kind": "TypeDecl", "name": "M2Musi", @@ -11374,6 +11830,13 @@ "declKind": "Import", "moduleName": "M2Kit" }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "M2Kit" + }, { "kind": "Import", "name": "UIKit", @@ -11449,10 +11912,7 @@ "name": "Foundation", "printedName": "Foundation", "declKind": "Import", - "moduleName": "M2Kit", - "declAttributes": [ - "RawDocComment" - ] + "moduleName": "M2Kit" }, { "kind": "TypeDecl", @@ -12218,6 +12678,436 @@ } ] }, + { + "kind": "TypeDecl", + "name": "Int", + "printedName": "Int", + "declKind": "Struct", + "usr": "s:Si", + "mangledName": "$sSi", + "moduleName": "Swift", + "declAttributes": [ + "Frozen" + ], + "isExternal": true, + "conformances": [ + { + "kind": "Conformance", + "name": "FixedWidthInteger", + "printedName": "FixedWidthInteger", + "usr": "s:s17FixedWidthIntegerP", + "mangledName": "$ss17FixedWidthIntegerP" + }, + { + "kind": "Conformance", + "name": "SignedInteger", + "printedName": "SignedInteger", + "usr": "s:SZ", + "mangledName": "$sSZ" + }, + { + "kind": "Conformance", + "name": "_ExpressibleByBuiltinIntegerLiteral", + "printedName": "_ExpressibleByBuiltinIntegerLiteral", + "usr": "s:s35_ExpressibleByBuiltinIntegerLiteralP", + "mangledName": "$ss35_ExpressibleByBuiltinIntegerLiteralP" + }, + { + "kind": "Conformance", + "name": "BinaryInteger", + "printedName": "BinaryInteger", + "children": [ + { + "kind": "TypeWitness", + "name": "Words", + "printedName": "Words", + "children": [ + { + "kind": "TypeNominal", + "name": "Words", + "printedName": "Swift.Int.Words", + "usr": "s:Si5WordsV" + } + ] + } + ], + "usr": "s:Sz", + "mangledName": "$sSz" + }, + { + "kind": "Conformance", + "name": "LosslessStringConvertible", + "printedName": "LosslessStringConvertible", + "usr": "s:s25LosslessStringConvertibleP", + "mangledName": "$ss25LosslessStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "SignedNumeric", + "printedName": "SignedNumeric", + "usr": "s:s13SignedNumericP", + "mangledName": "$ss13SignedNumericP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "Numeric", + "printedName": "Numeric", + "children": [ + { + "kind": "TypeWitness", + "name": "Magnitude", + "printedName": "Magnitude", + "children": [ + { + "kind": "TypeNominal", + "name": "UInt", + "printedName": "Swift.UInt", + "usr": "s:Su" + } + ] + } + ], + "usr": "s:Sj", + "mangledName": "$sSj" + }, + { + "kind": "Conformance", + "name": "Strideable", + "printedName": "Strideable", + "children": [ + { + "kind": "TypeWitness", + "name": "Stride", + "printedName": "Stride", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ], + "usr": "s:Sx", + "mangledName": "$sSx" + }, + { + "kind": "Conformance", + "name": "AdditiveArithmetic", + "printedName": "AdditiveArithmetic", + "usr": "s:s18AdditiveArithmeticP", + "mangledName": "$ss18AdditiveArithmeticP" + }, + { + "kind": "Conformance", + "name": "ExpressibleByIntegerLiteral", + "printedName": "ExpressibleByIntegerLiteral", + "children": [ + { + "kind": "TypeWitness", + "name": "IntegerLiteralType", + "printedName": "IntegerLiteralType", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + } + ], + "usr": "s:s27ExpressibleByIntegerLiteralP", + "mangledName": "$ss27ExpressibleByIntegerLiteralP" + }, + { + "kind": "Conformance", + "name": "Comparable", + "printedName": "Comparable", + "usr": "s:SL", + "mangledName": "$sSL" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "CodingKeyRepresentable", + "printedName": "CodingKeyRepresentable", + "usr": "s:s22CodingKeyRepresentableP", + "mangledName": "$ss22CodingKeyRepresentableP" + }, + { + "kind": "Conformance", + "name": "CustomReflectable", + "printedName": "CustomReflectable", + "usr": "s:s17CustomReflectableP", + "mangledName": "$ss17CustomReflectableP" + }, + { + "kind": "Conformance", + "name": "_CustomPlaygroundQuickLookable", + "printedName": "_CustomPlaygroundQuickLookable", + "usr": "s:s30_CustomPlaygroundQuickLookableP", + "mangledName": "$ss30_CustomPlaygroundQuickLookableP" + }, + { + "kind": "Conformance", + "name": "MirrorPath", + "printedName": "MirrorPath", + "usr": "s:s10MirrorPathP", + "mangledName": "$ss10MirrorPathP" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "_HasCustomAnyHashableRepresentation", + "printedName": "_HasCustomAnyHashableRepresentation", + "usr": "s:s35_HasCustomAnyHashableRepresentationP", + "mangledName": "$ss35_HasCustomAnyHashableRepresentationP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "SendableMetatype", + "printedName": "SendableMetatype", + "usr": "s:s16SendableMetatypeP", + "mangledName": "$ss16SendableMetatypeP" + }, + { + "kind": "Conformance", + "name": "SIMDScalar", + "printedName": "SIMDScalar", + "children": [ + { + "kind": "TypeWitness", + "name": "SIMDMaskScalar", + "printedName": "SIMDMaskScalar", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD2Storage", + "printedName": "SIMD2Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD2Storage", + "printedName": "Swift.Int.SIMD2Storage", + "usr": "s:Si12SIMD2StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD4Storage", + "printedName": "SIMD4Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD4Storage", + "printedName": "Swift.Int.SIMD4Storage", + "usr": "s:Si12SIMD4StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD8Storage", + "printedName": "SIMD8Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD8Storage", + "printedName": "Swift.Int.SIMD8Storage", + "usr": "s:Si12SIMD8StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD16Storage", + "printedName": "SIMD16Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD16Storage", + "printedName": "Swift.Int.SIMD16Storage", + "usr": "s:Si13SIMD16StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD32Storage", + "printedName": "SIMD32Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD32Storage", + "printedName": "Swift.Int.SIMD32Storage", + "usr": "s:Si13SIMD32StorageV" + } + ] + }, + { + "kind": "TypeWitness", + "name": "SIMD64Storage", + "printedName": "SIMD64Storage", + "children": [ + { + "kind": "TypeNominal", + "name": "SIMD64Storage", + "printedName": "Swift.Int.SIMD64Storage", + "usr": "s:Si13SIMD64StorageV" + } + ] + } + ], + "usr": "s:s10SIMDScalarP", + "mangledName": "$ss10SIMDScalarP" + }, + { + "kind": "Conformance", + "name": "BitwiseCopyable", + "printedName": "BitwiseCopyable", + "usr": "s:s15BitwiseCopyableP", + "mangledName": "$ss15BitwiseCopyableP" + }, + { + "kind": "Conformance", + "name": "_FormatSpecifiable", + "printedName": "_FormatSpecifiable", + "children": [ + { + "kind": "TypeWitness", + "name": "_Arg", + "printedName": "_Arg", + "children": [ + { + "kind": "TypeNominal", + "name": "Int64", + "printedName": "Swift.Int64", + "usr": "s:s5Int64V" + } + ] + } + ], + "usr": "s:10Foundation18_FormatSpecifiableP", + "mangledName": "$s10Foundation18_FormatSpecifiableP" + }, + { + "kind": "Conformance", + "name": "_ObjectiveCBridgeable", + "printedName": "_ObjectiveCBridgeable", + "children": [ + { + "kind": "TypeWitness", + "name": "_ObjectiveCType", + "printedName": "_ObjectiveCType", + "children": [ + { + "kind": "TypeNominal", + "name": "NSNumber", + "printedName": "Foundation.NSNumber", + "usr": "c:objc(cs)NSNumber" + } + ] + } + ], + "usr": "s:s21_ObjectiveCBridgeableP", + "mangledName": "$ss21_ObjectiveCBridgeableP" + }, + { + "kind": "Conformance", + "name": "_FormatSpecifiable", + "printedName": "_FormatSpecifiable", + "children": [ + { + "kind": "TypeWitness", + "name": "_Arg", + "printedName": "_Arg", + "children": [ + { + "kind": "TypeNominal", + "name": "Int64", + "printedName": "Swift.Int64", + "usr": "s:s5Int64V" + } + ] + } + ], + "usr": "s:7SwiftUI18_FormatSpecifiableP", + "mangledName": "$s7SwiftUI18_FormatSpecifiableP" + } + ] + }, { "kind": "TypeDecl", "name": "Optional", @@ -13887,6 +14777,160 @@ "length": 1, "value": "1" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1305, + "length": 3, + "value": "999" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1337, + "length": 3, + "value": "900" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1367, + "length": 3, + "value": "902" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1392, + "length": 3, + "value": "901" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1416, + "length": 3, + "value": "500" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 1443, + "length": 3, + "value": "490" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2681, + "length": 6, + "value": "1" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2694, + "length": 4, + "value": "2" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2705, + "length": 5, + "value": "3" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2717, + "length": 10, + "value": "4" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2734, + "length": 4, + "value": "5" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 2745, + "length": 7, + "value": "6" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "Array", + "offset": 3125, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "Array", + "offset": 6432, + "length": 2, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "Dictionary", + "offset": 6486, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "StringLiteral", + "offset": 6530, + "length": 2, + "value": "\"\"" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 6575, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "BooleanLiteral", + "offset": 6660, + "length": 5, + "value": "false" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 16442, + "length": 1, + "value": "0" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "IntegerLiteral", + "offset": 17538, + "length": 2, + "value": "10" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "BooleanLiteral", + "offset": 33628, + "length": 4, + "value": "true" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Core\/SwiftyJSON.swift", + "kind": "BooleanLiteral", + "offset": 33676, + "length": 5, + "value": "false" + }, { "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/JSCore\/XMLHttpRequest.swift", "kind": "IntegerLiteral", @@ -13948,7 +14992,7 @@ "kind": "StringLiteral", "offset": 131, "length": 5, - "value": "\"5.8\"" + "value": "\"5.9\"" }, { "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2K.swift", @@ -13971,6 +15015,34 @@ "length": 1, "value": "0" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Log.swift", + "kind": "StringLiteral", + "offset": 150, + "length": 22, + "value": "\"M2LogEventDictionary\"" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Log.swift", + "kind": "Dictionary", + "offset": 300, + "length": 3, + "value": "[]" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Log.swift", + "kind": "IntegerLiteral", + "offset": 393, + "length": 1, + "value": "1" + }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Log.swift", + "kind": "IntegerLiteral", + "offset": 679, + "length": 1, + "value": "1" + }, { "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Public\/M2Setting.swift", "kind": "StringLiteral", @@ -14832,6 +15904,13 @@ "length": 22, "value": "\"getLinkPlayEpisodeRB\"" }, + { + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Bundle++.swift", + "kind": "StringLiteral", + "offset": 191, + "length": 9, + "value": "\"unknown\"" + }, { "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/EndPointURL.swift", "kind": "StringLiteral", @@ -15015,16 +16094,16 @@ "value": "\"123aA@123\"" }, { - "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Utils2.swift", + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Utils++V4.swift", "kind": "StringLiteral", - "offset": 138, + "offset": 150, "length": 12, "value": "\"image\/jpeg\"" }, { - "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Utils2.swift", + "filePath": "\/Users\/cuongkc\/Projects\/m2kit\/M2Kit\/Utils++V4.swift", "kind": "StringLiteral", - "offset": 179, + "offset": 191, "length": 18, "value": "\"application\/json\"" } diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface index 7dc7057..0a6125c 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface @@ -97,6 +97,7 @@ extension M2Kit.M2API { @_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String) #endif } +@available(*, deprecated, message: "M2Backup is deprecated. Use M2Backup instead.") public struct M2Backup { public static var backupCode: Swift.String { get @@ -113,6 +114,19 @@ public struct M2Backup { #endif } public struct M2Backup2 { + public static var backupCode: Swift.String { + get + } + public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void) + #endif + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void) + #endif + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void) + #endif #if compiler(>=5.3) && $NonescapableTypes public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void) #endif @@ -160,6 +174,11 @@ public struct M2Image2 { public struct M2K { public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void) } +public struct M2Log { + public static func send(event: Swift.String, count: Swift.Int = 1, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) + public static func lazyLog(event: Swift.String, count: Swift.Int = 1) + public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) +} public struct M2Musi { #if compiler(>=5.3) && $NonescapableTypes public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void) diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc index 205084d..466c2a4 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index 7dc7057..0a6125c 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -97,6 +97,7 @@ extension M2Kit.M2API { @_Concurrency.MainActor public static func getLinkPlay(videoId: Swift.String) async -> (videoUrl: Foundation.URL?, videoId: Swift.String) #endif } +@available(*, deprecated, message: "M2Backup is deprecated. Use M2Backup instead.") public struct M2Backup { public static var backupCode: Swift.String { get @@ -113,6 +114,19 @@ public struct M2Backup { #endif } public struct M2Backup2 { + public static var backupCode: Swift.String { + get + } + public static func uploadBackup(code: Swift.String, data: Foundation.Data, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackup(code: Swift.String, result: @escaping (_ data: Foundation.Data?) -> Swift.Void) + #endif + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackupVersion(code: Swift.String, result: @escaping (_ num: Swift.Int?) -> Swift.Void) + #endif + #if compiler(>=5.3) && $NonescapableTypes + public static func getBackupVersions(codes: [Swift.String], result: @escaping (_ results: [Swift.String : Swift.Int?]) -> Swift.Void) + #endif #if compiler(>=5.3) && $NonescapableTypes public static func uploadBackupPlaylist(code: Swift.String, data: Foundation.Data, result: @escaping (_ url: Swift.String?, _ version: Swift.Int) -> Swift.Void) #endif @@ -160,6 +174,11 @@ public struct M2Image2 { public struct M2K { public static func start(c: Swift.String = "", t: Swift.String = "", d: Swift.Int = 0, result: @escaping () -> Swift.Void) } +public struct M2Log { + public static func send(event: Swift.String, count: Swift.Int = 1, result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) + public static func lazyLog(event: Swift.String, count: Swift.Int = 1) + public static func sendAllEvents(result: @escaping (_ isOK: Swift.Bool) -> Swift.Void) +} public struct M2Musi { #if compiler(>=5.3) && $NonescapableTypes public static func getVideosOfPlaylistWithCode(_ code: Swift.String, result: @escaping (_ title: Swift.String?, _ videos: [[Swift.AnyHashable : Any]]) -> Swift.Void) diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/_CodeSignature/CodeDirectory b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/_CodeSignature/CodeDirectory index 7fceca8..ff2c390 100644 Binary files a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/_CodeSignature/CodeDirectory and b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/_CodeSignature/CodeDirectory differ diff --git a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/_CodeSignature/CodeResources b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/_CodeSignature/CodeResources index 1934676..edec899 100644 --- a/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/_CodeSignature/CodeResources +++ b/Frameworks/M2Kit.xcframework/ios-arm64_x86_64-simulator/M2Kit.framework/_CodeSignature/CodeResources @@ -10,47 +10,47 @@ Info.plist - xN4GDcUeZ9JhZpxdf+KxcQLNKxo= + TtQfsetDBxYJCGgyVEa8un9FE4s= Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.abi.json - Q/heEcDPyytObAHeOk+wtFBIydY= + Ed/i99wz3LyUa25XulI6c+Et+B4= Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface - 4nv/pfwNXzenr0LFsy1hkd2gTEQ= + lDlNNnY5wOxTlAgEiAxt99OfPcs= Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc - gAYKkXI9dIODG5xP0AUaUnC1QiA= + gVYvs0pwMssUqEMscLojXLYHZH0= Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface - 4nv/pfwNXzenr0LFsy1hkd2gTEQ= + lDlNNnY5wOxTlAgEiAxt99OfPcs= Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule - IpdvIwowB0x7rDXcjzuc1I9gUKw= + G1FRzf6ZV4IkWCA9a7pbhdCdclE= Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json - Q/heEcDPyytObAHeOk+wtFBIydY= + Ed/i99wz3LyUa25XulI6c+Et+B4= Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface - 89dyWTGJPeQ7KagK3sNb5ZEvzrs= + xLO/XSNQEUWbeMYrSbpcsMmgKi0= Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - YQ2Xic1Ncz3oyq8iKnGEFmGpmIE= + 0EtydSwm6lLpBuiG8GzpXOmAabw= Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - 89dyWTGJPeQ7KagK3sNb5ZEvzrs= + xLO/XSNQEUWbeMYrSbpcsMmgKi0= Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - 0sjeLIa5X7X8wWLyZG8j7IvG0Fo= + /ioKYDgEFJ0WUalE7UXS+OIW+rc= Modules/module.modulemap @@ -70,70 +70,70 @@ hash2 - 0NuiNCJtSAlbG43SjD/j7ey2lEk+djmS339Ob/d6iA4= + D3WtrO0W0XYeOta8TNEsZng2r7UoKZ5e1cBY7dixkoY= Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface hash2 - bM30wqXEcLMaTKL4HEhp8Pcg0vVyeRbjkpF96PGn9Xc= + Hs+tRJDEOSsTUQTwX+IqgQq7/nYltbFMUV+X6HbnJEM= Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftdoc hash2 - dFiycdXiCzP77in6R4xTAya9ds2n/FBIvoi823ab1ME= + PU+xuDu6OKX+o/mc/0yk1cHnpXsBf1yU4whAUyzfA2Q= Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftinterface hash2 - bM30wqXEcLMaTKL4HEhp8Pcg0vVyeRbjkpF96PGn9Xc= + Hs+tRJDEOSsTUQTwX+IqgQq7/nYltbFMUV+X6HbnJEM= Modules/M2Kit.swiftmodule/arm64-apple-ios-simulator.swiftmodule hash2 - oAK2RWToJqjmL56Zyqi+hqo1p1BL/rA65RiXvxIVzVs= + 3NGrDrSU+1g6LWcqnlyFF+0m1nkh3fvfAWtkNtyf39Y= Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.abi.json hash2 - 0NuiNCJtSAlbG43SjD/j7ey2lEk+djmS339Ob/d6iA4= + D3WtrO0W0XYeOta8TNEsZng2r7UoKZ5e1cBY7dixkoY= Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface hash2 - HlsXKKcH0SN7XjcnnjWbAQH1nL0SJ0Nk6ky8VDeQg5Q= + vQYO42syKKvlzqb6BVAmVX9B6XN0Ss58MzTn1zlBjlo= Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftdoc hash2 - WHNTWHjfhTYqvh2ej76LAVNbjiNAK/BNghzWOQbsm24= + EH2UY0mq4fSqzWGrTPQvECMr57ohcA07ma0PY6w8F50= Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface hash2 - HlsXKKcH0SN7XjcnnjWbAQH1nL0SJ0Nk6ky8VDeQg5Q= + vQYO42syKKvlzqb6BVAmVX9B6XN0Ss58MzTn1zlBjlo= Modules/M2Kit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule hash2 - jly+13iFa+sNeVAiSIA9Y2fdo0IcCc4+CnNybyIWHxk= + vGHvrCYrs6EnoT8sSYVX3TqJryFu//Ceo356fdScQXg= Modules/module.modulemap diff --git a/README.md b/README.md index cfa55a3..98345c8 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ M2Kit ===== -v5.8 \ No newline at end of file +v5.9 \ No newline at end of file