File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
packages/thirdweb/src/wallets/in-app/core/users Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { getThirdwebBaseUrl } from "../../../../utils/domains.js";
33import { getClientFetch } from "../../../../utils/fetch.js" ;
44import type { OneOf , Prettify } from "../../../../utils/type-utils.js" ;
55import type { Profile } from "../authentication/types.js" ;
6+ import type { Ecosystem } from "../wallet/types.js" ;
67
78export type GetUserResult = {
89 userId : string ;
@@ -44,6 +45,7 @@ export async function getUser({
4445 email,
4546 phone,
4647 id,
48+ ecosystem,
4749} : Prettify <
4850 {
4951 client : ThirdwebClient ;
@@ -52,6 +54,7 @@ export async function getUser({
5254 email ?: string ;
5355 phone ?: string ;
5456 id ?: string ;
57+ ecosystem ?: Ecosystem ;
5558 } >
5659> ) : Promise < GetUserResult | null > {
5760 if ( ! client . secretKey ) {
@@ -82,7 +85,7 @@ export async function getUser({
8285 ) ;
8386 }
8487
85- const clientFetch = getClientFetch ( client ) ;
88+ const clientFetch = getClientFetch ( client , ecosystem ) ;
8689
8790 const res = await clientFetch ( url . toString ( ) ) ;
8891
You can’t perform that action at this time.
0 commit comments