Skip to content

Commit

Permalink
chore: expose solana provider type (#2756)
Browse files Browse the repository at this point in the history
Co-authored-by: Enes <[email protected]>
Co-authored-by: tomiir <[email protected]>
  • Loading branch information
3 people authored Aug 28, 2024
1 parent 0ec139c commit 37ba9a5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/solana/exports/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ import { AppKit } from '@web3modal/base'
import { SolanaWeb3JsClient } from '@web3modal/base/adapters/solana/web3js'
import { ConstantsUtil } from '@web3modal/scaffold-utils'
import type { SolanaAppKitOptions } from './options'
import type { Provider } from '@web3modal/base/adapters/solana/web3js'

// -- Configs -----------------------------------------------------------
export { defaultSolanaConfig } from '@web3modal/base/adapters/solana/web3js'

// -- Types -------------------------------------------------------------
export type { SolanaAppKitOptions }
export type { SolanaAppKitOptions, Provider }

// -- Setup -------------------------------------------------------------
export function createWeb3Modal(options: SolanaAppKitOptions) {
Expand Down
2 changes: 1 addition & 1 deletion packages/solana/exports/react.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import type { SolanaAppKitOptions } from './options'
export { defaultSolanaConfig } from '@web3modal/base/adapters/solana/web3js'

// -- Types -------------------------------------------------------------------
export type { SolanaAppKitOptions }
export type { SolanaAppKitOptions, Provider }

// -- Setup -------------------------------------------------------------
let appkit: AppKit | undefined = undefined
Expand Down
2 changes: 1 addition & 1 deletion packages/solana/exports/vue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import type { CaipNetwork } from '@web3modal/core'
import type { SolanaAppKitOptions } from './options'

// -- Types -------------------------------------------------------------------
export type { SolanaAppKitOptions }
export type { SolanaAppKitOptions, Provider }

// -- Setup -------------------------------------------------------------------
let appkit: AppKit | undefined = undefined
Expand Down

0 comments on commit 37ba9a5

Please sign in to comment.