From 99220b5b18dff75186f0e9dc5f45b3e75d7c8e05 Mon Sep 17 00:00:00 2001 From: Reynaldi Chernando <12949382+reynaldichernando@users.noreply.github.com> Date: Wed, 24 Dec 2025 03:34:41 +0700 Subject: [PATCH] Add optional requestCallbacks options to getUser (#2186) --- src/puter-js/types/modules/auth.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/puter-js/types/modules/auth.d.ts b/src/puter-js/types/modules/auth.d.ts index 6a7b47b9c..11317e07d 100644 --- a/src/puter-js/types/modules/auth.d.ts +++ b/src/puter-js/types/modules/auth.d.ts @@ -1,3 +1,5 @@ +import { RequestCallbacks } from "../shared"; + export interface User { uuid: string; username: string; @@ -55,7 +57,7 @@ export class Auth { signIn (options?: { attempt_temp_user_creation?: boolean }): Promise; signOut (): void; isSignedIn (): boolean; - getUser (): Promise; + getUser (options:? RequestCallbacks): Promise; whoami (): Promise; getMonthlyUsage (): Promise; getDetailedAppUsage (appId: string): Promise;