@layerswap/wallets 1.0.3 → 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/esm/index.js CHANGED
@@ -130,8 +130,8 @@ export function getDefaultProviders(config = {}) {
130
130
  createBitcoinProvider(),
131
131
  // Immutable X
132
132
  createImmutableXProvider(),
133
- // TON (always included with optional config)
134
- createTONProvider(ton ? { tonConfigs: ton } : {}),
133
+ // TON
134
+ ...(ton ? [createTONProvider({ tonConfigs: ton })] : []),
135
135
  // SVM (Solana)
136
136
  createSVMProvider({
137
137
  walletConnectConfigs: walletConnect