From cb33f36ee97f01963345410784e381313a2b3cca Mon Sep 17 00:00:00 2001 From: Mirzamehdi Date: Tue, 6 Aug 2024 03:52:49 +0200 Subject: [PATCH] Update api --- build.gradle.kts | 2 +- kmpnotifier/api/android/kmpnotifier.api | 4 ++-- kmpnotifier/api/jvm/kmpnotifier.api | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index bb2f6a4..a2d7247 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -21,7 +21,7 @@ plugins { allprojects { group = "io.github.mirzemehdi" - version = "1.2.0-alpha" + version = "1.2.0-alpha02" val sonatypeUsername = gradleLocalProperties(rootDir).getProperty("sonatypeUsername") val sonatypePassword = gradleLocalProperties(rootDir).getProperty("sonatypePassword") val gpgKeySecret = gradleLocalProperties(rootDir).getProperty("gpgKeySecret") diff --git a/kmpnotifier/api/android/kmpnotifier.api b/kmpnotifier/api/android/kmpnotifier.api index 6675781..4349729 100644 --- a/kmpnotifier/api/android/kmpnotifier.api +++ b/kmpnotifier/api/android/kmpnotifier.api @@ -114,12 +114,12 @@ public final class com/mmk/kmpnotifier/permission/AndroidPermissionUtilKt { } public abstract interface class com/mmk/kmpnotifier/permission/PermissionUtil { - public abstract fun askNotificationPermission (Lkotlin/jvm/functions/Function0;)V + public abstract fun askNotificationPermission (Lkotlin/jvm/functions/Function1;)V public abstract fun hasNotificationPermission (Lkotlin/jvm/functions/Function1;)V } public final class com/mmk/kmpnotifier/permission/PermissionUtil$DefaultImpls { - public static synthetic fun askNotificationPermission$default (Lcom/mmk/kmpnotifier/permission/PermissionUtil;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V + public static synthetic fun askNotificationPermission$default (Lcom/mmk/kmpnotifier/permission/PermissionUtil;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V public static synthetic fun hasNotificationPermission$default (Lcom/mmk/kmpnotifier/permission/PermissionUtil;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V } diff --git a/kmpnotifier/api/jvm/kmpnotifier.api b/kmpnotifier/api/jvm/kmpnotifier.api index b12e7ca..b3903fe 100644 --- a/kmpnotifier/api/jvm/kmpnotifier.api +++ b/kmpnotifier/api/jvm/kmpnotifier.api @@ -104,12 +104,12 @@ public final class com/mmk/kmpnotifier/notification/configuration/NotificationPl } public abstract interface class com/mmk/kmpnotifier/permission/PermissionUtil { - public abstract fun askNotificationPermission (Lkotlin/jvm/functions/Function0;)V + public abstract fun askNotificationPermission (Lkotlin/jvm/functions/Function1;)V public abstract fun hasNotificationPermission (Lkotlin/jvm/functions/Function1;)V } public final class com/mmk/kmpnotifier/permission/PermissionUtil$DefaultImpls { - public static synthetic fun askNotificationPermission$default (Lcom/mmk/kmpnotifier/permission/PermissionUtil;Lkotlin/jvm/functions/Function0;ILjava/lang/Object;)V + public static synthetic fun askNotificationPermission$default (Lcom/mmk/kmpnotifier/permission/PermissionUtil;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V public static synthetic fun hasNotificationPermission$default (Lcom/mmk/kmpnotifier/permission/PermissionUtil;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V }