Skip to content

Commit f05c6ed

Browse files
committed
updte on-ramp text
1 parent 81884b2 commit f05c6ed

File tree

17 files changed

+331
-331
lines changed

17 files changed

+331
-331
lines changed

examples/react-components/src/app/dashboard/OnRamp.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const OnRamp = ({ ethAddress }: OnRampProps) => {
4646
);
4747
}
4848
} catch (error) {
49-
console.error("Failed to init Coinbase on-ramp:", error);
49+
console.error("Failed to init Coinbase onramp:", error);
5050
}
5151
};
5252

@@ -74,7 +74,7 @@ export const OnRamp = ({ ethAddress }: OnRampProps) => {
7474
);
7575
}
7676
} catch (error) {
77-
console.error("Failed to init MoonPay on-ramp:", error);
77+
console.error("Failed to init MoonPay onramp:", error);
7878
}
7979
};
8080

examples/with-sdk-js/src/app/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export default function AuthPage() {
163163
const handleOnRamp = async () => {
164164
try {
165165
if (!wallets.length || !wallets[0].accounts?.length) {
166-
console.error("No wallets available for on-ramp");
166+
console.error("No wallets available for onramp");
167167
return;
168168
}
169169

@@ -172,7 +172,7 @@ export default function AuthPage() {
172172
);
173173

174174
if (!evmAccount) {
175-
console.error("No EVM-compatible account found for on-ramp");
175+
console.error("No EVM-compatible account found for onramp");
176176
return;
177177
}
178178

@@ -183,7 +183,7 @@ export default function AuthPage() {
183183
sandboxMode: true,
184184
});
185185
} catch (err) {
186-
console.error("Fiat On-Ramp failed:", err);
186+
console.error("Fiat OnRamp failed:", err);
187187
}
188188
};
189189

