mirror of
https://github.com/aljazceru/react-native-pubky.git
synced 2026-02-02 13:44:27 +01:00
refactor: update get response type
Updates get response type to unknown. Bumps version to 0.10.3.
This commit is contained in:
@@ -199,7 +199,7 @@ export async function signOut(secretKey: string): Promise<Result<string[]>> {
|
||||
}
|
||||
}
|
||||
|
||||
export async function get(url: string): Promise<Result<string[]>> {
|
||||
export async function get(url: string): Promise<Result<unknown>> {
|
||||
try {
|
||||
const res = await Pubky.get(url);
|
||||
if (res[0] === 'error') {
|
||||
|
||||
Reference in New Issue
Block a user