Skip to content

Commit

Permalink
ref: person profiles enum is not internal (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
marandaneto authored Sep 14, 2024
1 parent b24c896 commit 99d4b06
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 16 deletions.
24 changes: 12 additions & 12 deletions posthog/api/posthog.api
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
public final class com/posthog/PersonProfiles : java/lang/Enum {
public static final field ALWAYS Lcom/posthog/PersonProfiles;
public static final field IDENTIFIED_ONLY Lcom/posthog/PersonProfiles;
public static final field NEVER Lcom/posthog/PersonProfiles;
public static fun valueOf (Ljava/lang/String;)Lcom/posthog/PersonProfiles;
public static fun values ()[Lcom/posthog/PersonProfiles;
}

public final class com/posthog/PostHog : com/posthog/PostHogInterface {
public static final field Companion Lcom/posthog/PostHog$Companion;
public synthetic fun <init> (Ljava/util/concurrent/ExecutorService;Ljava/util/concurrent/ExecutorService;Ljava/util/concurrent/ExecutorService;Ljava/util/concurrent/ExecutorService;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V
Expand Down Expand Up @@ -64,8 +72,8 @@ public final class com/posthog/PostHog$Companion : com/posthog/PostHogInterface
public class com/posthog/PostHogConfig {
public static final field Companion Lcom/posthog/PostHogConfig$Companion;
public static final field DEFAULT_HOST Ljava/lang/String;
public fun <init> (Ljava/lang/String;Ljava/lang/String;ZZZZIIIILcom/posthog/PostHogEncryption;Lcom/posthog/PostHogOnFeatureFlags;ZLcom/posthog/PostHogPropertiesSanitizer;Lkotlin/jvm/functions/Function1;Lcom/posthog/internal/PersonProfiles;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;ZZZZIIIILcom/posthog/PostHogEncryption;Lcom/posthog/PostHogOnFeatureFlags;ZLcom/posthog/PostHogPropertiesSanitizer;Lkotlin/jvm/functions/Function1;Lcom/posthog/internal/PersonProfiles;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public fun <init> (Ljava/lang/String;Ljava/lang/String;ZZZZIIIILcom/posthog/PostHogEncryption;Lcom/posthog/PostHogOnFeatureFlags;ZLcom/posthog/PostHogPropertiesSanitizer;Lkotlin/jvm/functions/Function1;Lcom/posthog/PersonProfiles;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;ZZZZIIIILcom/posthog/PostHogEncryption;Lcom/posthog/PostHogOnFeatureFlags;ZLcom/posthog/PostHogPropertiesSanitizer;Lkotlin/jvm/functions/Function1;Lcom/posthog/PersonProfiles;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun addIntegration (Lcom/posthog/PostHogIntegration;)V
public final fun getApiKey ()Ljava/lang/String;
public final fun getCachePreferences ()Lcom/posthog/internal/PostHogPreferences;
Expand All @@ -85,7 +93,7 @@ public class com/posthog/PostHogConfig {
public final fun getNetworkStatus ()Lcom/posthog/internal/PostHogNetworkStatus;
public final fun getOnFeatureFlags ()Lcom/posthog/PostHogOnFeatureFlags;
public final fun getOptOut ()Z
public final fun getPersonProfiles ()Lcom/posthog/internal/PersonProfiles;
public final fun getPersonProfiles ()Lcom/posthog/PersonProfiles;
public final fun getPreloadFeatureFlags ()Z
public final fun getPropertiesSanitizer ()Lcom/posthog/PostHogPropertiesSanitizer;
public final fun getReplayStoragePrefix ()Ljava/lang/String;
Expand All @@ -112,7 +120,7 @@ public class com/posthog/PostHogConfig {
public final fun setNetworkStatus (Lcom/posthog/internal/PostHogNetworkStatus;)V
public final fun setOnFeatureFlags (Lcom/posthog/PostHogOnFeatureFlags;)V
public final fun setOptOut (Z)V
public final fun setPersonProfiles (Lcom/posthog/internal/PersonProfiles;)V
public final fun setPersonProfiles (Lcom/posthog/PersonProfiles;)V
public final fun setPreloadFeatureFlags (Z)V
public final fun setPropertiesSanitizer (Lcom/posthog/PostHogPropertiesSanitizer;)V
public final fun setReplayStoragePrefix (Ljava/lang/String;)V
Expand Down Expand Up @@ -235,14 +243,6 @@ public abstract interface class com/posthog/PostHogPropertiesSanitizer {
public abstract interface annotation class com/posthog/PostHogVisibleForTesting : java/lang/annotation/Annotation {
}

public final class com/posthog/internal/PersonProfiles : java/lang/Enum {
public static final field ALWAYS Lcom/posthog/internal/PersonProfiles;
public static final field IDENTIFIED_ONLY Lcom/posthog/internal/PersonProfiles;
public static final field NEVER Lcom/posthog/internal/PersonProfiles;
public static fun valueOf (Ljava/lang/String;)Lcom/posthog/internal/PersonProfiles;
public static fun values ()[Lcom/posthog/internal/PersonProfiles;
}

public abstract interface class com/posthog/internal/PostHogContext {
public abstract fun getDynamicContext ()Ljava/util/Map;
public abstract fun getSdkInfo ()Ljava/util/Map;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.posthog.internal
package com.posthog

public enum class PersonProfiles {
NEVER,
Expand Down
1 change: 0 additions & 1 deletion posthog/src/main/java/com/posthog/PostHog.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.posthog

import com.posthog.internal.PersonProfiles
import com.posthog.internal.PostHogApi
import com.posthog.internal.PostHogApiEndpoint
import com.posthog.internal.PostHogFeatureFlags
Expand Down
1 change: 0 additions & 1 deletion posthog/src/main/java/com/posthog/PostHogConfig.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.posthog

import com.posthog.internal.PersonProfiles
import com.posthog.internal.PostHogContext
import com.posthog.internal.PostHogDateProvider
import com.posthog.internal.PostHogDeviceDateProvider
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.posthog

import com.posthog.internal.PersonProfiles
import com.posthog.internal.PostHogBatchEvent
import com.posthog.internal.PostHogMemoryPreferences
import com.posthog.internal.PostHogSerializer
Expand Down

0 comments on commit 99d4b06

Please sign in to comment.