Skip to content

Commit e5326c4

Browse files
authored
[SDK] Feat: export useSiweAuth for React Native (#7785)
1 parent 57862d0 commit e5326c4

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.changeset/short-icons-care.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
Added `useSiweAuth` to the React Native exports

packages/thirdweb/src/exports/react.native.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export type {
88
} from "../react/core/design-system/index.js";
99
// theme
1010
export { darkTheme, lightTheme } from "../react/core/design-system/index.js";
11+
// auth
12+
export type { SiweAuthOptions } from "../react/core/hooks/auth/useSiweAuth.js";
13+
export { useSiweAuth } from "../react/core/hooks/auth/useSiweAuth.js";
1114
export type {
1215
ConnectButton_connectButtonOptions,
1316
ConnectButton_connectModalOptions,

0 commit comments

Comments
 (0)