@use-glyph/sdk-react 2.0.17-rc.2 → 2.0.17-rc.4

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.
@@ -1,2 +1,2 @@
1
1
  import { GlyphWidgetProps } from '../types';
2
- export declare const GlyphWidget: ({ buttonProps }: GlyphWidgetProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const GlyphWidget: ({ buttonProps, minWidth, alwaysOpen }: GlyphWidgetProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function ChainSelector(): import("react/jsx-runtime").JSX.Element;
@@ -3,6 +3,8 @@ import { LoginButton } from './components/LoginButton';
3
3
  import { LogoutButton } from './components/LogoutButton';
4
4
  import { SignUpButton } from './components/SignUpButton';
5
5
  import { GlyphProvider } from './context/GlyphProvider';
6
+ import { Wallet } from './components/widget/Wallet';
7
+ import { default as ChainSelector } from './components/shared/ChainSelector';
6
8
  export { useGlyphConfigureDynamicChains } from './hooks/useGlyphConfigureDynamicChains';
7
9
  export { configureRelayChains } from './lib/relay';
8
10
  export { useBalances } from './hooks/useBalances';
@@ -13,7 +15,8 @@ export { useGlyphTokenGate, useGlyphOwnershipCheck, type GlyphOwnershipCheckRequ
13
15
  export { useGlyphView } from './hooks/useGlyphView';
14
16
  export { glyphConnectorDetails } from './lib/constants';
15
17
  export { GlyphViewType as GlyphView, StrategyType, WalletClientType } from './types';
16
- export { GlyphProvider, GlyphWidget, LoginButton, LogoutButton, SignUpButton };
18
+ export type { GlyphWidgetUser } from './types';
19
+ export { GlyphProvider, GlyphWidget, LoginButton, LogoutButton, SignUpButton, Wallet, ChainSelector };
17
20
  export { NativeGlyphConnectButton } from './components/NativeGlyphConnectButton';
18
21
  export { useNativeGlyphConnection } from './hooks/useNativeGlyphConnection';
19
22
  export { glyphWalletConnector } from './lib/eip1193/glyphWalletConnector';
@@ -101,12 +101,15 @@ export type GlyphWidgetBalances = {
101
101
  };
102
102
  };
103
103
  export type GlyphWidgetButtonProps = {
104
+ hide?: boolean;
104
105
  showAvatar?: boolean;
105
106
  showBalance?: boolean;
106
107
  showUsername?: boolean;
107
108
  };
108
109
  export type GlyphWidgetProps = {
109
110
  buttonProps?: GlyphWidgetButtonProps;
111
+ minWidth?: number;
112
+ alwaysOpen?: boolean;
110
113
  };
111
114
  export type GlyphWidgetUser = {
112
115
  hasProfile: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@use-glyph/sdk-react",
3
- "version": "2.0.17-rc.2",
3
+ "version": "2.0.17-rc.4",
4
4
  "type": "module",
5
5
  "license": "GLYPH-1.0",
6
6
  "sideEffects": false,