packages/core/src/__inputs__/public_api.swagger.json

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4817,27 +4817,27 @@
48174817
"properties": {
48184818
"onrampProvider": {
48194819
"$ref": "#/definitions/v1FiatOnRampProvider",
4820-
"description": "The fiat on-ramp provider"
4820+
"description": "The fiat onramp provider"
48214821
},
48224822
"projectId": {
48234823
"type": "string",
4824-
"description": "Project ID for the on-ramp provider. Some providers, like Coinbase, require this additional identifier"
4824+
"description": "Project ID for the onramp provider. Some providers, like Coinbase, require this additional identifier"
48254825
},
48264826
"publishableApiKey": {
48274827
"type": "string",
4828-
"description": "Publishable API key for the on-ramp provider"
4828+
"description": "Publishable API key for the onramp provider"
48294829
},
48304830
"encryptedSecretApiKey": {
48314831
"type": "string",
4832-
"description": "Secret API key for the on-ramp provider encrypted to our on-ramp encryption public key"
4832+
"description": "Secret API key for the onramp provider encrypted to our onramp encryption public key"
48334833
},
48344834
"encryptedPrivateApiKey": {
48354835
"type": "string",
4836-
"description": "Private API key for the on-ramp provider encrypted to our on-ramp encryption public key. Some providers, like Coinbase, require this additional key."
4836+
"description": "Private API key for the onramp provider encrypted to our onramp encryption public key. Some providers, like Coinbase, require this additional key."
48374837
},
48384838
"sandboxMode": {
48394839
"type": "boolean",
4840-
"description": "If the on-ramp credential is a sandbox credential"
4840+
"description": "If the onramp credential is a sandbox credential"
48414841
}
48424842
},
48434843
"required": [
@@ -4872,7 +4872,7 @@
48724872
"properties": {
48734873
"fiatOnRampCredentialId": {
48744874
"type": "string",
4875-
"description": "Unique identifier of the Fiat On-Ramp credential that was created"
4875+
"description": "Unique identifier of the Fiat OnRamp credential that was created"
48764876
}
48774877
},
48784878
"required": ["fiatOnRampCredentialId"]
@@ -6370,7 +6370,7 @@
63706370
"properties": {
63716371
"fiatOnrampCredentialId": {
63726372
"type": "string",
6373-
"description": "The ID of the fiat on-ramp credential to delete"
6373+
"description": "The ID of the fiat onramp credential to delete"
63746374
}
63756375
},
63766376
"required": ["fiatOnrampCredentialId"]
@@ -6401,7 +6401,7 @@
64016401
"properties": {
64026402
"fiatOnRampCredentialId": {
64036403
"type": "string",
6404-
"description": "Unique identifier of the Fiat On-Ramp credential that was deleted"
6404+
"description": "Unique identifier of the Fiat OnRamp credential that was deleted"
64056405
}
64066406
},
64076407
"required": ["fiatOnRampCredentialId"]
@@ -7558,35 +7558,35 @@
75587558
"properties": {
75597559
"fiatOnrampCredentialId": {
75607560
"type": "string",
7561-
"description": "Unique identifier for a given Fiat On-Ramp Credential."
7561+
"description": "Unique identifier for a given Fiat OnRamp Credential."
75627562
},
75637563
"organizationId": {
75647564
"type": "string",
75657565
"description": "Unique identifier for an Organization."
75667566
},
75677567
"onrampProvider": {
75687568
"$ref": "#/definitions/v1FiatOnRampProvider",
7569-
"description": "The fiat on-ramp provider."
7569+
"description": "The fiat onramp provider."
75707570
},
75717571
"projectId": {
75727572
"type": "string",
7573-
"description": "Project ID for the on-ramp provider. Some providers, like Coinbase, require this additional identifier."
7573+
"description": "Project ID for the onramp provider. Some providers, like Coinbase, require this additional identifier."
75747574
},
75757575
"publishableApiKey": {
75767576
"type": "string",
7577-
"description": "Publishable API key for the on-ramp provider."
7577+
"description": "Publishable API key for the onramp provider."
75787578
},
75797579
"encryptedSecretApiKey": {
75807580
"type": "string",
7581-
"description": "Secret API key for the on-ramp provider encrypted to our on-ramp encryption public key."
7581+
"description": "Secret API key for the onramp provider encrypted to our onramp encryption public key."
75827582
},
75837583
"encryptedPrivateApiKey": {
75847584
"type": "string",
7585-
"description": "Private API key for the on-ramp provider encrypted to our on-ramp encryption public key. Some providers, like Coinbase, require this additional key."
7585+
"description": "Private API key for the onramp provider encrypted to our onramp encryption public key. Some providers, like Coinbase, require this additional key."
75867586
},
75877587
"sandboxMode": {
75887588
"type": "boolean",
7589-
"description": "If the on-ramp credential is a sandbox credential."
7589+
"description": "If the onramp credential is a sandbox credential."
75907590
},
75917591
"createdAt": {
75927592
"$ref": "#/definitions/externaldatav1Timestamp"
@@ -8626,7 +8626,7 @@
86268626
"properties": {
86278627
"onrampProvider": {
86288628
"$ref": "#/definitions/v1FiatOnRampProvider",
8629-
"description": "Enum to specifiy which on-ramp provider to use"
8629+
"description": "Enum to specifiy which onramp provider to use"
86308630
},
86318631
"walletAddress": {
86328632
"type": "string",
@@ -8662,7 +8662,7 @@
86628662
},
86638663
"sandboxMode": {
86648664
"type": "boolean",
8665-
"description": "Optional flag to indicate whether to use the sandbox mode to simulate transactions for the on-ramp provider. Default is false."
8665+
"description": "Optional flag to indicate whether to use the sandbox mode to simulate transactions for the onramp provider. Default is false."
86668666
},
86678667
"urlForSignature": {
86688668
"type": "string",
@@ -8702,11 +8702,11 @@
87028702
"properties": {
87038703
"onRampUrl": {
87048704
"type": "string",
8705-
"description": "Unique URL for a given fiat on-ramp flow."
8705+
"description": "Unique URL for a given fiat onramp flow."
87068706
},
87078707
"onRampTransactionId": {
87088708
"type": "string",
8709-
"description": "Unique identifier used to retrieve transaction statuses for a given fiat on-ramp flow."
8709+
"description": "Unique identifier used to retrieve transaction statuses for a given fiat onramp flow."
87108710
},
87118711
"onRampUrlSignature": {
87128712
"type": "string",
@@ -11461,27 +11461,27 @@
1146111461
"properties": {
1146211462
"fiatOnrampCredentialId": {
1146311463
"type": "string",
11464-
"description": "The ID of the fiat on-ramp credential to update"
11464+
"description": "The ID of the fiat onramp credential to update"
1146511465
},
1146611466
"onrampProvider": {
1146711467
"$ref": "#/definitions/v1FiatOnRampProvider",
11468-
"description": "The fiat on-ramp provider"
11468+
"description": "The fiat onramp provider"
1146911469
},
1147011470
"projectId": {
1147111471
"type": "string",
11472-
"description": "Project ID for the on-ramp provider. Some providers, like Coinbase, require this additional identifier."
11472+
"description": "Project ID for the onramp provider. Some providers, like Coinbase, require this additional identifier."
1147311473
},
1147411474
"publishableApiKey": {
1147511475
"type": "string",
11476-
"description": "Publishable API key for the on-ramp provider"
11476+
"description": "Publishable API key for the onramp provider"
1147711477
},
1147811478
"encryptedSecretApiKey": {
1147911479
"type": "string",
11480-
"description": "Secret API key for the on-ramp provider encrypted to our on-ramp encryption public key"
11480+
"description": "Secret API key for the onramp provider encrypted to our onramp encryption public key"
1148111481
},
1148211482
"encryptedPrivateApiKey": {
1148311483
"type": "string",
11484-
"description": "Private API key for the on-ramp provider encrypted to our on-ramp encryption public key. Some providers, like Coinbase, require this additional key."
11484+
"description": "Private API key for the onramp provider encrypted to our onramp encryption public key. Some providers, like Coinbase, require this additional key."
1148511485
}
1148611486
},
1148711487
"required": [
@@ -11517,7 +11517,7 @@
1151711517
"properties": {
1151811518
"fiatOnRampCredentialId": {
1151911519
"type": "string",
11520-
"description": "Unique identifier of the Fiat On-Ramp credential that was updated"
11520+
"description": "Unique identifier of the Fiat OnRamp credential that was updated"
1152111521
}
1152211522
},
1152311523
"required": ["fiatOnRampCredentialId"]

packages/core/src/__inputs__/public_api.types.ts

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -994,17 +994,17 @@ export type definitions = {
994994
authenticatorIds: string[];
995995
};
996996
v1CreateFiatOnRampCredentialIntent: {
997-
/** @description The fiat on-ramp provider */
997+
/** @description The fiat onramp provider */
998998
onrampProvider: definitions["v1FiatOnRampProvider"];
999-
/** @description Project ID for the on-ramp provider. Some providers, like Coinbase, require this additional identifier */
999+
/** @description Project ID for the onramp provider. Some providers, like Coinbase, require this additional identifier */
10001000
projectId?: string;
1001-
/** @description Publishable API key for the on-ramp provider */
1001+
/** @description Publishable API key for the onramp provider */
10021002
publishableApiKey: string;
1003-
/** @description Secret API key for the on-ramp provider encrypted to our on-ramp encryption public key */
1003+
/** @description Secret API key for the onramp provider encrypted to our onramp encryption public key */
10041004
encryptedSecretApiKey: string;
1005-
/** @description Private API key for the on-ramp provider encrypted to our on-ramp encryption public key. Some providers, like Coinbase, require this additional key. */
1005+
/** @description Private API key for the onramp provider encrypted to our onramp encryption public key. Some providers, like Coinbase, require this additional key. */
10061006
encryptedPrivateApiKey?: string;
1007-
/** @description If the on-ramp credential is a sandbox credential */
1007+
/** @description If the onramp credential is a sandbox credential */
10081008
sandboxMode?: boolean;
10091009
};
10101010
v1CreateFiatOnRampCredentialRequest: {
@@ -1017,7 +1017,7 @@ export type definitions = {
10171017
parameters: definitions["v1CreateFiatOnRampCredentialIntent"];
10181018
};
10191019
v1CreateFiatOnRampCredentialResult: {
1020-
/** @description Unique identifier of the Fiat On-Ramp credential that was created */
1020+
/** @description Unique identifier of the Fiat OnRamp credential that was created */
10211021
fiatOnRampCredentialId: string;
10221022
};
10231023
v1CreateInvitationsIntent: {
@@ -1608,7 +1608,7 @@ export type definitions = {
16081608
authenticatorIds: string[];
16091609
};
16101610
v1DeleteFiatOnRampCredentialIntent: {
1611-
/** @description The ID of the fiat on-ramp credential to delete */
1611+
/** @description The ID of the fiat onramp credential to delete */
16121612
fiatOnrampCredentialId: string;
16131613
};
16141614
v1DeleteFiatOnRampCredentialRequest: {
@@ -1621,7 +1621,7 @@ export type definitions = {
16211621
parameters: definitions["v1DeleteFiatOnRampCredentialIntent"];
16221622
};
16231623
v1DeleteFiatOnRampCredentialResult: {
1624-
/** @description Unique identifier of the Fiat On-Ramp credential that was deleted */
1624+
/** @description Unique identifier of the Fiat OnRamp credential that was deleted */
16251625
fiatOnRampCredentialId: string;
16261626
};
16271627
v1DeleteInvitationIntent: {
@@ -2097,21 +2097,21 @@ export type definitions = {
20972097
| "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_SOLANA"
20982098
| "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BASE";
20992099
v1FiatOnRampCredential: {
2100-
/** @description Unique identifier for a given Fiat On-Ramp Credential. */
2100+
/** @description Unique identifier for a given Fiat OnRamp Credential. */
21012101
fiatOnrampCredentialId: string;
21022102
/** @description Unique identifier for an Organization. */
21032103
organizationId: string;
2104-
/** @description The fiat on-ramp provider. */
2104+
/** @description The fiat onramp provider. */
21052105
onrampProvider: definitions["v1FiatOnRampProvider"];
2106-
/** @description Project ID for the on-ramp provider. Some providers, like Coinbase, require this additional identifier. */
2106+
/** @description Project ID for the onramp provider. Some providers, like Coinbase, require this additional identifier. */
21072107
projectId?: string;
2108-
/** @description Publishable API key for the on-ramp provider. */
2108+
/** @description Publishable API key for the onramp provider. */
21092109
publishableApiKey: string;
2110-
/** @description Secret API key for the on-ramp provider encrypted to our on-ramp encryption public key. */
2110+
/** @description Secret API key for the onramp provider encrypted to our onramp encryption public key. */
21112111
encryptedSecretApiKey: string;
2112-
/** @description Private API key for the on-ramp provider encrypted to our on-ramp encryption public key. Some providers, like Coinbase, require this additional key. */
2112+
/** @description Private API key for the onramp provider encrypted to our onramp encryption public key. Some providers, like Coinbase, require this additional key. */
21132113
encryptedPrivateApiKey?: string;
2114-
/** @description If the on-ramp credential is a sandbox credential. */
2114+
/** @description If the onramp credential is a sandbox credential. */
21152115
sandboxMode?: boolean;
21162116
createdAt: definitions["externaldatav1Timestamp"];
21172117
updatedAt: definitions["externaldatav1Timestamp"];
@@ -2546,7 +2546,7 @@ export type definitions = {
25462546
addresses: string[];
25472547
};
25482548
v1InitFiatOnRampIntent: {
2549-
/** @description Enum to specifiy which on-ramp provider to use */
2549+
/** @description Enum to specifiy which onramp provider to use */
25502550
onrampProvider: definitions["v1FiatOnRampProvider"];
25512551
/** @description Destination wallet address for the buy transaction. */
25522552
walletAddress: string;
@@ -2564,7 +2564,7 @@ export type definitions = {
25642564
countryCode?: string;
25652565
/** @description ISO 3166-2 two-digit country subdivision code for Coinbase representing the purchasing user’s subdivision of residence within their country, e.g. NY. Required if country_code=US. */
25662566
countrySubdivisionCode?: string;
2567-
/** @description Optional flag to indicate whether to use the sandbox mode to simulate transactions for the on-ramp provider. Default is false. */
2567+
/** @description Optional flag to indicate whether to use the sandbox mode to simulate transactions for the onramp provider. Default is false. */
25682568
sandboxMode?: boolean;
25692569
/** @description Optional MoonPay Widget URL to sign when using MoonPay client SDKs with URL Signing enabled. */
25702570
urlForSignature?: string;
@@ -2579,9 +2579,9 @@ export type definitions = {
25792579
parameters: definitions["v1InitFiatOnRampIntent"];
25802580
};
25812581
v1InitFiatOnRampResult: {
2582-
/** @description Unique URL for a given fiat on-ramp flow. */
2582+
/** @description Unique URL for a given fiat onramp flow. */
25832583
onRampUrl: string;
2584-
/** @description Unique identifier used to retrieve transaction statuses for a given fiat on-ramp flow. */
2584+
/** @description Unique identifier used to retrieve transaction statuses for a given fiat onramp flow. */
25852585
onRampTransactionId: string;
25862586
/** @description Optional signature of the MoonPay Widget URL. The signature is generated if the Init Fiat On Ramp intent includes the urlForSignature field. The signature can be used to initialize the MoonPay SDKs when URL signing is enabled for your project. */
25872587
onRampUrlSignature?: string;
@@ -3660,17 +3660,17 @@ export type definitions = {
36603660
configId?: string;
36613661
};
36623662
v1UpdateFiatOnRampCredentialIntent: {
3663-
/** @description The ID of the fiat on-ramp credential to update */
3663+
/** @description The ID of the fiat onramp credential to update */
36643664
fiatOnrampCredentialId: string;
3665-
/** @description The fiat on-ramp provider */
3665+
/** @description The fiat onramp provider */
36663666
onrampProvider: definitions["v1FiatOnRampProvider"];
3667-
/** @description Project ID for the on-ramp provider. Some providers, like Coinbase, require this additional identifier. */
3667+
/** @description Project ID for the onramp provider. Some providers, like Coinbase, require this additional identifier. */
36683668
projectId?: string;
3669-
/** @description Publishable API key for the on-ramp provider */
3669+
/** @description Publishable API key for the onramp provider */
36703670
publishableApiKey: string;
3671-
/** @description Secret API key for the on-ramp provider encrypted to our on-ramp encryption public key */
3671+
/** @description Secret API key for the onramp provider encrypted to our onramp encryption public key */
36723672
encryptedSecretApiKey: string;
3673-
/** @description Private API key for the on-ramp provider encrypted to our on-ramp encryption public key. Some providers, like Coinbase, require this additional key. */
3673+
/** @description Private API key for the onramp provider encrypted to our onramp encryption public key. Some providers, like Coinbase, require this additional key. */
36743674
encryptedPrivateApiKey?: string;
36753675
};
36763676
v1UpdateFiatOnRampCredentialRequest: {
@@ -3683,7 +3683,7 @@ export type definitions = {
36833683
parameters: definitions["v1UpdateFiatOnRampCredentialIntent"];
36843684
};
36853685
v1UpdateFiatOnRampCredentialResult: {
3686-
/** @description Unique identifier of the Fiat On-Ramp credential that was updated */
3686+
/** @description Unique identifier of the Fiat OnRamp credential that was updated */
36873687
fiatOnRampCredentialId: string;
36883688
};
36893689
v1UpdateOauth2CredentialIntent: {

0 commit comments

Comments
 (0)