Skip to content

Commit

Permalink
Merge pull request #3 from solana-mobile/fix-package-names
Browse files Browse the repository at this point in the history
fix package names
  • Loading branch information
Funkatronics authored Jan 10, 2024
2 parents 47e666a + 213a823 commit dfa32d5
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.funkatronics.networking
package com.solana.networking

import okhttp3.OkHttpClient
import okhttp3.Request
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.funkatronics.okiodriver
package com.solana.okiodriver

import com.funkatronics.networking.HttpRequest
import com.funkatronics.networking.OkHttpNetworkDriver
import com.funkatronics.networking.Rpc20Driver
import com.funkatronics.rpccore.JsonRpc20Request
import com.funkatronics.rpccore.makeRequest
import com.solana.networking.HttpRequest
import com.solana.networking.OkHttpNetworkDriver
import com.solana.networking.Rpc20Driver
import com.solana.rpccore.JsonRpc20Request
import com.solana.rpccore.makeRequest
import kotlinx.coroutines.test.runTest
import kotlinx.serialization.KSerializer
import kotlinx.serialization.descriptors.SerialDescriptor
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.funkatronics.networking
package com.solana.networking

interface HttpRequest {
val url: String
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.funkatronics.networking
package com.solana.networking

import com.funkatronics.rpccore.*
import com.solana.rpccore.*
import kotlinx.serialization.KSerializer
import kotlinx.serialization.json.Json

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.funkatronics.rpccore
package com.solana.rpccore

import kotlinx.serialization.KSerializer
import kotlinx.serialization.json.JsonElement
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.funkatronics.rpccore
package com.solana.rpccore

import kotlinx.serialization.DeserializationStrategy
import kotlinx.serialization.EncodeDefault
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.funkatronics.rpccore
package com.solana.rpccore

import kotlinx.serialization.Serializable
import kotlinx.serialization.json.JsonElement
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
package com.funkatronics.rpccore
package com.solana.rpccore

import com.funkatronics.networking.HttpNetworkDriver
import com.funkatronics.networking.HttpRequest
import com.funkatronics.networking.Rpc20Driver
import com.funkatronics.util.MockHttpDriver
import com.solana.networking.HttpNetworkDriver
import com.solana.networking.HttpRequest
import com.solana.networking.Rpc20Driver
import com.solana.util.MockHttpDriver
import kotlinx.coroutines.test.runTest
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.JsonElement
import kotlinx.serialization.json.buildJsonObject
import kotlinx.serialization.json.put
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.funkatronics.util
package com.solana.util

import com.funkatronics.networking.HttpNetworkDriver
import com.funkatronics.networking.HttpRequest
import com.solana.networking.HttpNetworkDriver
import com.solana.networking.HttpRequest

class MockHttpDriver(val response: String) : HttpNetworkDriver {
override suspend fun makeHttpRequest(request: HttpRequest): String = response
Expand Down

0 comments on commit dfa32d5

Please sign in to comment.