Skip to content

Commit cf47ec7

Browse files
committed
PLUS-2658 renamed GetUserCredit to GetUserBalance
1 parent 1eb0cb2 commit cf47ec7

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 GetUserCredit = () => Promise<number>;
85+
export type GetUserBalance = () => 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-
getUserCredit: GetUserCredit;
277+
getUserBalance: GetUserBalance;
278278
}
279279

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

0 commit comments

Comments
 (0)