@stableflow/pay-widgets 0.2.0-beta-90dffc3d2f-20261012 → 0.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.
@@ -45,10 +45,6 @@ type PayConfigSourceToken = {
45
45
  supportPayment: boolean;
46
46
  supportReceive: boolean;
47
47
  };
48
- type PopularTokenRef = {
49
- blockchain: string;
50
- symbol: string;
51
- };
52
48
  type WalletAccountInput = {
53
49
  address?: string | null;
54
50
  icon?: string | null;
@@ -91,7 +87,6 @@ type PayWidgetsProviderProps = {
91
87
  readBalances?: ReadBalances;
92
88
  getBalance?: (token: PayToken, owner: string) => string | null | undefined;
93
89
  isBalanceLoading?: (token: PayToken, owner: string) => boolean;
94
- popularTokens?: PopularTokenRef[];
95
90
  stableSymbols?: string[];
96
91
  chainKindLabels?: Record<string, string>;
97
92
  onCopyAddress?: (address: string) => void;
@@ -102,19 +97,6 @@ declare function PayWidgetsProvider(props: PayWidgetsProviderProps): react.JSX.E
102
97
  type TokenSelectSelection = {
103
98
  token: PayToken;
104
99
  };
105
- type PaneView = {
106
- kind: "wallet";
107
- } | {
108
- kind: "all";
109
- } | {
110
- kind: "rail-chain";
111
- blockchain: string;
112
- } | {
113
- kind: "networks";
114
- } | {
115
- kind: "network-chain";
116
- blockchain: string;
117
- };
118
100
  type TokenSelectDialogProps = {
119
101
  open: boolean;
120
102
  onClose: () => void;
@@ -134,7 +116,6 @@ type TokenSelectDialogProps = {
134
116
  closeClassName?: string;
135
117
  contentClassName?: string;
136
118
  searchClassName?: string;
137
- railClassName?: string;
138
119
  rowClassName?: string;
139
120
  };
140
121
  declare function TokenSelectDialog(props: TokenSelectDialogProps): react.JSX.Element;
@@ -162,6 +143,5 @@ declare function chainsFromTokens(tokens: readonly {
162
143
  blockchain: string;
163
144
  chain: PayChain;
164
145
  }[]): PayChain[];
165
- declare function parsePopularTokens(raw: string | null | undefined): PopularTokenRef[];
166
146
 
167
- export { type BalanceReadResult, type ChainKind, type ChainOwners, KNOWN_CHAIN_KINDS, type NormalizePayConfigOptions, type PaneView, type PayChain, type PayConfigSource, type PayToken, type PayWallet, PayWidgetsProvider, type PayWidgetsProviderProps, type PopularTokenRef, type ReadBalances, type TokenBalance, TokenSelectDialog, type TokenSelectDialogProps, type TokenSelectRole, type TokenSelectSelection, chainsFromTokens, clearPayTokenBalances, mapPayConfigSource, normalizePayConfig, ownerKey, parsePopularTokens, refreshPayTokenBalance, tokenAssetId, usePayTokenBalance };
147
+ export { type BalanceReadResult, type ChainKind, type ChainOwners, KNOWN_CHAIN_KINDS, type NormalizePayConfigOptions, type PayChain, type PayConfigSource, type PayToken, type PayWallet, PayWidgetsProvider, type PayWidgetsProviderProps, type ReadBalances, type TokenBalance, TokenSelectDialog, type TokenSelectDialogProps, type TokenSelectRole, type TokenSelectSelection, chainsFromTokens, clearPayTokenBalances, mapPayConfigSource, normalizePayConfig, ownerKey, refreshPayTokenBalance, tokenAssetId, usePayTokenBalance };