diff --git a/README.md b/README.md index c96f651..ce47cf1 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,10 @@ posthog-kotlin is a Kotlin library to interact with the PostHog API. ## Features posthog-kotlin currently supports the following features: -| Feature | Implemented | -| --- | --— | -| Single/Batch events | ✅ | -| Identify | ✅ | +| Feature | Implemented | +| --- |--- | +| Single/Batch events | ✅ | +| Identify | ✅ | ## Usage ### Dependency diff --git a/src/main/kotlin/dev/kezz/posthog/PostHog.kt b/src/main/kotlin/com/noxcrew/posthog/PostHog.kt similarity index 96% rename from src/main/kotlin/dev/kezz/posthog/PostHog.kt rename to src/main/kotlin/com/noxcrew/posthog/PostHog.kt index da0cad0..c32a814 100644 --- a/src/main/kotlin/dev/kezz/posthog/PostHog.kt +++ b/src/main/kotlin/com/noxcrew/posthog/PostHog.kt @@ -1,7 +1,7 @@ -package dev.kezz.posthog +package com.noxcrew.posthog -import dev.kezz.posthog.internal.EventQueue -import dev.kezz.posthog.internal.PostHogEvent +import com.noxcrew.posthog.internal.EventQueue +import com.noxcrew.posthog.internal.PostHogEvent import kotlinx.coroutines.Job import kotlinx.coroutines.SupervisorJob import kotlinx.serialization.json.JsonObject diff --git a/src/main/kotlin/dev/kezz/posthog/PostHogProperties.kt b/src/main/kotlin/com/noxcrew/posthog/PostHogProperties.kt similarity index 97% rename from src/main/kotlin/dev/kezz/posthog/PostHogProperties.kt rename to src/main/kotlin/com/noxcrew/posthog/PostHogProperties.kt index 4fef0f4..df53f47 100644 --- a/src/main/kotlin/dev/kezz/posthog/PostHogProperties.kt +++ b/src/main/kotlin/com/noxcrew/posthog/PostHogProperties.kt @@ -1,4 +1,4 @@ -package dev.kezz.posthog +package com.noxcrew.posthog import kotlinx.serialization.json.JsonElement import kotlinx.serialization.json.JsonPrimitive diff --git a/src/main/kotlin/dev/kezz/posthog/internal/ErrorResponse.kt b/src/main/kotlin/com/noxcrew/posthog/internal/ErrorResponse.kt similarity index 87% rename from src/main/kotlin/dev/kezz/posthog/internal/ErrorResponse.kt rename to src/main/kotlin/com/noxcrew/posthog/internal/ErrorResponse.kt index 413f8dc..1aa7cd3 100644 --- a/src/main/kotlin/dev/kezz/posthog/internal/ErrorResponse.kt +++ b/src/main/kotlin/com/noxcrew/posthog/internal/ErrorResponse.kt @@ -1,4 +1,4 @@ -package dev.kezz.posthog.internal +package com.noxcrew.posthog.internal import kotlinx.serialization.Serializable diff --git a/src/main/kotlin/dev/kezz/posthog/internal/EventQueue.kt b/src/main/kotlin/com/noxcrew/posthog/internal/EventQueue.kt similarity index 98% rename from src/main/kotlin/dev/kezz/posthog/internal/EventQueue.kt rename to src/main/kotlin/com/noxcrew/posthog/internal/EventQueue.kt index a327492..a82aa99 100644 --- a/src/main/kotlin/dev/kezz/posthog/internal/EventQueue.kt +++ b/src/main/kotlin/com/noxcrew/posthog/internal/EventQueue.kt @@ -1,6 +1,6 @@ -package dev.kezz.posthog.internal +package com.noxcrew.posthog.internal -import dev.kezz.posthog.PostHog +import com.noxcrew.posthog.PostHog import kotlinx.coroutines.CoroutineName import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers diff --git a/src/main/kotlin/dev/kezz/posthog/internal/InstantSerializer.kt b/src/main/kotlin/com/noxcrew/posthog/internal/InstantSerializer.kt similarity index 95% rename from src/main/kotlin/dev/kezz/posthog/internal/InstantSerializer.kt rename to src/main/kotlin/com/noxcrew/posthog/internal/InstantSerializer.kt index 93c5b66..6b10a19 100644 --- a/src/main/kotlin/dev/kezz/posthog/internal/InstantSerializer.kt +++ b/src/main/kotlin/com/noxcrew/posthog/internal/InstantSerializer.kt @@ -1,4 +1,4 @@ -package dev.kezz.posthog.internal +package com.noxcrew.posthog.internal import kotlinx.serialization.KSerializer import kotlinx.serialization.descriptors.PrimitiveKind diff --git a/src/main/kotlin/dev/kezz/posthog/internal/PostHogConstants.kt b/src/main/kotlin/com/noxcrew/posthog/internal/PostHogConstants.kt similarity index 67% rename from src/main/kotlin/dev/kezz/posthog/internal/PostHogConstants.kt rename to src/main/kotlin/com/noxcrew/posthog/internal/PostHogConstants.kt index 4bfa731..8a11652 100644 --- a/src/main/kotlin/dev/kezz/posthog/internal/PostHogConstants.kt +++ b/src/main/kotlin/com/noxcrew/posthog/internal/PostHogConstants.kt @@ -1,4 +1,4 @@ -package dev.kezz.posthog.internal +package com.noxcrew.posthog.internal /** A collection of PostHog constants. */ internal object PostHogConstants diff --git a/src/main/kotlin/dev/kezz/posthog/internal/PostHogEvent.kt b/src/main/kotlin/com/noxcrew/posthog/internal/PostHogEvent.kt similarity index 89% rename from src/main/kotlin/dev/kezz/posthog/internal/PostHogEvent.kt rename to src/main/kotlin/com/noxcrew/posthog/internal/PostHogEvent.kt index c0d4430..a177637 100644 --- a/src/main/kotlin/dev/kezz/posthog/internal/PostHogEvent.kt +++ b/src/main/kotlin/com/noxcrew/posthog/internal/PostHogEvent.kt @@ -1,4 +1,4 @@ -package dev.kezz.posthog.internal +package com.noxcrew.posthog.internal import kotlinx.serialization.json.JsonElement import java.time.Instant