Skip to content

Commit d32ab0d

Browse files
committedMar 11, 2025·
PLUS-2658 renamed it to getUserCreditBalance
1 parent cf47ec7 commit d32ab0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/ps-web-apis.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export type WaitingRoomQueue = WaitingRoomQueueDefault | "auth" | "checkout" | "
8282
export type Fetch = (input: RequestInfo, init?: FetchOptions) => Promise<Response>;
8383
export type GetRosettaEnvByKey = (key: string) => string | undefined;
8484
export type WaitForCapacity = (queue: WaitingRoomQueue) => Promise<void>;
85-
export type GetUserBalance = () => Promise<number>;
85+
export type GetUserCreditBalance = () => Promise<number>;
8686
export type RegisterIframeMessageListener = (eventtype: string, listener: (event: any, iframe: HTMLIFrameElement) => void) => void;
8787

8888
export interface WhoamiV1 {
@@ -274,7 +274,7 @@ export interface WaitingRoomV1 {
274274
}
275275

276276
export interface WalletV1 {
277-
getUserBalance: GetUserBalance;
277+
getUserCreditBalance: GetUserCreditBalance;
278278
}
279279

280280
export type ILayer = "privacy" | "reject";

0 commit comments

Comments
 (0)
Please sign in to comment.