@rash2x/bridge-widget 0.4.5 → 0.5.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.d.ts CHANGED
@@ -208,6 +208,7 @@ export declare interface EvaaBridgeProps {
208
208
  className?: string;
209
209
  tonClient?: TonClient;
210
210
  tonApiKey?: string;
211
+ tronWalletConnectConfig?: TronWalletConnectConfig;
211
212
  defaultLanguage?: string;
212
213
  transactionIcons?: TransactionIcons;
213
214
  onInitialized?: () => void;
@@ -633,6 +634,18 @@ declare interface TronMonitorReceipt {
633
634
  };
634
635
  }
635
636
 
637
+ declare interface TronWalletConnectConfig {
638
+ projectId: string;
639
+ metadata?: {
640
+ name: string;
641
+ description: string;
642
+ url: string;
643
+ icons: string[];
644
+ };
645
+ themeMode?: "light" | "dark";
646
+ themeVariables?: Record<string, string>;
647
+ }
648
+
636
649
  /**
637
650
  * Обрезает число до указанного количества десятичных знаков без округления
638
651
  * Например: truncateToDecimals(3.389, 2) = "3.38" (не "3.39")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rash2x/bridge-widget",
3
- "version": "0.4.5",
3
+ "version": "0.5.0",
4
4
  "description": "Cross-chain bridge widget powered by Stargate Protocol with multi-chain wallet support",
5
5
  "type": "module",
6
6
  "main": "./dist/evaa-bridge.cjs",