diff --git a/Frameworks/Bindings.xcframework/Info.plist b/Frameworks/Bindings.xcframework/Info.plist index 3c96df61083ca794226526858401b4539235d6ba..5da456bbdabbf3d610daca4ce17734b523413a53 100644 --- a/Frameworks/Bindings.xcframework/Info.plist +++ b/Frameworks/Bindings.xcframework/Info.plist @@ -6,30 +6,30 @@ <array> <dict> <key>LibraryIdentifier</key> - <string>ios-arm64_x86_64-simulator</string> + <string>ios-arm64</string> <key>LibraryPath</key> <string>Bindings.framework</string> <key>SupportedArchitectures</key> <array> <string>arm64</string> - <string>x86_64</string> </array> <key>SupportedPlatform</key> <string>ios</string> - <key>SupportedPlatformVariant</key> - <string>simulator</string> </dict> <dict> <key>LibraryIdentifier</key> - <string>ios-arm64</string> + <string>ios-arm64_x86_64-simulator</string> <key>LibraryPath</key> <string>Bindings.framework</string> <key>SupportedArchitectures</key> <array> <string>arm64</string> + <string>x86_64</string> </array> <key>SupportedPlatform</key> <string>ios</string> + <key>SupportedPlatformVariant</key> + <string>simulator</string> </dict> </array> <key>CFBundlePackageType</key> diff --git a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Bindings b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Bindings index 7267786097f1d59d877cf3d9be1a9fca83a91afb..0e927ef84f8d1620e42274d113420c0a284f7d34 100644 Binary files a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Bindings and b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Bindings differ diff --git a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Headers/Bindings.objc.h b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Headers/Bindings.objc.h index f625ef9e8b761631a702b1b07fc6dc56c78b229c..92120af1f87a7254aafedb8cf8a21517c2a35126 100644 --- a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Headers/Bindings.objc.h +++ b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Headers/Bindings.objc.h @@ -1584,14 +1584,14 @@ discovery system or returns by the timeout. Parameters: - e2eID - e2e object ID in the tracker - udContact - the marshalled bytes of the contact.Contact object - - udIdBytes - the marshalled bytes of the id.ID object for the user - discovery server + - lookupId - the marshalled bytes of the id.ID object for the user + that LookupUD will look up. - singleRequestParams - the JSON marshalled bytes of single.RequestParams Returns: - []byte - the JSON marshalled bytes of SingleUseSendReport */ -FOUNDATION_EXPORT NSData* _Nullable BindingsLookupUD(long e2eID, NSData* _Nullable udContact, id<BindingsUdLookupCallback> _Nullable cb, NSData* _Nullable udIdBytes, NSData* _Nullable singleRequestParamsJSON, NSError* _Nullable* _Nullable error); +FOUNDATION_EXPORT NSData* _Nullable BindingsLookupUD(long e2eID, NSData* _Nullable udContact, id<BindingsUdLookupCallback> _Nullable cb, NSData* _Nullable lookupId, NSData* _Nullable singleRequestParamsJSON, NSError* _Nullable* _Nullable error); /** * NewBroadcastChannel creates a bindings-layer broadcast channel & starts listening for new messages diff --git a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/A/Bindings b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/A/Bindings index 7267786097f1d59d877cf3d9be1a9fca83a91afb..0e927ef84f8d1620e42274d113420c0a284f7d34 100644 Binary files a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/A/Bindings and b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/A/Bindings differ diff --git a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/A/Headers/Bindings.objc.h b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/A/Headers/Bindings.objc.h index f625ef9e8b761631a702b1b07fc6dc56c78b229c..92120af1f87a7254aafedb8cf8a21517c2a35126 100644 --- a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/A/Headers/Bindings.objc.h +++ b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/A/Headers/Bindings.objc.h @@ -1584,14 +1584,14 @@ discovery system or returns by the timeout. Parameters: - e2eID - e2e object ID in the tracker - udContact - the marshalled bytes of the contact.Contact object - - udIdBytes - the marshalled bytes of the id.ID object for the user - discovery server + - lookupId - the marshalled bytes of the id.ID object for the user + that LookupUD will look up. - singleRequestParams - the JSON marshalled bytes of single.RequestParams Returns: - []byte - the JSON marshalled bytes of SingleUseSendReport */ -FOUNDATION_EXPORT NSData* _Nullable BindingsLookupUD(long e2eID, NSData* _Nullable udContact, id<BindingsUdLookupCallback> _Nullable cb, NSData* _Nullable udIdBytes, NSData* _Nullable singleRequestParamsJSON, NSError* _Nullable* _Nullable error); +FOUNDATION_EXPORT NSData* _Nullable BindingsLookupUD(long e2eID, NSData* _Nullable udContact, id<BindingsUdLookupCallback> _Nullable cb, NSData* _Nullable lookupId, NSData* _Nullable singleRequestParamsJSON, NSError* _Nullable* _Nullable error); /** * NewBroadcastChannel creates a bindings-layer broadcast channel & starts listening for new messages diff --git a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/Current/Bindings b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/Current/Bindings index 7267786097f1d59d877cf3d9be1a9fca83a91afb..0e927ef84f8d1620e42274d113420c0a284f7d34 100644 Binary files a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/Current/Bindings and b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/Current/Bindings differ diff --git a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/Current/Headers/Bindings.objc.h b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/Current/Headers/Bindings.objc.h index f625ef9e8b761631a702b1b07fc6dc56c78b229c..92120af1f87a7254aafedb8cf8a21517c2a35126 100644 --- a/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/Current/Headers/Bindings.objc.h +++ b/Frameworks/Bindings.xcframework/ios-arm64/Bindings.framework/Versions/Current/Headers/Bindings.objc.h @@ -1584,14 +1584,14 @@ discovery system or returns by the timeout. Parameters: - e2eID - e2e object ID in the tracker - udContact - the marshalled bytes of the contact.Contact object - - udIdBytes - the marshalled bytes of the id.ID object for the user - discovery server + - lookupId - the marshalled bytes of the id.ID object for the user + that LookupUD will look up. - singleRequestParams - the JSON marshalled bytes of single.RequestParams Returns: - []byte - the JSON marshalled bytes of SingleUseSendReport */ -FOUNDATION_EXPORT NSData* _Nullable BindingsLookupUD(long e2eID, NSData* _Nullable udContact, id<BindingsUdLookupCallback> _Nullable cb, NSData* _Nullable udIdBytes, NSData* _Nullable singleRequestParamsJSON, NSError* _Nullable* _Nullable error); +FOUNDATION_EXPORT NSData* _Nullable BindingsLookupUD(long e2eID, NSData* _Nullable udContact, id<BindingsUdLookupCallback> _Nullable cb, NSData* _Nullable lookupId, NSData* _Nullable singleRequestParamsJSON, NSError* _Nullable* _Nullable error); /** * NewBroadcastChannel creates a bindings-layer broadcast channel & starts listening for new messages diff --git a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Bindings b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Bindings index c3a97c15db2fd9ff9c08df5a2df1e9d276e783b7..e150b96d08dfe04c943e03f8402ae6467deab42a 100644 Binary files a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Bindings and b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Bindings differ diff --git a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Headers/Bindings.objc.h b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Headers/Bindings.objc.h index f625ef9e8b761631a702b1b07fc6dc56c78b229c..92120af1f87a7254aafedb8cf8a21517c2a35126 100644 --- a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Headers/Bindings.objc.h +++ b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Headers/Bindings.objc.h @@ -1584,14 +1584,14 @@ discovery system or returns by the timeout. Parameters: - e2eID - e2e object ID in the tracker - udContact - the marshalled bytes of the contact.Contact object - - udIdBytes - the marshalled bytes of the id.ID object for the user - discovery server + - lookupId - the marshalled bytes of the id.ID object for the user + that LookupUD will look up. - singleRequestParams - the JSON marshalled bytes of single.RequestParams Returns: - []byte - the JSON marshalled bytes of SingleUseSendReport */ -FOUNDATION_EXPORT NSData* _Nullable BindingsLookupUD(long e2eID, NSData* _Nullable udContact, id<BindingsUdLookupCallback> _Nullable cb, NSData* _Nullable udIdBytes, NSData* _Nullable singleRequestParamsJSON, NSError* _Nullable* _Nullable error); +FOUNDATION_EXPORT NSData* _Nullable BindingsLookupUD(long e2eID, NSData* _Nullable udContact, id<BindingsUdLookupCallback> _Nullable cb, NSData* _Nullable lookupId, NSData* _Nullable singleRequestParamsJSON, NSError* _Nullable* _Nullable error); /** * NewBroadcastChannel creates a bindings-layer broadcast channel & starts listening for new messages diff --git a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/A/Bindings b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/A/Bindings index c3a97c15db2fd9ff9c08df5a2df1e9d276e783b7..e150b96d08dfe04c943e03f8402ae6467deab42a 100644 Binary files a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/A/Bindings and b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/A/Bindings differ diff --git a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/A/Headers/Bindings.objc.h b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/A/Headers/Bindings.objc.h index f625ef9e8b761631a702b1b07fc6dc56c78b229c..92120af1f87a7254aafedb8cf8a21517c2a35126 100644 --- a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/A/Headers/Bindings.objc.h +++ b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/A/Headers/Bindings.objc.h @@ -1584,14 +1584,14 @@ discovery system or returns by the timeout. Parameters: - e2eID - e2e object ID in the tracker - udContact - the marshalled bytes of the contact.Contact object - - udIdBytes - the marshalled bytes of the id.ID object for the user - discovery server + - lookupId - the marshalled bytes of the id.ID object for the user + that LookupUD will look up. - singleRequestParams - the JSON marshalled bytes of single.RequestParams Returns: - []byte - the JSON marshalled bytes of SingleUseSendReport */ -FOUNDATION_EXPORT NSData* _Nullable BindingsLookupUD(long e2eID, NSData* _Nullable udContact, id<BindingsUdLookupCallback> _Nullable cb, NSData* _Nullable udIdBytes, NSData* _Nullable singleRequestParamsJSON, NSError* _Nullable* _Nullable error); +FOUNDATION_EXPORT NSData* _Nullable BindingsLookupUD(long e2eID, NSData* _Nullable udContact, id<BindingsUdLookupCallback> _Nullable cb, NSData* _Nullable lookupId, NSData* _Nullable singleRequestParamsJSON, NSError* _Nullable* _Nullable error); /** * NewBroadcastChannel creates a bindings-layer broadcast channel & starts listening for new messages diff --git a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/Current/Bindings b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/Current/Bindings index c3a97c15db2fd9ff9c08df5a2df1e9d276e783b7..e150b96d08dfe04c943e03f8402ae6467deab42a 100644 Binary files a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/Current/Bindings and b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/Current/Bindings differ diff --git a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/Current/Headers/Bindings.objc.h b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/Current/Headers/Bindings.objc.h index f625ef9e8b761631a702b1b07fc6dc56c78b229c..92120af1f87a7254aafedb8cf8a21517c2a35126 100644 --- a/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/Current/Headers/Bindings.objc.h +++ b/Frameworks/Bindings.xcframework/ios-arm64_x86_64-simulator/Bindings.framework/Versions/Current/Headers/Bindings.objc.h @@ -1584,14 +1584,14 @@ discovery system or returns by the timeout. Parameters: - e2eID - e2e object ID in the tracker - udContact - the marshalled bytes of the contact.Contact object - - udIdBytes - the marshalled bytes of the id.ID object for the user - discovery server + - lookupId - the marshalled bytes of the id.ID object for the user + that LookupUD will look up. - singleRequestParams - the JSON marshalled bytes of single.RequestParams Returns: - []byte - the JSON marshalled bytes of SingleUseSendReport */ -FOUNDATION_EXPORT NSData* _Nullable BindingsLookupUD(long e2eID, NSData* _Nullable udContact, id<BindingsUdLookupCallback> _Nullable cb, NSData* _Nullable udIdBytes, NSData* _Nullable singleRequestParamsJSON, NSError* _Nullable* _Nullable error); +FOUNDATION_EXPORT NSData* _Nullable BindingsLookupUD(long e2eID, NSData* _Nullable udContact, id<BindingsUdLookupCallback> _Nullable cb, NSData* _Nullable lookupId, NSData* _Nullable singleRequestParamsJSON, NSError* _Nullable* _Nullable error); /** * NewBroadcastChannel creates a bindings-layer broadcast channel & starts listening for new messages diff --git a/Sources/ElixxirDAppsSDK/Functors/LookupUD.swift b/Sources/ElixxirDAppsSDK/Functors/LookupUD.swift index c144f6a03ecfc6e41444b270495ae533bc145eab..5bd977c66c5211dc42d1e041aba08ac8f00bdc7f 100644 --- a/Sources/ElixxirDAppsSDK/Functors/LookupUD.swift +++ b/Sources/ElixxirDAppsSDK/Functors/LookupUD.swift @@ -7,24 +7,24 @@ public struct LookupUD { public func callAsFunction( e2eId: Int, udContact: Data, - udId: Data, + lookupId: Data, singleRequestParamsJSON: Data = GetSingleUseParams.liveDefault(), callback: UdLookupCallback ) throws -> SingleUseSendReport { - try run(e2eId, udContact, udId, singleRequestParamsJSON, callback) + try run(e2eId, udContact, lookupId, singleRequestParamsJSON, callback) } } extension LookupUD { public static let live = LookupUD { - e2eId, udContact, udId, singleRequestParamsJSON, callback in + e2eId, udContact, lookupId, singleRequestParamsJSON, callback in var error: NSError? let reportData = BindingsLookupUD( e2eId, udContact, callback.makeBindingsUdLookupCallback(), - udId, + lookupId, singleRequestParamsJSON, &error )