refactor: update get response type

Updates get response type to unknown.
Bumps version to 0.10.3.
This commit is contained in:
coreyphillips
2025-05-08 21:38:44 -04:00
parent 05ae45ec97
commit 87ea6acf5e
3 changed files with 4 additions and 4 deletions

View File

@@ -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') {