From eda7c54bcb68ae0674d02330c9c6f3e5dad2f154 Mon Sep 17 00:00:00 2001 From: Alec Ananian <1013230+alecananian@users.noreply.github.com> Date: Sat, 2 Aug 2025 13:59:23 -0700 Subject: [PATCH] export `useSiweAuth` for React Native --- .changeset/short-icons-care.md | 5 +++++ packages/thirdweb/src/exports/react.native.ts | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 .changeset/short-icons-care.md diff --git a/.changeset/short-icons-care.md b/.changeset/short-icons-care.md new file mode 100644 index 00000000000..4fbb4babe2e --- /dev/null +++ b/.changeset/short-icons-care.md @@ -0,0 +1,5 @@ +--- +"thirdweb": patch +--- + +Added `useSiweAuth` to the React Native exports diff --git a/packages/thirdweb/src/exports/react.native.ts b/packages/thirdweb/src/exports/react.native.ts index 5872285fc66..1d324b111db 100644 --- a/packages/thirdweb/src/exports/react.native.ts +++ b/packages/thirdweb/src/exports/react.native.ts @@ -8,6 +8,9 @@ export type { } from "../react/core/design-system/index.js"; // theme export { darkTheme, lightTheme } from "../react/core/design-system/index.js"; +// auth +export type { SiweAuthOptions } from "../react/core/hooks/auth/useSiweAuth.js"; +export { useSiweAuth } from "../react/core/hooks/auth/useSiweAuth.js"; export type { ConnectButton_connectButtonOptions, ConnectButton_connectModalOptions,