diff --git a/src/envConfig.ts b/src/envConfig.ts index dc64a02c998..6289f0de0a5 100644 --- a/src/envConfig.ts +++ b/src/envConfig.ts @@ -396,6 +396,11 @@ export const asEnvConfig = asObject({ apiKey: asOptional(asString, '') }).withRest ), + XGRAM_INIT: asCorePluginInit( + asObject({ + apiKey: asOptional(asString, '') + }).withRest + ), UNIZEN_INIT: asCorePluginInit( asObject({ apiKey: asOptional(asString, '') diff --git a/src/plugins/gui/providers/simplexProvider.ts b/src/plugins/gui/providers/simplexProvider.ts index 8e6d3224b95..5a3b3902cc1 100644 --- a/src/plugins/gui/providers/simplexProvider.ts +++ b/src/plugins/gui/providers/simplexProvider.ts @@ -454,6 +454,10 @@ export const simplexProvider: FiatProviderFactory = { const deeplinkHandlerAsync = async ( link: FiatProviderLink ): Promise => { + console.log( + '[Simplex] deeplinkHandlerAsync: ' + + JSON.stringify(link, null, 2) + ) if (link.direction !== 'buy') return const orderId = link.query.orderId ?? 'unknown' diff --git a/src/util/corePlugins.ts b/src/util/corePlugins.ts index c35f336cb29..7b565648a6d 100644 --- a/src/util/corePlugins.ts +++ b/src/util/corePlugins.ts @@ -99,6 +99,7 @@ export const swapPlugins = { letsexchange: ENV.LETSEXCHANGE_INIT, sideshift: ENV.SIDESHIFT_INIT, swapuz: ENV.SWAPUZ_INIT, + xgram: ENV.XGRAM_INIT, // Defi Swaps bridgeless: true,