@fluent.xyz/connect 0.3.0 → 0.3.2

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
@@ -1,7 +1,7 @@
1
1
  import * as viem from 'viem';
2
- import { Chain, PublicClient, Transport, Address, createPublicClient, Hex, Abi, Hash, WalletClient } from 'viem';
2
+ import { Chain, PublicClient, Transport, Address, createPublicClient, Hex, Abi, Hash, SignableMessage, TypedData, TypedDataDefinition, WalletClient } from 'viem';
3
3
  import * as React from 'react';
4
- import { ReactNode, AnchorHTMLAttributes, SVGProps } from 'react';
4
+ import { ReactNode, RefObject, AnchorHTMLAttributes, SVGProps } from 'react';
5
5
  import * as _privy_io_react_auth from '@privy-io/react-auth';
6
6
  import { CallType } from '@zerodev/permissions/policies';
7
7
  export { CallType, ParamCondition } from '@zerodev/permissions/policies';
@@ -1420,6 +1420,12 @@ declare function createFluentZeroDevPermissionSession(params: {
1420
1420
  calls: readonly FluentZeroDevPermissionCall[];
1421
1421
  expiresAt?: number;
1422
1422
  }): Promise<FluentZeroDevPermissionSession>;
1423
+ /**
1424
+ * Runs `sign` with the Privy prompt worded for a plain signature rather than a
1425
+ * UserOperation. The prompt kernel's signer reads a module-level context because
1426
+ * Privy's `uiOptions` are fixed when the signer is built, not per call.
1427
+ */
1428
+ declare function withFluentSignaturePrompt<T>(sign: () => Promise<T>): Promise<T>;
1423
1429
 
