diff --git a/client/build.gradle.kts b/client/build.gradle.kts index dacb4c0..634a599 100644 --- a/client/build.gradle.kts +++ b/client/build.gradle.kts @@ -27,19 +27,14 @@ object Targets { } kotlin { - jvm { - compilations.all { - kotlinOptions.jvmTarget = "11" - } - withJava() - } + jvm() js(IR) { browser { - testTask { + testTask(Action { useMocha { timeout = "20s" } - } + }) } } val darwinTargets = mutableListOf() diff --git a/gradle.properties b/gradle.properties index 5919b63..8d170b9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx4g # Publishing : Required GROUP=io.eqoty.secretk -VERSION_NAME=5.0.0 +VERSION_NAME=5.0.1 # Publishing : Optional POM_NAME=secretk diff --git a/secretk.xcframework/ios-arm64/client.framework/Headers/client.h b/secretk.xcframework/ios-arm64/client.framework/Headers/client.h index 2163f69..24ff8a4 100644 --- a/secretk.xcframework/ios-arm64/client.framework/Headers/client.h +++ b/secretk.xcframework/ios-arm64/client.framework/Headers/client.h @@ -193,6 +193,7 @@ __attribute__((swift_name("BroadcastMode"))) @property (class, readonly) ClientBroadcastMode *sync __attribute__((swift_name("sync"))); @property (class, readonly) ClientBroadcastMode *async __attribute__((swift_name("async"))); + (ClientKotlinArray *)values __attribute__((swift_name("values()"))); +@property (class, readonly) NSArray *entries __attribute__((swift_name("entries"))); @property (readonly) NSString *mode __attribute__((swift_name("mode"))); @end @@ -2030,6 +2031,7 @@ __attribute__((swift_name("SignMode"))) @property (class, readonly) ClientSignMode *signModeEip191 __attribute__((swift_name("signModeEip191"))); @property (class, readonly) ClientSignMode *unrecognized __attribute__((swift_name("unrecognized"))); + (ClientKotlinArray *)values __attribute__((swift_name("values()"))); +@property (class, readonly) NSArray *entries __attribute__((swift_name("entries"))); @property (readonly) int32_t value __attribute__((swift_name("value"))); @end @@ -2452,6 +2454,7 @@ __attribute__((swift_name("Algo"))) @property (class, readonly) ClientAlgo *ed25519 __attribute__((swift_name("ed25519"))); @property (class, readonly) ClientAlgo *sr25519 __attribute__((swift_name("sr25519"))); + (ClientKotlinArray *)values __attribute__((swift_name("values()"))); +@property (class, readonly) NSArray *entries __attribute__((swift_name("entries"))); @end @@ -2579,6 +2582,7 @@ __attribute__((swift_name("PrehashType"))) @property (class, readonly) ClientPrehashType *sha256 __attribute__((swift_name("sha256"))); @property (class, readonly) ClientPrehashType *sha512 __attribute__((swift_name("sha512"))); + (ClientKotlinArray *)values __attribute__((swift_name("values()"))); +@property (class, readonly) NSArray *entries __attribute__((swift_name("entries"))); @property (readonly) NSString *type __attribute__((swift_name("type"))); @end @@ -2820,6 +2824,11 @@ __attribute__((swift_name("KotlinThrowable"))) - (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); + (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); - (instancetype)initWithMessage:(NSString * _Nullable)message cause:(ClientKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); + +/** + * @note annotations + * kotlin.experimental.ExperimentalNativeApi +*/ - (ClientKotlinArray *)getStackTrace __attribute__((swift_name("getStackTrace()"))); - (void)printStackTrace __attribute__((swift_name("printStackTrace()"))); - (NSString *)description __attribute__((swift_name("description()"))); @@ -2886,6 +2895,7 @@ __attribute__((swift_name("Secret_std_typesPermission"))) @property (class, readonly) ClientSecret_std_typesPermission *balance __attribute__((swift_name("balance"))); @property (class, readonly) ClientSecret_std_typesPermission *allowance __attribute__((swift_name("allowance"))); + (ClientKotlinArray *)values __attribute__((swift_name("values()"))); +@property (class, readonly) NSArray *entries __attribute__((swift_name("entries"))); @end __attribute__((swift_name("BignumBigNumber"))) diff --git a/secretk.xcframework/ios-arm64/client.framework/client b/secretk.xcframework/ios-arm64/client.framework/client index 20f2d4c..ea553b7 100755 Binary files a/secretk.xcframework/ios-arm64/client.framework/client and b/secretk.xcframework/ios-arm64/client.framework/client differ diff --git a/secretk.xcframework/ios-arm64/dSYMs/client.framework.dSYM/Contents/Resources/DWARF/client b/secretk.xcframework/ios-arm64/dSYMs/client.framework.dSYM/Contents/Resources/DWARF/client index e630736..657003a 100644 Binary files a/secretk.xcframework/ios-arm64/dSYMs/client.framework.dSYM/Contents/Resources/DWARF/client and b/secretk.xcframework/ios-arm64/dSYMs/client.framework.dSYM/Contents/Resources/DWARF/client differ diff --git a/secretk.xcframework/ios-arm64_x86_64-simulator/client.framework/Headers/client.h b/secretk.xcframework/ios-arm64_x86_64-simulator/client.framework/Headers/client.h index 2163f69..24ff8a4 100644 --- a/secretk.xcframework/ios-arm64_x86_64-simulator/client.framework/Headers/client.h +++ b/secretk.xcframework/ios-arm64_x86_64-simulator/client.framework/Headers/client.h @@ -193,6 +193,7 @@ __attribute__((swift_name("BroadcastMode"))) @property (class, readonly) ClientBroadcastMode *sync __attribute__((swift_name("sync"))); @property (class, readonly) ClientBroadcastMode *async __attribute__((swift_name("async"))); + (ClientKotlinArray *)values __attribute__((swift_name("values()"))); +@property (class, readonly) NSArray *entries __attribute__((swift_name("entries"))); @property (readonly) NSString *mode __attribute__((swift_name("mode"))); @end @@ -2030,6 +2031,7 @@ __attribute__((swift_name("SignMode"))) @property (class, readonly) ClientSignMode *signModeEip191 __attribute__((swift_name("signModeEip191"))); @property (class, readonly) ClientSignMode *unrecognized __attribute__((swift_name("unrecognized"))); + (ClientKotlinArray *)values __attribute__((swift_name("values()"))); +@property (class, readonly) NSArray *entries __attribute__((swift_name("entries"))); @property (readonly) int32_t value __attribute__((swift_name("value"))); @end @@ -2452,6 +2454,7 @@ __attribute__((swift_name("Algo"))) @property (class, readonly) ClientAlgo *ed25519 __attribute__((swift_name("ed25519"))); @property (class, readonly) ClientAlgo *sr25519 __attribute__((swift_name("sr25519"))); + (ClientKotlinArray *)values __attribute__((swift_name("values()"))); +@property (class, readonly) NSArray *entries __attribute__((swift_name("entries"))); @end @@ -2579,6 +2582,7 @@ __attribute__((swift_name("PrehashType"))) @property (class, readonly) ClientPrehashType *sha256 __attribute__((swift_name("sha256"))); @property (class, readonly) ClientPrehashType *sha512 __attribute__((swift_name("sha512"))); + (ClientKotlinArray *)values __attribute__((swift_name("values()"))); +@property (class, readonly) NSArray *entries __attribute__((swift_name("entries"))); @property (readonly) NSString *type __attribute__((swift_name("type"))); @end @@ -2820,6 +2824,11 @@ __attribute__((swift_name("KotlinThrowable"))) - (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); + (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); - (instancetype)initWithMessage:(NSString * _Nullable)message cause:(ClientKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); + +/** + * @note annotations + * kotlin.experimental.ExperimentalNativeApi +*/ - (ClientKotlinArray *)getStackTrace __attribute__((swift_name("getStackTrace()"))); - (void)printStackTrace __attribute__((swift_name("printStackTrace()"))); - (NSString *)description __attribute__((swift_name("description()"))); @@ -2886,6 +2895,7 @@ __attribute__((swift_name("Secret_std_typesPermission"))) @property (class, readonly) ClientSecret_std_typesPermission *balance __attribute__((swift_name("balance"))); @property (class, readonly) ClientSecret_std_typesPermission *allowance __attribute__((swift_name("allowance"))); + (ClientKotlinArray *)values __attribute__((swift_name("values()"))); +@property (class, readonly) NSArray *entries __attribute__((swift_name("entries"))); @end __attribute__((swift_name("BignumBigNumber"))) diff --git a/secretk.xcframework/ios-arm64_x86_64-simulator/client.framework/client b/secretk.xcframework/ios-arm64_x86_64-simulator/client.framework/client index 21dc585..13df0f6 100755 Binary files a/secretk.xcframework/ios-arm64_x86_64-simulator/client.framework/client and b/secretk.xcframework/ios-arm64_x86_64-simulator/client.framework/client differ diff --git a/secretk.xcframework/ios-arm64_x86_64-simulator/dSYMs/client.framework.dSYM/Contents/Resources/DWARF/client b/secretk.xcframework/ios-arm64_x86_64-simulator/dSYMs/client.framework.dSYM/Contents/Resources/DWARF/client index 4a40d15..0249ef3 100644 Binary files a/secretk.xcframework/ios-arm64_x86_64-simulator/dSYMs/client.framework.dSYM/Contents/Resources/DWARF/client and b/secretk.xcframework/ios-arm64_x86_64-simulator/dSYMs/client.framework.dSYM/Contents/Resources/DWARF/client differ diff --git a/secretk.xcframework/macos-arm64_x86_64/client.framework/Versions/A/Headers/client.h b/secretk.xcframework/macos-arm64_x86_64/client.framework/Versions/A/Headers/client.h index 2163f69..24ff8a4 100644 --- a/secretk.xcframework/macos-arm64_x86_64/client.framework/Versions/A/Headers/client.h +++ b/secretk.xcframework/macos-arm64_x86_64/client.framework/Versions/A/Headers/client.h @@ -193,6 +193,7 @@ __attribute__((swift_name("BroadcastMode"))) @property (class, readonly) ClientBroadcastMode *sync __attribute__((swift_name("sync"))); @property (class, readonly) ClientBroadcastMode *async __attribute__((swift_name("async"))); + (ClientKotlinArray *)values __attribute__((swift_name("values()"))); +@property (class, readonly) NSArray *entries __attribute__((swift_name("entries"))); @property (readonly) NSString *mode __attribute__((swift_name("mode"))); @end @@ -2030,6 +2031,7 @@ __attribute__((swift_name("SignMode"))) @property (class, readonly) ClientSignMode *signModeEip191 __attribute__((swift_name("signModeEip191"))); @property (class, readonly) ClientSignMode *unrecognized __attribute__((swift_name("unrecognized"))); + (ClientKotlinArray *)values __attribute__((swift_name("values()"))); +@property (class, readonly) NSArray *entries __attribute__((swift_name("entries"))); @property (readonly) int32_t value __attribute__((swift_name("value"))); @end @@ -2452,6 +2454,7 @@ __attribute__((swift_name("Algo"))) @property (class, readonly) ClientAlgo *ed25519 __attribute__((swift_name("ed25519"))); @property (class, readonly) ClientAlgo *sr25519 __attribute__((swift_name("sr25519"))); + (ClientKotlinArray *)values __attribute__((swift_name("values()"))); +@property (class, readonly) NSArray *entries __attribute__((swift_name("entries"))); @end @@ -2579,6 +2582,7 @@ __attribute__((swift_name("PrehashType"))) @property (class, readonly) ClientPrehashType *sha256 __attribute__((swift_name("sha256"))); @property (class, readonly) ClientPrehashType *sha512 __attribute__((swift_name("sha512"))); + (ClientKotlinArray *)values __attribute__((swift_name("values()"))); +@property (class, readonly) NSArray *entries __attribute__((swift_name("entries"))); @property (readonly) NSString *type __attribute__((swift_name("type"))); @end @@ -2820,6 +2824,11 @@ __attribute__((swift_name("KotlinThrowable"))) - (instancetype)init __attribute__((swift_name("init()"))) __attribute__((objc_designated_initializer)); + (instancetype)new __attribute__((availability(swift, unavailable, message="use object initializers instead"))); - (instancetype)initWithMessage:(NSString * _Nullable)message cause:(ClientKotlinThrowable * _Nullable)cause __attribute__((swift_name("init(message:cause:)"))) __attribute__((objc_designated_initializer)); + +/** + * @note annotations + * kotlin.experimental.ExperimentalNativeApi +*/ - (ClientKotlinArray *)getStackTrace __attribute__((swift_name("getStackTrace()"))); - (void)printStackTrace __attribute__((swift_name("printStackTrace()"))); - (NSString *)description __attribute__((swift_name("description()"))); @@ -2886,6 +2895,7 @@ __attribute__((swift_name("Secret_std_typesPermission"))) @property (class, readonly) ClientSecret_std_typesPermission *balance __attribute__((swift_name("balance"))); @property (class, readonly) ClientSecret_std_typesPermission *allowance __attribute__((swift_name("allowance"))); + (ClientKotlinArray *)values __attribute__((swift_name("values()"))); +@property (class, readonly) NSArray *entries __attribute__((swift_name("entries"))); @end __attribute__((swift_name("BignumBigNumber"))) diff --git a/secretk.xcframework/macos-arm64_x86_64/client.framework/Versions/A/client b/secretk.xcframework/macos-arm64_x86_64/client.framework/Versions/A/client index 4fb1546..6a5811c 100755 Binary files a/secretk.xcframework/macos-arm64_x86_64/client.framework/Versions/A/client and b/secretk.xcframework/macos-arm64_x86_64/client.framework/Versions/A/client differ diff --git a/secretk.xcframework/macos-arm64_x86_64/dSYMs/client.framework.dSYM/Contents/Resources/DWARF/client b/secretk.xcframework/macos-arm64_x86_64/dSYMs/client.framework.dSYM/Contents/Resources/DWARF/client index 3eedbea..8e5d188 100644 Binary files a/secretk.xcframework/macos-arm64_x86_64/dSYMs/client.framework.dSYM/Contents/Resources/DWARF/client and b/secretk.xcframework/macos-arm64_x86_64/dSYMs/client.framework.dSYM/Contents/Resources/DWARF/client differ