@w3payments/adapters 1.1.2 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +0 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3671,13 +3671,6 @@ var MeshPayAdapter = class {
|
|
|
3671
3671
|
}
|
|
3672
3672
|
const currency = import_common.currencyService.getCurrency(intent.currency);
|
|
3673
3673
|
const isFiatCurrency = currency?.type === "fiat";
|
|
3674
|
-
console.log("MeshPay createCheckoutSession:", {
|
|
3675
|
-
currency: intent.currency,
|
|
3676
|
-
amount: intent.amount,
|
|
3677
|
-
currencyType: currency?.type,
|
|
3678
|
-
isFiatCurrency,
|
|
3679
|
-
destinations: intent.destinations
|
|
3680
|
-
});
|
|
3681
3674
|
if (isFiatCurrency && intent.currency !== "USD") {
|
|
3682
3675
|
throw new Error(
|
|
3683
3676
|
`MeshPay adapter only supports USD as fiat currency, received: ${intent.currency}`
|
|
@@ -3706,7 +3699,6 @@ var MeshPayAdapter = class {
|
|
|
3706
3699
|
},
|
|
3707
3700
|
disableApiKeyGeneration: false
|
|
3708
3701
|
};
|
|
3709
|
-
console.log("MeshPay linkTokenRequest:", JSON.stringify(linkTokenRequest, null, 2));
|
|
3710
3702
|
const response = await globalThis.fetch(
|
|
3711
3703
|
`${this.config.baseUrl}/api/v1/linktoken`,
|
|
3712
3704
|
{
|