Skip to content

Commit

Permalink
fix: expose IErrorState in react package (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
pdtfh authored Dec 5, 2023
1 parent c1d1c46 commit 5531d8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import SignInButton from './components/SignInButton'
import { CredentialType } from '@worldcoin/idkit-core'
import IDKitWidget from '@/components/IDKitWidget/index'
import type { WidgetProps, Config } from '@/types/config'
import type { ISuccessResult } from '@worldcoin/idkit-core'
import { solidityEncode } from '@worldcoin/idkit-core/hashing'
import SignInWithWorldID from './components/SignInWithWorldID'
import type { ISuccessResult, IErrorState } from '@worldcoin/idkit-core'

export { IDKitWidget, useIDKit, solidityEncode, SignInWithWorldID, CredentialType, SignInButton }
export type { ISuccessResult, Config, WidgetProps }
export type { ISuccessResult, IErrorState, Config, WidgetProps }

0 comments on commit 5531d8c

Please sign in to comment.