Skip to content

Commit

Permalink
chore: export hooks (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliobricenov authored Oct 24, 2024
1 parent f51559a commit 950f722
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hyperplay/quests-ui",
"version": "0.0.32",
"version": "0.0.33",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
19 changes: 16 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
// components
export { QuestDetailsWrapper } from './components/QuestDetailsWrapper'
export type { TrackEventFn } from './types/analytics'
export * from './hooks/useCheckG7ConnectionStatus'
export * from './hooks/useSyncPlayStreakWithExternalSource'
export * from './helpers/getPlaystreakArgsFromQuestData'

// state
export { default as questPlayStreakSyncState } from './state/QuestPlayStreakSyncState'

// helpers
export * from './helpers/getPlaystreakArgsFromQuestData'
export * from './helpers/getQueryKeys'
export * from './helpers/getPlaystreakQuestStatus'

// hooks
export * from './hooks/useCheckG7ConnectionStatus'
export * from './hooks/useGetQuest'
export * from './hooks/useGetRewards'
export * from './hooks/useGetSteamGame'
export * from './hooks/useGetUserPlayStreak'
export * from './hooks/useHasPendingExternalSync'
export * from './hooks/useInterval'
export * from './hooks/useSyncPlayStreakWithExternalSource'
export * from './hooks/useTrackQuestViewed'

0 comments on commit 950f722

Please sign in to comment.