Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
setup pure typescript exports
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelLHuber committed Mar 10, 2024
1 parent 29ebacb commit 3a5db21
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 22 deletions.
4 changes: 2 additions & 2 deletions src/functions/getConnectedAddresses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import { queryClient } from '../queryClient';
import { Provider, HubProvider, NeynarProvider } from '../providers';
import { ConnectedAddresses } from '../types';

export default function getConnectedAddresses(
export const getConnectedAddresses = (
provider: Provider,
fid: number,
ethereum?: boolean,
solana?: boolean
): ConnectedAddresses {
): ConnectedAddresses => {
let addresses: ConnectedAddresses;

if (provider instanceof HubProvider) {
Expand Down
1 change: 1 addition & 0 deletions src/functions/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { getConnectedAddresses } from "./getConnectedAddresses";
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import * as providers from './providers';
import * as functions from './functions';
export { providers, functions };

20 changes: 0 additions & 20 deletions src/index.tsx

This file was deleted.

0 comments on commit 3a5db21

Please sign in to comment.