Skip to content

Commit

Permalink
change package names
Browse files Browse the repository at this point in the history
  • Loading branch information
vyfor committed Apr 6, 2024
1 parent e44be22 commit 93199bd
Show file tree
Hide file tree
Showing 18 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

```gradle
dependencies {
implementation("io.github.reblast:kpresence:0.5.0")
implementation("io.github.vyfor:kpresence:0.5.0")
}
```

Expand Down
16 changes: 8 additions & 8 deletions src/commonMain/kotlin/io/github/vyfor/kpresence/RichClient.kt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
@file:Suppress("MemberVisibilityCanBePrivate", "unused")

package io.github.reblast.kpresence

import io.github.reblast.kpresence.ipc.*
import io.github.reblast.kpresence.rpc.Activity
import io.github.reblast.kpresence.rpc.Packet
import io.github.reblast.kpresence.rpc.PacketArgs
import io.github.reblast.kpresence.utils.epochMillis
import io.github.reblast.kpresence.utils.getProcessId
package io.github.vyfor.kpresence

import io.github.vyfor.kpresence.ipc.*
import io.github.vyfor.kpresence.rpc.Activity
import io.github.vyfor.kpresence.rpc.Packet
import io.github.vyfor.kpresence.rpc.PacketArgs
import io.github.vyfor.kpresence.utils.epochMillis
import io.github.vyfor.kpresence.utils.getProcessId
import kotlinx.coroutines.*
import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.reblast.kpresence.ipc
package io.github.vyfor.kpresence.ipc

expect class Connection() {
fun open()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@file:Suppress("ArrayInDataClass", "unused")

package io.github.reblast.kpresence.rpc
package io.github.vyfor.kpresence.rpc

import kotlinx.serialization.KSerializer
import kotlinx.serialization.SerialName
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@file:Suppress("unused", "MemberVisibilityCanBePrivate")

package io.github.reblast.kpresence.rpc
package io.github.vyfor.kpresence.rpc

@DslMarker
annotation class ActivityDSL
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.reblast.kpresence.rpc
package io.github.vyfor.kpresence.rpc

import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.reblast.kpresence.utils
package io.github.vyfor.kpresence.utils

internal fun ByteArray.putInt(value: Int, offset: Int = 0) {
this[offset] = (value shr 24).toByte()
Expand Down
6 changes: 3 additions & 3 deletions src/commonTest/kotlin/io/github/vyfor/kpresence/ClientTest.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.github.reblast.kpresence
package io.github.vyfor.kpresence

import io.github.reblast.kpresence.rpc.*
import io.github.reblast.kpresence.utils.epochMillis
import io.github.vyfor.kpresence.rpc.*
import io.github.vyfor.kpresence.utils.epochMillis
import kotlin.test.Test

class ClientTest {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.github.reblast.kpresence.ipc
package io.github.vyfor.kpresence.ipc

import io.github.reblast.kpresence.utils.putInt
import io.github.reblast.kpresence.utils.reverseBytes
import io.github.vyfor.kpresence.utils.putInt
import io.github.vyfor.kpresence.utils.reverseBytes
import java.io.InputStream
import java.io.OutputStream
import java.io.RandomAccessFile
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@file:JvmName("Utils")

package io.github.reblast.kpresence.utils
package io.github.vyfor.kpresence.utils

actual fun epochMillis(): Long = System.currentTimeMillis()

Expand Down
4 changes: 2 additions & 2 deletions src/jvmTest/kotlin/io/github/vyfor/kpresence/ClientTest.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.github.reblast.kpresence
package io.github.vyfor.kpresence

import io.github.reblast.kpresence.rpc.*
import io.github.vyfor.kpresence.rpc.*
import kotlin.random.Random
import kotlin.test.Test

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.github.reblast.kpresence.ipc
package io.github.vyfor.kpresence.ipc

import io.github.reblast.kpresence.utils.putInt
import io.github.reblast.kpresence.utils.reverseBytes
import io.github.vyfor.kpresence.utils.putInt
import io.github.vyfor.kpresence.utils.reverseBytes
import kotlinx.cinterop.*
import platform.linux.sockaddr_un
import platform.posix.*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.reblast.kpresence.utils
package io.github.vyfor.kpresence.utils

import kotlinx.cinterop.*
import platform.posix.*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.github.reblast.kpresence.ipc
package io.github.vyfor.kpresence.ipc

import io.github.reblast.kpresence.utils.putInt
import io.github.reblast.kpresence.utils.reverseBytes
import io.github.vyfor.kpresence.utils.putInt
import io.github.vyfor.kpresence.utils.reverseBytes
import kotlinx.cinterop.*
import platform.osx.sockaddr_un
import platform.posix.*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.reblast.kpresence.utils
package io.github.vyfor.kpresence.utils

import kotlinx.cinterop.*
import platform.posix.*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.github.reblast.kpresence.ipc
package io.github.vyfor.kpresence.ipc

import io.github.reblast.kpresence.utils.putInt
import io.github.reblast.kpresence.utils.reverseBytes
import io.github.vyfor.kpresence.utils.putInt
import io.github.vyfor.kpresence.utils.reverseBytes
import kotlinx.cinterop.*
import platform.windows.*

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.reblast.kpresence.utils
package io.github.vyfor.kpresence.utils

import kotlinx.cinterop.*
import platform.posix.getpid
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@file:Suppress("unused")

package io.github.reblast.kpresence.utils
package io.github.vyfor.kpresence.utils

import kotlinx.cinterop.*
import platform.posix.*
Expand Down

0 comments on commit 93199bd

Please sign in to comment.