Skip to content

Commit 09ada5e

Browse files
committed
Moves GetCryptoCustomerResponse
1 parent 3f0c28d commit 09ada5e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

example/server/onrampBackend.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ interface LoginResponse {
5050
user: SignupUser;
5151
}
5252

53+
interface GetCryptoCustomerResponse {
54+
crypto_customer_id: string;
55+
}
56+
5357
interface CreateOnrampSessionRequest {
5458
ui_mode: string;
5559
payment_token: string;
@@ -75,10 +79,6 @@ type ApiResult<T> =
7579
| { success: true; data: T }
7680
| { success: false; error: { code: string; message: string } };
7781

78-
interface GetCryptoCustomerResponse {
79-
crypto_customer_id: string;
80-
}
81-
8282
export class OnrampBackend {
8383
private baseUrl: string;
8484

@@ -481,6 +481,7 @@ export type {
481481
CreateAuthIntentRequest,
482482
CreateAuthIntentResponse,
483483
CreateLinkAuthTokenResponse,
484+
GetCryptoCustomerResponse,
484485
SaveUserRequest,
485486
SaveUserResponse,
486487
SignupRequest,
@@ -492,7 +493,6 @@ export type {
492493
OnrampSessionResponse,
493494
CheckoutRequest,
494495
ApiResult,
495-
GetCryptoCustomerResponse,
496496
};
497497

498498
export default OnrampBackend;

0 commit comments

Comments
 (0)