diff --git a/README.md b/README.md index 69a60de..eaa35b3 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ repositories { } dependencies { - implementation("io.eqoty.secretk:client:0.7.0") + implementation("io.eqoty.secretk:client:0.8.0") } ``` @@ -58,7 +58,7 @@ dependencies { you need to declare your dependency in your `Package.swift`: ```swift -.package(url: "https://github.com/eqoty-labs/secretk.git", from: "0.7.0"), +.package(url: "https://github.com/eqoty-labs/secretk.git", from: "0.8.0"), ``` ## Useage diff --git a/gradle.properties b/gradle.properties index bd1dc87..225bb6d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx4g # Publishing : Required GROUP=io.eqoty.secretk -VERSION_NAME=0.7.0 +VERSION_NAME=0.8.0 POM_ARTIFACT_ID=client # Publishing : Optional diff --git a/secretk.xcframework/Info.plist b/secretk.xcframework/Info.plist index 32f876f..310119e 100644 --- a/secretk.xcframework/Info.plist +++ b/secretk.xcframework/Info.plist @@ -5,17 +5,18 @@ AvailableLibraries + DebugSymbolsPath + dSYMs LibraryIdentifier - macos-arm64_x86_64 + ios-arm64 LibraryPath secretk.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform - macos + ios DebugSymbolsPath @@ -35,18 +36,17 @@ simulator - DebugSymbolsPath - dSYMs LibraryIdentifier - ios-arm64 + macos-arm64_x86_64 LibraryPath secretk.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform - ios + macos CFBundlePackageType diff --git a/secretk.xcframework/ios-arm64/dSYMs/secretk.framework.dSYM/Contents/Resources/DWARF/secretk b/secretk.xcframework/ios-arm64/dSYMs/secretk.framework.dSYM/Contents/Resources/DWARF/secretk index 43bdede..e05d253 100644 Binary files a/secretk.xcframework/ios-arm64/dSYMs/secretk.framework.dSYM/Contents/Resources/DWARF/secretk and b/secretk.xcframework/ios-arm64/dSYMs/secretk.framework.dSYM/Contents/Resources/DWARF/secretk differ diff --git a/secretk.xcframework/ios-arm64/secretk.framework/Headers/secretk.h b/secretk.xcframework/ios-arm64/secretk.framework/Headers/secretk.h index 2b0ae97..097879c 100644 --- a/secretk.xcframework/ios-arm64/secretk.framework/Headers/secretk.h +++ b/secretk.xcframework/ios-arm64/secretk.framework/Headers/secretk.h @@ -276,6 +276,7 @@ __attribute__((swift_name("Msg"))) __attribute__((swift_name("EncryptedMsg"))) @protocol SecretkEncryptedMsg @required +- (NSString *)getMissingParameterWarningMethod:(NSString *)method parameter:(NSString *)parameter __attribute__((swift_name("getMissingParameterWarning(method:parameter:)"))); /** @note This method converts instances of CancellationException to errors. @@ -342,10 +343,10 @@ __attribute__((swift_name("MsgExecuteContract"))) */ - (void)toProtoUtils:(id)utils completionHandler:(void (^)(SecretkProtoMsg * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toProto(utils:completionHandler:)"))); @property NSString * _Nullable codeHash __attribute__((swift_name("codeHash"))); -@property (readonly) NSString *contractAddress __attribute__((swift_name("contractAddress"))); +@property NSString *contractAddress __attribute__((swift_name("contractAddress"))); @property (readonly) NSString *msg __attribute__((swift_name("msg"))); -@property (readonly) NSString *sender __attribute__((swift_name("sender"))); -@property (readonly) NSArray *sentFunds __attribute__((swift_name("sentFunds"))); +@property NSString *sender __attribute__((swift_name("sender"))); +@property NSArray *sentFunds __attribute__((swift_name("sentFunds"))); @end; __attribute__((objc_subclassing_restricted)) @@ -372,7 +373,7 @@ __attribute__((swift_name("MsgExecuteContractAmino.Companion"))) __attribute__((objc_subclassing_restricted)) __attribute__((swift_name("MsgInstantiateContract"))) @interface SecretkMsgInstantiateContract : SecretkBase -- (instancetype)initWithSender:(NSString *)sender codeId:(int32_t)codeId label:(NSString *)label initMsg:(NSString *)initMsg initFunds:(NSArray *)initFunds codeHash:(NSString * _Nullable)codeHash __attribute__((swift_name("init(sender:codeId:label:initMsg:initFunds:codeHash:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithSender:(NSString *)sender codeId:(SecretkInt * _Nullable)codeId label:(NSString *)label initMsg:(NSString *)initMsg initFunds:(NSArray *)initFunds codeHash:(NSString * _Nullable)codeHash __attribute__((swift_name("init(sender:codeId:label:initMsg:initFunds:codeHash:)"))) __attribute__((objc_designated_initializer)); /** @note This method converts instances of CancellationException to errors. @@ -386,11 +387,11 @@ __attribute__((swift_name("MsgInstantiateContract"))) */ - (void)toProtoUtils:(id)utils completionHandler:(void (^)(SecretkProtoMsg * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toProto(utils:completionHandler:)"))); @property NSString * _Nullable codeHash __attribute__((swift_name("codeHash"))); -@property (readonly) int32_t codeId __attribute__((swift_name("codeId"))); -@property (readonly, getter=doInitFunds) NSArray *initFunds __attribute__((swift_name("initFunds"))); +@property SecretkInt * _Nullable codeId __attribute__((swift_name("codeId"))); +@property (getter=doInitFunds) NSArray *initFunds __attribute__((swift_name("initFunds"))); @property (readonly, getter=doInitMsg) NSString *initMsg __attribute__((swift_name("initMsg"))); -@property (readonly) NSString *label __attribute__((swift_name("label"))); -@property (readonly) NSString *sender __attribute__((swift_name("sender"))); +@property NSString *label __attribute__((swift_name("label"))); +@property NSString *sender __attribute__((swift_name("sender"))); @end; __attribute__((swift_name("UnencryptedMsg"))) @@ -2347,7 +2348,9 @@ __attribute__((swift_name("AminoWallet"))) __attribute__((objc_subclassing_restricted)) __attribute__((swift_name("DirectSigningWallet"))) @interface SecretkDirectSigningWallet : SecretkBaseWallet -- (instancetype)initWithMnemonic:(NSString *)mnemonic __attribute__((swift_name("init(mnemonic:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMnemonic:(NSString * _Nullable)mnemonic __attribute__((swift_name("init(mnemonic:)"))) __attribute__((objc_designated_initializer)); /** @note This method converts instances of CancellationException to errors. @@ -3280,7 +3283,6 @@ __attribute__((swift_name("HelpersKt"))) Other uncaught Kotlin exceptions are fatal. */ + (void)ensureLibsodiumInitializedWithCompletionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("ensureLibsodiumInitialized(completionHandler:)"))); -+ (NSString *)getMissingCodeHashWarningMethod:(NSString *)method __attribute__((swift_name("getMissingCodeHashWarning(method:)"))); @end; __attribute__((objc_subclassing_restricted)) diff --git a/secretk.xcframework/ios-arm64/secretk.framework/secretk b/secretk.xcframework/ios-arm64/secretk.framework/secretk index d4f63a1..dc19d23 100755 Binary files a/secretk.xcframework/ios-arm64/secretk.framework/secretk and b/secretk.xcframework/ios-arm64/secretk.framework/secretk differ diff --git a/secretk.xcframework/ios-arm64_x86_64-simulator/dSYMs/secretk.framework.dSYM/Contents/Resources/DWARF/secretk b/secretk.xcframework/ios-arm64_x86_64-simulator/dSYMs/secretk.framework.dSYM/Contents/Resources/DWARF/secretk index 7b89e00..876d751 100644 Binary files a/secretk.xcframework/ios-arm64_x86_64-simulator/dSYMs/secretk.framework.dSYM/Contents/Resources/DWARF/secretk and b/secretk.xcframework/ios-arm64_x86_64-simulator/dSYMs/secretk.framework.dSYM/Contents/Resources/DWARF/secretk differ diff --git a/secretk.xcframework/ios-arm64_x86_64-simulator/secretk.framework/Headers/secretk.h b/secretk.xcframework/ios-arm64_x86_64-simulator/secretk.framework/Headers/secretk.h index 2b0ae97..097879c 100644 --- a/secretk.xcframework/ios-arm64_x86_64-simulator/secretk.framework/Headers/secretk.h +++ b/secretk.xcframework/ios-arm64_x86_64-simulator/secretk.framework/Headers/secretk.h @@ -276,6 +276,7 @@ __attribute__((swift_name("Msg"))) __attribute__((swift_name("EncryptedMsg"))) @protocol SecretkEncryptedMsg @required +- (NSString *)getMissingParameterWarningMethod:(NSString *)method parameter:(NSString *)parameter __attribute__((swift_name("getMissingParameterWarning(method:parameter:)"))); /** @note This method converts instances of CancellationException to errors. @@ -342,10 +343,10 @@ __attribute__((swift_name("MsgExecuteContract"))) */ - (void)toProtoUtils:(id)utils completionHandler:(void (^)(SecretkProtoMsg * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toProto(utils:completionHandler:)"))); @property NSString * _Nullable codeHash __attribute__((swift_name("codeHash"))); -@property (readonly) NSString *contractAddress __attribute__((swift_name("contractAddress"))); +@property NSString *contractAddress __attribute__((swift_name("contractAddress"))); @property (readonly) NSString *msg __attribute__((swift_name("msg"))); -@property (readonly) NSString *sender __attribute__((swift_name("sender"))); -@property (readonly) NSArray *sentFunds __attribute__((swift_name("sentFunds"))); +@property NSString *sender __attribute__((swift_name("sender"))); +@property NSArray *sentFunds __attribute__((swift_name("sentFunds"))); @end; __attribute__((objc_subclassing_restricted)) @@ -372,7 +373,7 @@ __attribute__((swift_name("MsgExecuteContractAmino.Companion"))) __attribute__((objc_subclassing_restricted)) __attribute__((swift_name("MsgInstantiateContract"))) @interface SecretkMsgInstantiateContract : SecretkBase -- (instancetype)initWithSender:(NSString *)sender codeId:(int32_t)codeId label:(NSString *)label initMsg:(NSString *)initMsg initFunds:(NSArray *)initFunds codeHash:(NSString * _Nullable)codeHash __attribute__((swift_name("init(sender:codeId:label:initMsg:initFunds:codeHash:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithSender:(NSString *)sender codeId:(SecretkInt * _Nullable)codeId label:(NSString *)label initMsg:(NSString *)initMsg initFunds:(NSArray *)initFunds codeHash:(NSString * _Nullable)codeHash __attribute__((swift_name("init(sender:codeId:label:initMsg:initFunds:codeHash:)"))) __attribute__((objc_designated_initializer)); /** @note This method converts instances of CancellationException to errors. @@ -386,11 +387,11 @@ __attribute__((swift_name("MsgInstantiateContract"))) */ - (void)toProtoUtils:(id)utils completionHandler:(void (^)(SecretkProtoMsg * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toProto(utils:completionHandler:)"))); @property NSString * _Nullable codeHash __attribute__((swift_name("codeHash"))); -@property (readonly) int32_t codeId __attribute__((swift_name("codeId"))); -@property (readonly, getter=doInitFunds) NSArray *initFunds __attribute__((swift_name("initFunds"))); +@property SecretkInt * _Nullable codeId __attribute__((swift_name("codeId"))); +@property (getter=doInitFunds) NSArray *initFunds __attribute__((swift_name("initFunds"))); @property (readonly, getter=doInitMsg) NSString *initMsg __attribute__((swift_name("initMsg"))); -@property (readonly) NSString *label __attribute__((swift_name("label"))); -@property (readonly) NSString *sender __attribute__((swift_name("sender"))); +@property NSString *label __attribute__((swift_name("label"))); +@property NSString *sender __attribute__((swift_name("sender"))); @end; __attribute__((swift_name("UnencryptedMsg"))) @@ -2347,7 +2348,9 @@ __attribute__((swift_name("AminoWallet"))) __attribute__((objc_subclassing_restricted)) __attribute__((swift_name("DirectSigningWallet"))) @interface SecretkDirectSigningWallet : SecretkBaseWallet -- (instancetype)initWithMnemonic:(NSString *)mnemonic __attribute__((swift_name("init(mnemonic:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMnemonic:(NSString * _Nullable)mnemonic __attribute__((swift_name("init(mnemonic:)"))) __attribute__((objc_designated_initializer)); /** @note This method converts instances of CancellationException to errors. @@ -3280,7 +3283,6 @@ __attribute__((swift_name("HelpersKt"))) Other uncaught Kotlin exceptions are fatal. */ + (void)ensureLibsodiumInitializedWithCompletionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("ensureLibsodiumInitialized(completionHandler:)"))); -+ (NSString *)getMissingCodeHashWarningMethod:(NSString *)method __attribute__((swift_name("getMissingCodeHashWarning(method:)"))); @end; __attribute__((objc_subclassing_restricted)) diff --git a/secretk.xcframework/ios-arm64_x86_64-simulator/secretk.framework/secretk b/secretk.xcframework/ios-arm64_x86_64-simulator/secretk.framework/secretk index 2ab3ce5..87b2276 100755 Binary files a/secretk.xcframework/ios-arm64_x86_64-simulator/secretk.framework/secretk and b/secretk.xcframework/ios-arm64_x86_64-simulator/secretk.framework/secretk differ diff --git a/secretk.xcframework/macos-arm64_x86_64/secretk.framework/Headers/secretk.h b/secretk.xcframework/macos-arm64_x86_64/secretk.framework/Headers/secretk.h index 2b0ae97..097879c 100644 --- a/secretk.xcframework/macos-arm64_x86_64/secretk.framework/Headers/secretk.h +++ b/secretk.xcframework/macos-arm64_x86_64/secretk.framework/Headers/secretk.h @@ -276,6 +276,7 @@ __attribute__((swift_name("Msg"))) __attribute__((swift_name("EncryptedMsg"))) @protocol SecretkEncryptedMsg @required +- (NSString *)getMissingParameterWarningMethod:(NSString *)method parameter:(NSString *)parameter __attribute__((swift_name("getMissingParameterWarning(method:parameter:)"))); /** @note This method converts instances of CancellationException to errors. @@ -342,10 +343,10 @@ __attribute__((swift_name("MsgExecuteContract"))) */ - (void)toProtoUtils:(id)utils completionHandler:(void (^)(SecretkProtoMsg * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toProto(utils:completionHandler:)"))); @property NSString * _Nullable codeHash __attribute__((swift_name("codeHash"))); -@property (readonly) NSString *contractAddress __attribute__((swift_name("contractAddress"))); +@property NSString *contractAddress __attribute__((swift_name("contractAddress"))); @property (readonly) NSString *msg __attribute__((swift_name("msg"))); -@property (readonly) NSString *sender __attribute__((swift_name("sender"))); -@property (readonly) NSArray *sentFunds __attribute__((swift_name("sentFunds"))); +@property NSString *sender __attribute__((swift_name("sender"))); +@property NSArray *sentFunds __attribute__((swift_name("sentFunds"))); @end; __attribute__((objc_subclassing_restricted)) @@ -372,7 +373,7 @@ __attribute__((swift_name("MsgExecuteContractAmino.Companion"))) __attribute__((objc_subclassing_restricted)) __attribute__((swift_name("MsgInstantiateContract"))) @interface SecretkMsgInstantiateContract : SecretkBase -- (instancetype)initWithSender:(NSString *)sender codeId:(int32_t)codeId label:(NSString *)label initMsg:(NSString *)initMsg initFunds:(NSArray *)initFunds codeHash:(NSString * _Nullable)codeHash __attribute__((swift_name("init(sender:codeId:label:initMsg:initFunds:codeHash:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithSender:(NSString *)sender codeId:(SecretkInt * _Nullable)codeId label:(NSString *)label initMsg:(NSString *)initMsg initFunds:(NSArray *)initFunds codeHash:(NSString * _Nullable)codeHash __attribute__((swift_name("init(sender:codeId:label:initMsg:initFunds:codeHash:)"))) __attribute__((objc_designated_initializer)); /** @note This method converts instances of CancellationException to errors. @@ -386,11 +387,11 @@ __attribute__((swift_name("MsgInstantiateContract"))) */ - (void)toProtoUtils:(id)utils completionHandler:(void (^)(SecretkProtoMsg * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toProto(utils:completionHandler:)"))); @property NSString * _Nullable codeHash __attribute__((swift_name("codeHash"))); -@property (readonly) int32_t codeId __attribute__((swift_name("codeId"))); -@property (readonly, getter=doInitFunds) NSArray *initFunds __attribute__((swift_name("initFunds"))); +@property SecretkInt * _Nullable codeId __attribute__((swift_name("codeId"))); +@property (getter=doInitFunds) NSArray *initFunds __attribute__((swift_name("initFunds"))); @property (readonly, getter=doInitMsg) NSString *initMsg __attribute__((swift_name("initMsg"))); -@property (readonly) NSString *label __attribute__((swift_name("label"))); -@property (readonly) NSString *sender __attribute__((swift_name("sender"))); +@property NSString *label __attribute__((swift_name("label"))); +@property NSString *sender __attribute__((swift_name("sender"))); @end; __attribute__((swift_name("UnencryptedMsg"))) @@ -2347,7 +2348,9 @@ __attribute__((swift_name("AminoWallet"))) __attribute__((objc_subclassing_restricted)) __attribute__((swift_name("DirectSigningWallet"))) @interface SecretkDirectSigningWallet : SecretkBaseWallet -- (instancetype)initWithMnemonic:(NSString *)mnemonic __attribute__((swift_name("init(mnemonic:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMnemonic:(NSString * _Nullable)mnemonic __attribute__((swift_name("init(mnemonic:)"))) __attribute__((objc_designated_initializer)); /** @note This method converts instances of CancellationException to errors. @@ -3280,7 +3283,6 @@ __attribute__((swift_name("HelpersKt"))) Other uncaught Kotlin exceptions are fatal. */ + (void)ensureLibsodiumInitializedWithCompletionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("ensureLibsodiumInitialized(completionHandler:)"))); -+ (NSString *)getMissingCodeHashWarningMethod:(NSString *)method __attribute__((swift_name("getMissingCodeHashWarning(method:)"))); @end; __attribute__((objc_subclassing_restricted)) diff --git a/secretk.xcframework/macos-arm64_x86_64/secretk.framework/Versions/A/Headers/secretk.h b/secretk.xcframework/macos-arm64_x86_64/secretk.framework/Versions/A/Headers/secretk.h index 2b0ae97..097879c 100644 --- a/secretk.xcframework/macos-arm64_x86_64/secretk.framework/Versions/A/Headers/secretk.h +++ b/secretk.xcframework/macos-arm64_x86_64/secretk.framework/Versions/A/Headers/secretk.h @@ -276,6 +276,7 @@ __attribute__((swift_name("Msg"))) __attribute__((swift_name("EncryptedMsg"))) @protocol SecretkEncryptedMsg @required +- (NSString *)getMissingParameterWarningMethod:(NSString *)method parameter:(NSString *)parameter __attribute__((swift_name("getMissingParameterWarning(method:parameter:)"))); /** @note This method converts instances of CancellationException to errors. @@ -342,10 +343,10 @@ __attribute__((swift_name("MsgExecuteContract"))) */ - (void)toProtoUtils:(id)utils completionHandler:(void (^)(SecretkProtoMsg * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toProto(utils:completionHandler:)"))); @property NSString * _Nullable codeHash __attribute__((swift_name("codeHash"))); -@property (readonly) NSString *contractAddress __attribute__((swift_name("contractAddress"))); +@property NSString *contractAddress __attribute__((swift_name("contractAddress"))); @property (readonly) NSString *msg __attribute__((swift_name("msg"))); -@property (readonly) NSString *sender __attribute__((swift_name("sender"))); -@property (readonly) NSArray *sentFunds __attribute__((swift_name("sentFunds"))); +@property NSString *sender __attribute__((swift_name("sender"))); +@property NSArray *sentFunds __attribute__((swift_name("sentFunds"))); @end; __attribute__((objc_subclassing_restricted)) @@ -372,7 +373,7 @@ __attribute__((swift_name("MsgExecuteContractAmino.Companion"))) __attribute__((objc_subclassing_restricted)) __attribute__((swift_name("MsgInstantiateContract"))) @interface SecretkMsgInstantiateContract : SecretkBase -- (instancetype)initWithSender:(NSString *)sender codeId:(int32_t)codeId label:(NSString *)label initMsg:(NSString *)initMsg initFunds:(NSArray *)initFunds codeHash:(NSString * _Nullable)codeHash __attribute__((swift_name("init(sender:codeId:label:initMsg:initFunds:codeHash:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithSender:(NSString *)sender codeId:(SecretkInt * _Nullable)codeId label:(NSString *)label initMsg:(NSString *)initMsg initFunds:(NSArray *)initFunds codeHash:(NSString * _Nullable)codeHash __attribute__((swift_name("init(sender:codeId:label:initMsg:initFunds:codeHash:)"))) __attribute__((objc_designated_initializer)); /** @note This method converts instances of CancellationException to errors. @@ -386,11 +387,11 @@ __attribute__((swift_name("MsgInstantiateContract"))) */ - (void)toProtoUtils:(id)utils completionHandler:(void (^)(SecretkProtoMsg * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toProto(utils:completionHandler:)"))); @property NSString * _Nullable codeHash __attribute__((swift_name("codeHash"))); -@property (readonly) int32_t codeId __attribute__((swift_name("codeId"))); -@property (readonly, getter=doInitFunds) NSArray *initFunds __attribute__((swift_name("initFunds"))); +@property SecretkInt * _Nullable codeId __attribute__((swift_name("codeId"))); +@property (getter=doInitFunds) NSArray *initFunds __attribute__((swift_name("initFunds"))); @property (readonly, getter=doInitMsg) NSString *initMsg __attribute__((swift_name("initMsg"))); -@property (readonly) NSString *label __attribute__((swift_name("label"))); -@property (readonly) NSString *sender __attribute__((swift_name("sender"))); +@property NSString *label __attribute__((swift_name("label"))); +@property NSString *sender __attribute__((swift_name("sender"))); @end; __attribute__((swift_name("UnencryptedMsg"))) @@ -2347,7 +2348,9 @@ __attribute__((swift_name("AminoWallet"))) __attribute__((objc_subclassing_restricted)) __attribute__((swift_name("DirectSigningWallet"))) @interface SecretkDirectSigningWallet : SecretkBaseWallet -- (instancetype)initWithMnemonic:(NSString *)mnemonic __attribute__((swift_name("init(mnemonic:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMnemonic:(NSString * _Nullable)mnemonic __attribute__((swift_name("init(mnemonic:)"))) __attribute__((objc_designated_initializer)); /** @note This method converts instances of CancellationException to errors. @@ -3280,7 +3283,6 @@ __attribute__((swift_name("HelpersKt"))) Other uncaught Kotlin exceptions are fatal. */ + (void)ensureLibsodiumInitializedWithCompletionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("ensureLibsodiumInitialized(completionHandler:)"))); -+ (NSString *)getMissingCodeHashWarningMethod:(NSString *)method __attribute__((swift_name("getMissingCodeHashWarning(method:)"))); @end; __attribute__((objc_subclassing_restricted)) diff --git a/secretk.xcframework/macos-arm64_x86_64/secretk.framework/Versions/A/secretk b/secretk.xcframework/macos-arm64_x86_64/secretk.framework/Versions/A/secretk index 6f4cea2..7ef4294 100755 Binary files a/secretk.xcframework/macos-arm64_x86_64/secretk.framework/Versions/A/secretk and b/secretk.xcframework/macos-arm64_x86_64/secretk.framework/Versions/A/secretk differ diff --git a/secretk.xcframework/macos-arm64_x86_64/secretk.framework/Versions/Current/Headers/secretk.h b/secretk.xcframework/macos-arm64_x86_64/secretk.framework/Versions/Current/Headers/secretk.h index 2b0ae97..097879c 100644 --- a/secretk.xcframework/macos-arm64_x86_64/secretk.framework/Versions/Current/Headers/secretk.h +++ b/secretk.xcframework/macos-arm64_x86_64/secretk.framework/Versions/Current/Headers/secretk.h @@ -276,6 +276,7 @@ __attribute__((swift_name("Msg"))) __attribute__((swift_name("EncryptedMsg"))) @protocol SecretkEncryptedMsg @required +- (NSString *)getMissingParameterWarningMethod:(NSString *)method parameter:(NSString *)parameter __attribute__((swift_name("getMissingParameterWarning(method:parameter:)"))); /** @note This method converts instances of CancellationException to errors. @@ -342,10 +343,10 @@ __attribute__((swift_name("MsgExecuteContract"))) */ - (void)toProtoUtils:(id)utils completionHandler:(void (^)(SecretkProtoMsg * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toProto(utils:completionHandler:)"))); @property NSString * _Nullable codeHash __attribute__((swift_name("codeHash"))); -@property (readonly) NSString *contractAddress __attribute__((swift_name("contractAddress"))); +@property NSString *contractAddress __attribute__((swift_name("contractAddress"))); @property (readonly) NSString *msg __attribute__((swift_name("msg"))); -@property (readonly) NSString *sender __attribute__((swift_name("sender"))); -@property (readonly) NSArray *sentFunds __attribute__((swift_name("sentFunds"))); +@property NSString *sender __attribute__((swift_name("sender"))); +@property NSArray *sentFunds __attribute__((swift_name("sentFunds"))); @end; __attribute__((objc_subclassing_restricted)) @@ -372,7 +373,7 @@ __attribute__((swift_name("MsgExecuteContractAmino.Companion"))) __attribute__((objc_subclassing_restricted)) __attribute__((swift_name("MsgInstantiateContract"))) @interface SecretkMsgInstantiateContract : SecretkBase -- (instancetype)initWithSender:(NSString *)sender codeId:(int32_t)codeId label:(NSString *)label initMsg:(NSString *)initMsg initFunds:(NSArray *)initFunds codeHash:(NSString * _Nullable)codeHash __attribute__((swift_name("init(sender:codeId:label:initMsg:initFunds:codeHash:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)initWithSender:(NSString *)sender codeId:(SecretkInt * _Nullable)codeId label:(NSString *)label initMsg:(NSString *)initMsg initFunds:(NSArray *)initFunds codeHash:(NSString * _Nullable)codeHash __attribute__((swift_name("init(sender:codeId:label:initMsg:initFunds:codeHash:)"))) __attribute__((objc_designated_initializer)); /** @note This method converts instances of CancellationException to errors. @@ -386,11 +387,11 @@ __attribute__((swift_name("MsgInstantiateContract"))) */ - (void)toProtoUtils:(id)utils completionHandler:(void (^)(SecretkProtoMsg * _Nullable, NSError * _Nullable))completionHandler __attribute__((swift_name("toProto(utils:completionHandler:)"))); @property NSString * _Nullable codeHash __attribute__((swift_name("codeHash"))); -@property (readonly) int32_t codeId __attribute__((swift_name("codeId"))); -@property (readonly, getter=doInitFunds) NSArray *initFunds __attribute__((swift_name("initFunds"))); +@property SecretkInt * _Nullable codeId __attribute__((swift_name("codeId"))); +@property (getter=doInitFunds) NSArray *initFunds __attribute__((swift_name("initFunds"))); @property (readonly, getter=doInitMsg) NSString *initMsg __attribute__((swift_name("initMsg"))); -@property (readonly) NSString *label __attribute__((swift_name("label"))); -@property (readonly) NSString *sender __attribute__((swift_name("sender"))); +@property NSString *label __attribute__((swift_name("label"))); +@property NSString *sender __attribute__((swift_name("sender"))); @end; __attribute__((swift_name("UnencryptedMsg"))) @@ -2347,7 +2348,9 @@ __attribute__((swift_name("AminoWallet"))) __attribute__((objc_subclassing_restricted)) __attribute__((swift_name("DirectSigningWallet"))) @interface SecretkDirectSigningWallet : SecretkBaseWallet -- (instancetype)initWithMnemonic:(NSString *)mnemonic __attribute__((swift_name("init(mnemonic:)"))) __attribute__((objc_designated_initializer)); +- (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); ++ (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); +- (instancetype)initWithMnemonic:(NSString * _Nullable)mnemonic __attribute__((swift_name("init(mnemonic:)"))) __attribute__((objc_designated_initializer)); /** @note This method converts instances of CancellationException to errors. @@ -3280,7 +3283,6 @@ __attribute__((swift_name("HelpersKt"))) Other uncaught Kotlin exceptions are fatal. */ + (void)ensureLibsodiumInitializedWithCompletionHandler:(void (^)(NSError * _Nullable))completionHandler __attribute__((swift_name("ensureLibsodiumInitialized(completionHandler:)"))); -+ (NSString *)getMissingCodeHashWarningMethod:(NSString *)method __attribute__((swift_name("getMissingCodeHashWarning(method:)"))); @end; __attribute__((objc_subclassing_restricted)) diff --git a/secretk.xcframework/macos-arm64_x86_64/secretk.framework/Versions/Current/secretk b/secretk.xcframework/macos-arm64_x86_64/secretk.framework/Versions/Current/secretk index 8079a42..2d1a91e 100755 Binary files a/secretk.xcframework/macos-arm64_x86_64/secretk.framework/Versions/Current/secretk and b/secretk.xcframework/macos-arm64_x86_64/secretk.framework/Versions/Current/secretk differ