@rango-dev/widget-embedded 0.0.0-experimental-d66900c7-20260708 → 0.0.0-experimental-1624fbb4-20260708

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rango-dev/widget-embedded",
3
- "version": "0.0.0-experimental-d66900c7-20260708",
3
+ "version": "0.0.0-experimental-1624fbb4-20260708",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "source": "./src/index.ts",
@@ -89,7 +89,6 @@ export function useWalletList(params?: Params): API {
89
89
  if (isDetected && !detectedWalletsReported.has(wallet.type)) {
90
90
  detectedWalletsReported.add(wallet.type);
91
91
  emitWalletDetected({
92
- walletType: wallet.type,
93
92
  walletName: wallet.title,
94
93
  });
95
94
  }
@@ -532,7 +532,7 @@ export const createWalletsSlice = keepLastUpdated<AppStoreState, WalletsSlice>(
532
532
  */
533
533
  eventEmitter.emit(WidgetEvents.WalletEvent, {
534
534
  type: WalletEventTypes.DISCONNECT,
535
- payload: { walletType },
535
+ payload: { walletType, walletName: walletType },
536
536
  });
537
537
  if (isTargetWalletExistsInConnectedWallets) {
538
538
  // This should be called before updating connectedWallets since we need the old state to remove balances.
@@ -83,10 +83,10 @@ export type ConnectWalletEventPayload = {
83
83
 
84
84
  export type DisconnectWalletEventPayload = {
85
85
  walletType: string;
86
+ walletName: string;
86
87
  };
87
88
 
88
89
  export type WalletDetectedEventPayload = {
89
- walletType: string;
90
90
  walletName: string;
91
91
  };
92
92