1424
1430
  type FluentPermissionArgConstraint = {
1425
1431
  equals: unknown;
@@ -1482,6 +1488,37 @@ declare function createFluentPermissionApi(executor?: FluentPermissionSessionExe
1482
1488
  declare function createFluentPermissionPolicyBuilders(): FluentPermissionPolicyBuilders;
1483
1489
  declare function createFluentPermissionSession(input: FluentPermissionSessionInput, executor?: FluentPermissionSessionExecutor | null): Promise<FluentPermissionSession>;
1484
1490
 
1491
+ /**
1492
+ * A typed-data request with its generics erased: what the review shows and what the
1493
+ * signer receives. `signTypedData` on the public API keeps viem's generic signature so
1494
+ * hosts get their `types` checked; the erasure happens once, at the API boundary.
1495
+ */
1496
+ type FluentTypedDataRequest = TypedDataDefinition<TypedData | Record<string, unknown>, string>;
1497
+ /**
1498
+ * What the user reviews before a signature is produced. `origin` is the page asking,
1499
+ * which is the one fact a signature request cannot be trusted to state about itself;
1500
+ * `address` is the account the signature will be for.
1501
+ */
1502
+ type FluentSignatureReview = {
1503
+ origin: string;
1504
+ account: FluentWidgetAccount;
1505
+ address: Address;
1506
+ } & ({
1507
+ kind: "message";
1508
+ message: SignableMessage;
1509
+ } | {
1510
+ kind: "typedData";
1511
+ typedData: FluentTypedDataRequest;
1512
+ });
1513
+ type FluentSignApi = {
1514
+ /** EIP-191 signature. ERC-1271 (ERC-6492 before deployment) for a smart account, ECDSA for an External wallet. */
1515
+ signMessage: (params: {
1516
+ message: SignableMessage;
1517
+ }) => Promise<Hex>;
1518
+ /** EIP-712 signature. ERC-1271 (ERC-6492 before deployment) for a smart account, ECDSA for an External wallet. */
1519
+ signTypedData: <const typedData extends TypedData | Record<string, unknown>, primaryType extends keyof typedData | "EIP712Domain" = keyof typedData>(typedData: TypedDataDefinition<typedData, primaryType>) => Promise<Hex>;
1520
+ };
1521
+
1485
1522
  type FluentBatchCallInput = {
1486
1523
  id?: string;
1487
1524
  label?: string;
@@ -1624,7 +1661,7 @@ type FluentBatchOperation = {
1624
1661
  canExecute: boolean;
1625
1662
  execute: (optionsOrExecutor?: FluentBatchOperationExecuteOptions | FluentBatchOperationExecutor, executor?: FluentBatchOperationExecutor) => Promise<FluentExecuteResult>;
1626
1663
  };
1627
- type FluentBatchApi = FluentPermissionApi & {
1664
+ type FluentBatchApi = FluentPermissionApi & FluentSignApi & {
1628
1665
  account: FluentWidgetAccount;
1629
1666
  confirmationMode: FluentBatchConfirmationMode;
1630
1667
  gasPayment: FluentWidgetGasPayment;
@@ -1710,6 +1747,8 @@ type FluentWidgetRenderContext = {
1710
1747
  * smart-contract wallets sign in; a not-yet-deployed smart account cannot (no ERC-6492).
1711
1748
  */
1712
1749
  getAuthToken: () => Promise<string>;
1750
+ /** The resolved auth mode: `"hosted"` unless the config says `"direct"`. */
1751
+ authMode: FluentWidgetAuthMode;
1713
1752
  };
1714
1753
  type FluentWidgetConnectButtonRenderContext = {
1715
1754
  connected: boolean;
@@ -1796,13 +1835,116 @@ declare function useFluentUserTokens(options?: {
1796
1835
  remove: (token: Pick<FluentTokenDefinition, "chainId" | "address">) => void;
1797
1836
  };
1798
1837
 
1799
- type FluentAuthErrorCode = "unknown_app" | "app_not_auth_enabled" | "origin_not_allowed" | "origin_missing" | "bad_request" | "nonce_unknown" | "nonce_used" | "nonce_expired" | "app_mismatch" | "invalid_signature" | "signature_prefix_rejected" | "address_already_linked" | "invalid_privy_token" | "no_embedded_wallet" | "rate_limited" | "internal" | "hosted_not_supported" | "not_connected" | "privy_token_missing" | "origin_mismatch" | "request_failed";
1838
+ type FluentAuthErrorCode = "unknown_app" | "app_not_auth_enabled" | "origin_not_allowed" | "origin_missing" | "bad_request" | "nonce_unknown" | "nonce_used" | "nonce_expired" | "app_mismatch" | "invalid_signature" | "signature_prefix_rejected" | "address_already_linked" | "invalid_privy_token" | "no_embedded_wallet" | "rate_limited" | "internal" | "hosted_not_supported" | "not_connected" | "root_signer_required" | "privy_token_missing" | "origin_mismatch" | "request_failed";
1800
1839
  declare class FluentAuthError extends Error {
1801
1840
  readonly code: FluentAuthErrorCode;
1802
1841
  readonly status?: number | undefined;
1803
1842
  constructor(code: FluentAuthErrorCode, message: string, status?: number | undefined);
1804
1843
  }
1805
1844
 
1845
+ /** One JSON-RPC request as the embedded page sends it: method plus positional params. */
1846
+ type FluentIframeRpcRequest = {
1847
+ method: string;
1848
+ params?: unknown[];
1849
+ };
1850
+ /**
1851
+ * The widget surface answering an embedded page's wallet calls needs. Every field is
1852
+ * injected so the handler is pure: it never reads the DOM or React state on its own.
1853
+ */
1854
+ type FluentIframeRpcExecutor = {
1855
+ authMode: FluentWidgetAuthMode;
1856
+ /** Read at call time: the account changes while the bridge lives. */
1857
+ account: () => FluentWidgetAccount;
1858
+ chainId: number;
1859
+ sign: FluentSignApi;
1860
+ sendCalls: (calls: FluentEncodedBatchCall[]) => Promise<FluentExecuteResult>;
1861
+ /** Read-only chain access for the methods the wallet does not answer itself. */
1862
+ rpc: (method: string, params?: unknown[]) => Promise<unknown>;
1863
+ };
1864
+ type FluentIframeRpcHandler = (request: FluentIframeRpcRequest) => Promise<unknown>;
1865
+ /**
1866
+ * An error the embedded page understands: EIP-1193 provider codes (4001 user rejected,
1867
+ * 4100 unauthorized, 4200 unsupported method) and EIP-1474 JSON-RPC codes (-32602
1868
+ * invalid params, -32603 internal error).
1869
+ */
1870
+ declare class FluentIframeRpcError extends Error {
1871
+ readonly code: number;
1872
+ constructor(code: number, message: string);
1873
+ }
1874
+ declare function createFluentIframeRpcHandler(executor: FluentIframeRpcExecutor): FluentIframeRpcHandler;
1875
+ /** The part of a `message` event the bridge reads; named so tests can build one without a DOM. */
1876
+ type FluentIframeMessageEvent = {
1877
+ origin: string;
1878
+ source: unknown;
1879
+ data: unknown;
1880
+ };
1881
+ type MessageListener = (event: FluentIframeMessageEvent) => void;
1882
+ /** Where the bridge listens for the iframe's messages; `window` outside tests. */
1883
+ type FluentIframeListenTarget = {
1884
+ addEventListener: (type: "message", listener: MessageListener) => void;
1885
+ removeEventListener: (type: "message", listener: MessageListener) => void;
1886
+ };
1887
+ /**
1888
+ * The iframe element, reduced to the window the bridge replies to. Read on every
1889
+ * message, so an element swapped in later is picked up without rebuilding the bridge.
1890
+ */
1891
+ type FluentIframeElement = {
1892
+ contentWindow: {
1893
+ postMessage: (message: unknown, targetOrigin: string) => void;
1894
+ } | null;
1895
+ };
1896
+ type FluentIframeBridgeOptions = {
1897
+ /**
1898
+ * The exact origin the marketplace is served from. Messages from any other origin are
1899
+ * dropped without a reply: `@ledgerhq/iframe-provider` posts with `targetOrigin "*"`
1900
+ * and checks nothing itself, so this is the only origin check in the exchange.
1901
+ */
1902
+ allowedOrigin: string;
1903
+ executor: FluentIframeRpcExecutor;
1904
+ listenOn?: FluentIframeListenTarget;
1905
+ };
1906
+ type FluentIframeBridge = {
1907
+ /** Tell the iframe who is signed in now: `[]` on sign-out. */
1908
+ notifyAccountsChanged: (accounts: readonly Address[]) => void;
1909
+ notifyChainChanged: (chainId: number) => void;
1910
+ /**
1911
+ * Stop listening and stop notifying. A request accepted before this is still answered,
1912
+ * so a review confirmed after the host unmounts does not leave the iframe waiting.
1913
+ */
1914
+ dispose: () => void;
1915
+ };
1916
+ /**
1917
+ * Answers an embedded page's EIP-1193 calls with the widget, over the JSON-RPC 2.0
1918
+ * `postMessage` protocol `@ledgerhq/iframe-provider` speaks, which marketplace
1919
+ * white-label frontends embed: a request is `{jsonrpc, id, method, params}` posted to `window.parent`, the reply
1920
+ * carries the same `id` with `result` or `error`, and events are `{jsonrpc, method, params}`
1921
+ * without an `id`.
1922
+ */
1923
+ declare function createFluentIframeBridge(iframe: FluentIframeElement, options: FluentIframeBridgeOptions): FluentIframeBridge;
1924
+
1925
+ /**
1926
+ * The user dismissed a review (transaction or signature) instead of confirming it.
1927
+ * A class, not a message, so callers that translate errors for another party — the
1928
+ * iframe bridge maps it to EIP-1193 `4001` — can recognise it without parsing prose.
1929
+ */
1930
+ declare class FluentReviewRejectedError extends Error {
1931
+ readonly review: "transaction" | "signature";
1932
+ constructor(review: "transaction" | "signature");
1933
+ }
1934
+
1935
+ type UseFluentIframeBridgeOptions = {
1936
+ /** The exact origin the embedded page is served from; see `createFluentIframeBridge`. */
1937
+ allowedOrigin: string;
1938
+ };
1939
+ /**
1940
+ * Lets a page embedded in `iframeRef` use the account signed in here, over the
1941
+ * JSON-RPC `postMessage` protocol `@ledgerhq/iframe-provider` speaks. The bridge lives
1942
+ * while the component is mounted; the bridge states the chain and account before its
1943
+ * first reply, and sign-in and sign-out reach the iframe as `accountsChanged`. Direct mode only: in hosted mode
1944
+ * the signing and sending calls reject the way `signMessage` does.
1945
+ */
1946
+ declare function useFluentIframeBridge(iframeRef: RefObject<FluentIframeElement | null>, { allowedOrigin }: UseFluentIframeBridgeOptions): void;
1947
+
1806
1948
  type FluentWidgetConnectButtonProps = {
1807
1949
  connected: boolean;
1808
1950
  /** Preparing the account after sign-in — disables the button and shows a spinner. */
@@ -2092,4 +2234,4 @@ type AccountAvatarProps = {
2092
2234
  */
2093
2235
  declare function AccountAvatar({ userLogoUrl, defaultLogoUrl, className }: AccountAvatarProps): React.JSX.Element;
2094
2236
 
2095
- export { AccountAvatar, type AccountAvatarProps, type AppDefinition, type BridgeAddresses, Button, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, FLUENT_CONNECT_DEFAULT_ASSETS, FLUENT_GAS_PAYMENT_DEFAULT_ETH_RATES, FLUENT_USER_TOKEN_LIMIT, FLUENT_WIDGET_SESSION_STORAGE_KEY, FLUENT_WIDGET_USER_TOKENS_STORAGE_KEY, FLUENT_ZERODEV_ERC20_PAYMASTER_QUERY, FLUENT_ZERODEV_PAYMASTER_DEMO_RECIPIENT, type FluentAccountCapabilities, FluentAccountDrawer, type FluentAccountType, FluentAuthError, type FluentAuthErrorCode, type FluentBatchApi, type FluentBatchCallInput, type FluentBatchConfirmationMode, type FluentBatchOperation, type FluentBatchOperationExecuteOptions, type FluentBatchOperationExecutor, type FluentBatchOperationInput, type FluentBatchOperationReview, type FluentCallPermission, type FluentChainDefinition, type FluentClient, type FluentClientConfig, type FluentEncodedBatchCall, type FluentExecuteResult, type FluentExternalWalletState, type FluentFamilies, type FluentFamiliesClient, type FluentFamiliesClientConfig, type FluentFamily, type FluentFamilyTier, type FluentFamilyType, type FluentGasPayment, type FluentGasPaymentEthRates, type FluentGasPaymentSelection, type FluentGasPaymentValueTier, type FluentGasTokenSymbol, type FluentPermissionApi, type FluentPermissionArgConstraint, type FluentPermissionArgs, type FluentPermissionBatchPolicy, type FluentPermissionBatchPolicyInput, type FluentPermissionCallInput, type FluentPermissionCallPolicy, type FluentPermissionClient, type FluentPermissionClientConfig, type FluentPermissionGrant, type FluentPermissionGrantRequest, type FluentPermissionPolicy, type FluentPermissionPolicyBuilders, type FluentPermissionPreview, type FluentPermissionSession, type FluentPermissionSessionExecutor, type FluentPermissionSessionInput, type FluentPermissionStatus, FluentPortalContainerProvider, type FluentSession, type FluentSpendPeriod, type FluentSpendPermission, type FluentSponsorshipReason, type FluentTokenBalance, type FluentTokenDefinition, type FluentUserTokenAddResult, FluentWidget, type FluentWidgetAccount, type FluentWidgetAuthMode, type FluentWidgetConfig, FluentWidgetConnectButton, type FluentWidgetConnectButtonProps, type FluentWidgetConnectButtonRenderContext, type FluentWidgetExecutionStatus, type FluentWidgetGasPayment, type FluentWidgetNetwork, FluentWidgetNetworkProvider, type FluentWidgetProps, type FluentWidgetRenderContext, type FluentWidgetSession, type FluentWidgetStatus, type FluentZeroDevErc20PaymasterToken, type FluentZeroDevErc20PaymasterTokenInfo, type FluentZeroDevKernel, type FluentZeroDevPaymasterDemoResult, type FluentZeroDevPaymasterKernel, type FluentZeroDevPermissionCall, type FluentZeroDevPermissionSession, type FluentZeroDevSignerMode, Icon, type IconName, type L1ChainDefinition, Label, type ResolvedFluentWidgetConfig, Separator, Switch, type UserTokenStore, WIDGET_STYLE_SCOPE, WalletMenuActionCard, type ZerodevIntegration, buttonVariants, clearPrivyRecentLoginMethod, createFluentBatchOp, createFluentClient, createFluentFamiliesClient, createFluentPermissionApi, createFluentPermissionClient, createFluentPermissionPolicyBuilders, createFluentPermissionSession, createFluentSponsorshipRpcUrl, createFluentUserTokenStore, createFluentZeroDevErc20Paymaster, createFluentZeroDevErc20PaymasterApprovalCall, createFluentZeroDevErc20PaymasterClient, createFluentZeroDevErc20PaymasterRpcUrl, createFluentZeroDevPermissionSession, createFluentZeroDevRpcUrl, createFluentZeroDevSponsoredPaymaster, findFluentSymbolCollisions, fluent, apps as fluentApps, fluentBridgeAbi, fluent$1 as fluentChain, fluentChains, fluentDefinitionToViemChain, integrations as fluentIntegrations, l1Chains as fluentL1Chains, fluentMainnet, fluentMainnetTokenDefaults, fluentTestnet, fluentTestnetTokenDefaults, fluentTokenIdentity, fluentZeroDevChainIds, getApp, getContractAddressFromChain, getFluentChain, getFluentChainByChainId, getFluentChainForNetwork, getFluentDefaultWidgetDisplayTokens, getFluentDefaultWidgetGasTokens, getFluentExplorerBaseUrl, getFluentGasPaymentEthValue, getFluentGasPaymentTokens, getFluentGasPaymentValueTier, getFluentGasTokenAddress, getFluentTokenDefaults, getFluentTokenDefaultsForNetwork, getFluentZeroDevErc20PaymasterTokens, getL1Chain, getL1ForFluentChain, getZeroDevRpcUrl, getZerodevIntegration, isFaucetNetwork, isFluentDefaultToken, isFluentNativeToken, isFluentZeroDevChain, l1DefinitionToViemChain, mergeFluentDisplayTokens, normalizeFluentWidgetNetwork, readFluentTokenBalances, readFluentTokenMetadata, registryVersion, resolveBridgeAddresses, resolveFluentWidgetNetworkFromEnv, resolveFluentZeroDevErc20PaymasterToken, resolveL1Definition, selectFluentGasPaymentToken, sendFluentZeroDevErc20PaymasterDemo, sortFluentGasTokens, useFluentUserTokens, useFluentWidget, useFluentWidgetNetwork, useFluentZeroDevAccount, useWidget };
2237
+ export { AccountAvatar, type AccountAvatarProps, type AppDefinition, type BridgeAddresses, Button, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, FLUENT_CONNECT_DEFAULT_ASSETS, FLUENT_GAS_PAYMENT_DEFAULT_ETH_RATES, FLUENT_USER_TOKEN_LIMIT, FLUENT_WIDGET_SESSION_STORAGE_KEY, FLUENT_WIDGET_USER_TOKENS_STORAGE_KEY, FLUENT_ZERODEV_ERC20_PAYMASTER_QUERY, FLUENT_ZERODEV_PAYMASTER_DEMO_RECIPIENT, type FluentAccountCapabilities, FluentAccountDrawer, type FluentAccountType, FluentAuthError, type FluentAuthErrorCode, type FluentBatchApi, type FluentBatchCallInput, type FluentBatchConfirmationMode, type FluentBatchOperation, type FluentBatchOperationExecuteOptions, type FluentBatchOperationExecutor, type FluentBatchOperationInput, type FluentBatchOperationReview, type FluentCallPermission, type FluentChainDefinition, type FluentClient, type FluentClientConfig, type FluentEncodedBatchCall, type FluentExecuteResult, type FluentExternalWalletState, type FluentFamilies, type FluentFamiliesClient, type FluentFamiliesClientConfig, type FluentFamily, type FluentFamilyTier, type FluentFamilyType, type FluentGasPayment, type FluentGasPaymentEthRates, type FluentGasPaymentSelection, type FluentGasPaymentValueTier, type FluentGasTokenSymbol, type FluentIframeBridge, type FluentIframeBridgeOptions, type FluentIframeElement, FluentIframeRpcError, type FluentIframeRpcExecutor, type FluentIframeRpcHandler, type FluentIframeRpcRequest, type FluentPermissionApi, type FluentPermissionArgConstraint, type FluentPermissionArgs, type FluentPermissionBatchPolicy, type FluentPermissionBatchPolicyInput, type FluentPermissionCallInput, type FluentPermissionCallPolicy, type FluentPermissionClient, type FluentPermissionClientConfig, type FluentPermissionGrant, type FluentPermissionGrantRequest, type FluentPermissionPolicy, type FluentPermissionPolicyBuilders, type FluentPermissionPreview, type FluentPermissionSession, type FluentPermissionSessionExecutor, type FluentPermissionSessionInput, type FluentPermissionStatus, FluentPortalContainerProvider, FluentReviewRejectedError, type FluentSession, type FluentSignApi, type FluentSignatureReview, type FluentSpendPeriod, type FluentSpendPermission, type FluentSponsorshipReason, type FluentTokenBalance, type FluentTokenDefinition, type FluentTypedDataRequest, type FluentUserTokenAddResult, FluentWidget, type FluentWidgetAccount, type FluentWidgetAuthMode, type FluentWidgetConfig, FluentWidgetConnectButton, type FluentWidgetConnectButtonProps, type FluentWidgetConnectButtonRenderContext, type FluentWidgetExecutionStatus, type FluentWidgetGasPayment, type FluentWidgetNetwork, FluentWidgetNetworkProvider, type FluentWidgetProps, type FluentWidgetRenderContext, type FluentWidgetSession, type FluentWidgetStatus, type FluentZeroDevErc20PaymasterToken, type FluentZeroDevErc20PaymasterTokenInfo, type FluentZeroDevKernel, type FluentZeroDevPaymasterDemoResult, type FluentZeroDevPaymasterKernel, type FluentZeroDevPermissionCall, type FluentZeroDevPermissionSession, type FluentZeroDevSignerMode, Icon, type IconName, type L1ChainDefinition, Label, type ResolvedFluentWidgetConfig, Separator, Switch, type UseFluentIframeBridgeOptions, type UserTokenStore, WIDGET_STYLE_SCOPE, WalletMenuActionCard, type ZerodevIntegration, buttonVariants, clearPrivyRecentLoginMethod, createFluentBatchOp, createFluentClient, createFluentFamiliesClient, createFluentIframeBridge, createFluentIframeRpcHandler, createFluentPermissionApi, createFluentPermissionClient, createFluentPermissionPolicyBuilders, createFluentPermissionSession, createFluentSponsorshipRpcUrl, createFluentUserTokenStore, createFluentZeroDevErc20Paymaster, createFluentZeroDevErc20PaymasterApprovalCall, createFluentZeroDevErc20PaymasterClient, createFluentZeroDevErc20PaymasterRpcUrl, createFluentZeroDevPermissionSession, createFluentZeroDevRpcUrl, createFluentZeroDevSponsoredPaymaster, findFluentSymbolCollisions, fluent, apps as fluentApps, fluentBridgeAbi, fluent$1 as fluentChain, fluentChains, fluentDefinitionToViemChain, integrations as fluentIntegrations, l1Chains as fluentL1Chains, fluentMainnet, fluentMainnetTokenDefaults, fluentTestnet, fluentTestnetTokenDefaults, fluentTokenIdentity, fluentZeroDevChainIds, getApp, getContractAddressFromChain, getFluentChain, getFluentChainByChainId, getFluentChainForNetwork, getFluentDefaultWidgetDisplayTokens, getFluentDefaultWidgetGasTokens, getFluentExplorerBaseUrl, getFluentGasPaymentEthValue, getFluentGasPaymentTokens, getFluentGasPaymentValueTier, getFluentGasTokenAddress, getFluentTokenDefaults, getFluentTokenDefaultsForNetwork, getFluentZeroDevErc20PaymasterTokens, getL1Chain, getL1ForFluentChain, getZeroDevRpcUrl, getZerodevIntegration, isFaucetNetwork, isFluentDefaultToken, isFluentNativeToken, isFluentZeroDevChain, l1DefinitionToViemChain, mergeFluentDisplayTokens, normalizeFluentWidgetNetwork, readFluentTokenBalances, readFluentTokenMetadata, registryVersion, resolveBridgeAddresses, resolveFluentWidgetNetworkFromEnv, resolveFluentZeroDevErc20PaymasterToken, resolveL1Definition, selectFluentGasPaymentToken, sendFluentZeroDevErc20PaymasterDemo, sortFluentGasTokens, useFluentIframeBridge, useFluentUserTokens, useFluentWidget, useFluentWidgetNetwork, useFluentZeroDevAccount, useWidget, withFluentSignaturePrompt };