@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.mjs
CHANGED
|
@@ -3635,13 +3635,6 @@ var MeshPayAdapter = class {
|
|
|
3635
3635
|
}
|
|
3636
3636
|
const currency = currencyService.getCurrency(intent.currency);
|
|
3637
3637
|
const isFiatCurrency = currency?.type === "fiat";
|
|
3638
|
-
console.log("MeshPay createCheckoutSession:", {
|
|
3639
|
-
currency: intent.currency,
|
|
3640
|
-
amount: intent.amount,
|
|
3641
|
-
currencyType: currency?.type,
|
|
3642
|
-
isFiatCurrency,
|
|
3643
|
-
destinations: intent.destinations
|
|
3644
|
-
});
|
|
3645
3638
|
if (isFiatCurrency && intent.currency !== "USD") {
|
|
3646
3639
|
throw new Error(
|
|
3647
3640
|
`MeshPay adapter only supports USD as fiat currency, received: ${intent.currency}`
|
|
@@ -3670,7 +3663,6 @@ var MeshPayAdapter = class {
|
|
|
3670
3663
|
},
|
|
3671
3664
|
disableApiKeyGeneration: false
|
|
3672
3665
|
};
|
|
3673
|
-
console.log("MeshPay linkTokenRequest:", JSON.stringify(linkTokenRequest, null, 2));
|
|
3674
3666
|
const response = await globalThis.fetch(
|
|
3675
3667
|
`${this.config.baseUrl}/api/v1/linktoken`,
|
|
3676
3668
|
{
|