@fluent.xyz/connect 0.5.0 → 0.5.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/INTEGRATION.md +68 -17
- package/README.md +14 -9
- package/dist/index.d.ts +16 -11
- package/dist/index.js +136 -77
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/INTEGRATION.md
CHANGED
|
@@ -33,7 +33,10 @@ Before writing code you need:
|
|
|
33
33
|
Required; the widget throws without it, and throws on any other shape.
|
|
34
34
|
2. **A Privy app client (`privyClientId`)** — the `client-…` value Fluent
|
|
35
35
|
issued alongside. Login configuration: your allowed origins live on it.
|
|
36
|
-
Required; the widget throws without it.
|
|
36
|
+
Required; the widget throws without it. The client is issued from the Privy
|
|
37
|
+
app of your network: the dev Privy app for `testnet`, the production Privy
|
|
38
|
+
app for `mainnet`, which Fluent hands out together with your production
|
|
39
|
+
`appId`. A client of one Privy app does not sign in on the other.
|
|
37
40
|
3. **A target network** — `testnet` (default) or `mainnet`.
|
|
38
41
|
4. **Your app's origin registered on that Privy app client** — Fluent's sign-in
|
|
39
42
|
dialog runs in your page, and Privy refuses an origin it does not know.
|
|
@@ -164,7 +167,7 @@ routing rather than mutating `config.network` under a live session.
|
|
|
164
167
|
| Field | Required | Default | Notes |
|
|
165
168
|
|---------------|----------|--------------------|-------|
|
|
166
169
|
| `appId` | ✅ | — | The App's `app_<32 hex>` id — identity for sponsorship, auth and analytics; the token `aud`. Asserted at startup. |
|
|
167
|
-
| `privyClientId` | ✅ | — | Privy app client issued by Fluent — login configuration; allowed origins live on it. |
|
|
170
|
+
| `privyClientId` | ✅ | — | Privy app client issued by Fluent — login configuration; allowed origins live on it. Issued from the Privy app of the App's network: the dev Privy app for `testnet`, the production Privy app for `mainnet`; a client of one does not sign in on the other. |
|
|
168
171
|
| `clientId` | ⛔ | — | Removed in 0.2.0, and still typed (as `never`) only so the error can name the fix: pass the App's id as `appId` and the Privy app client as `privyClientId`. Passing it throws at resolve time. |
|
|
169
172
|
| `partnerId` | ⛔ | — | Renamed to `appId` in 0.3.0, and still typed (as `never`) only so the error can name the fix. Passing it throws at resolve time. |
|
|
170
173
|
| `network` | ➖ | env → `"testnet"` | `"testnet"` or `"mainnet"` — see [Networks and chain ids](#networks-and-chain-ids). |
|
|
@@ -605,8 +608,6 @@ await widget.createBatchOp({ calls }).execute({
|
|
|
605
608
|
callGasLimit: 600_000n,
|
|
606
609
|
verificationGasLimit: 500_000n,
|
|
607
610
|
preVerificationGas: 100_000n,
|
|
608
|
-
paymasterVerificationGasLimit: 100_000n,
|
|
609
|
-
paymasterPostOpGasLimit: 50_000n,
|
|
610
611
|
},
|
|
611
612
|
});
|
|
612
613
|
```
|
|
@@ -617,24 +618,37 @@ and `eth_estimateUserOperationGas` for sponsored, native-gas and ERC-20-gas
|
|
|
617
618
|
UserOperations, including native-gas fallback after sponsorship fails. External
|
|
618
619
|
wallet transactions keep their wallet's estimation.
|
|
619
620
|
|
|
620
|
-
Supply all three account limits.
|
|
621
|
-
|
|
621
|
+
Supply all three account limits. With a paymaster, omit both paymaster limits to
|
|
622
|
+
use the provider's validation and post-operation limits. Its returned
|
|
623
|
+
`preVerificationGas` is accepted up to your configured value; a larger value
|
|
624
|
+
fails before signing. Execution and account-validation limits stay fixed. The
|
|
625
|
+
provider must return complete paymaster limits in its first response; later
|
|
626
|
+
authorization may keep or replace them. The SDK preserves the authorized values
|
|
627
|
+
through signing without invoking the account gas hook or bundler gas estimator.
|
|
628
|
+
|
|
629
|
+
Alternatively, supply both `paymasterVerificationGasLimit` and
|
|
630
|
+
`paymasterPostOpGasLimit` to fix every gas field, as in 0.5.0. When a paymaster is
|
|
631
|
+
used, supplying only one fails before authorization. Limits are bigints:
|
|
632
|
+
`preVerificationGas` must fit a positive
|
|
622
633
|
uint256, `paymasterPostOpGasLimit` a nonnegative uint128, and the others a positive
|
|
623
634
|
uint128. `callGasBuffer` cannot be combined with `skipEstimation: true`.
|
|
624
635
|
Gas-policy validation reports `FluentUserOperationGasError` with code
|
|
625
636
|
`invalid_policy` and names the option to correct.
|
|
626
637
|
|
|
627
638
|
The example values are illustrative. Choose limits that cover the complete batch,
|
|
628
|
-
including a prepended Gas token approval
|
|
629
|
-
paymaster execution. The SDK does not verify
|
|
630
|
-
an underestimated operation can be rejected
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
authorization.
|
|
639
|
+
including a prepended Gas token approval and account validation or deployment.
|
|
640
|
+
Fixed paymaster limits must cover paymaster execution. The SDK does not verify
|
|
641
|
+
that these budgets are sufficient; an underestimated operation can be rejected
|
|
642
|
+
or fail during execution.
|
|
643
|
+
|
|
644
|
+
The SDK supplies account gas before paymaster authorization. A data-only adapter's
|
|
645
|
+
authorization or a stub marked final is reused; a nonfinal stub still requires
|
|
646
|
+
final authorization. A changed execution or account-validation limit fails that
|
|
636
647
|
attempt before signing with `FluentUserOperationGasError` code
|
|
637
|
-
`paymaster_gas_mismatch`.
|
|
648
|
+
`paymaster_gas_mismatch`. With both paymaster limits fixed, any changed gas field
|
|
649
|
+
fails the same way. Malformed provider gas and calldata overhead above the
|
|
650
|
+
configured ceiling also fail before signing. Normal sponsorship fallback still
|
|
651
|
+
applies, with the configured account limits and no gas estimation.
|
|
638
652
|
|
|
639
653
|
This flag does not disable fee quotes, nonce or factory reads, paymaster
|
|
640
654
|
authorization, signing, bundler submission checks or receipt waiting. A paymaster
|
|
@@ -716,8 +730,8 @@ ZeroDev on its own and inside the send that needed it:
|
|
|
716
730
|
A bundler may refuse an operation whose `maxFeePerGas` or `maxPriorityFeePerGas` is below what
|
|
717
731
|
it will accept. That one rejection is retried once, inside the same send, whichever source
|
|
718
732
|
quoted the attempt it refused: the operation is prepared again with a fresh
|
|
719
|
-
`zd_getUserOperationGasPrice` quote, signed again
|
|
720
|
-
|
|
733
|
+
`zd_getUserOperationGasPrice` quote, signed again without a second review, and submitted a
|
|
734
|
+
second time. A second refusal is the bundler's answer to the bundler's own quote and reaches your
|
|
721
735
|
`catch` unchanged, after exactly two submissions. Nothing is remembered: the next send asks the
|
|
722
736
|
chain first again.
|
|
723
737
|
|
|
@@ -1061,6 +1075,18 @@ auth service. Your backend needs no Fluent SDK to check it:
|
|
|
1061
1075
|
4. Use `sub` as the user id. Read `addresses.account` only if your App has the `addresses`
|
|
1062
1076
|
scope, and only for on-chain joins.
|
|
1063
1077
|
|
|
1078
|
+
The issuer is **per network**, and no single rule derives it from the API host the widget calls.
|
|
1079
|
+
Pin the one your widget's `network` says, and read its key set from that issuer:
|
|
1080
|
+
|
|
1081
|
+
| `network` | `iss` | Key set |
|
|
1082
|
+
|-------------|-------|---------|
|
|
1083
|
+
| `"mainnet"` | `https://api.fluent.xyz/connect` | `https://api.fluent.xyz/connect/.well-known/jwks.json` |
|
|
1084
|
+
| `"testnet"` | `https://api.fluent-connect.dev.gblend.xyz` | `https://api.fluent-connect.dev.gblend.xyz/.well-known/jwks.json` |
|
|
1085
|
+
|
|
1086
|
+
Each issuer publishes its own key set, so a backend serving both networks pins both issuers and
|
|
1087
|
+
picks the one it expects for that App — not the `iss` the token carries, which is the value
|
|
1088
|
+
being checked.
|
|
1089
|
+
|
|
1064
1090
|
Go, with the same two libraries the Fluent auth service uses:
|
|
1065
1091
|
|
|
1066
1092
|
```go
|
|
@@ -1321,6 +1347,31 @@ one source of wallet/account state, and you read it through `useFluentWidget()`.
|
|
|
1321
1347
|
> widget's), that's a separate architecture — shared providers / a single
|
|
1322
1348
|
> `WagmiProvider`. Not supported in phase 1; talk to the Fluent team.
|
|
1323
1349
|
|
|
1350
|
+
### Your own TanStack Query client
|
|
1351
|
+
|
|
1352
|
+
Mount a `QueryClientProvider` **around** `<FluentWidget>` and everything you
|
|
1353
|
+
render through `renderPage` / `renderHome` keeps resolving against *your* client:
|
|
1354
|
+
|
|
1355
|
+
```tsx
|
|
1356
|
+
<QueryClientProvider client={queryClient}> {/* yours */}
|
|
1357
|
+
<FluentWidget
|
|
1358
|
+
config={{ /* … */ }}
|
|
1359
|
+
mode="page"
|
|
1360
|
+
renderPage={() => <YourApp />} {/* useQueryClient() === queryClient */}
|
|
1361
|
+
/>
|
|
1362
|
+
</QueryClientProvider>
|
|
1363
|
+
```
|
|
1364
|
+
|
|
1365
|
+
So a query you prefetched, or hydrated from your own server render, is served
|
|
1366
|
+
from your cache instead of running a second time. There is no prop for it: the
|
|
1367
|
+
widget reads the client from the context above it.
|
|
1368
|
+
|
|
1369
|
+
The two caches stay separate. The widget's own queries stay on the widget's
|
|
1370
|
+
client, so a `defaultOptions` you set, an `invalidateQueries` or a `clear()` of
|
|
1371
|
+
yours does not reach them — and the widget's bridge queries do not appear in
|
|
1372
|
+
your devtools. Mount no client of your own and nothing changes: your pages
|
|
1373
|
+
resolve against the widget's, as before.
|
|
1374
|
+
|
|
1324
1375
|
---
|
|
1325
1376
|
|
|
1326
1377
|
## 9b. Debugging an integration
|
package/README.md
CHANGED
|
@@ -66,7 +66,8 @@ export function App() {
|
|
|
66
66
|
`appId` and `privyClientId` are both required and come from Fluent. `appId` is the
|
|
67
67
|
App's identity — sponsorship, auth and analytics speak it — and must be the `app_<32 hex>`
|
|
68
68
|
value the Fluent Dashboard shows; the widget throws on any other shape. `privyClientId` is
|
|
69
|
-
login configuration: the Privy app client carrying your allowed origins
|
|
69
|
+
login configuration: the Privy app client carrying your allowed origins, issued from the
|
|
70
|
+
dev Privy app for `testnet` and from the production Privy app for `mainnet`.
|
|
70
71
|
|
|
71
72
|
For Capacitor social login, pass
|
|
72
73
|
`customOAuthRedirectUrl: "https://app.example.com/auth/ios/callback"` in `config`.
|
|
@@ -92,9 +93,13 @@ leaving it. External wallets connect through Reown AppKit beside it.
|
|
|
92
93
|
|
|
93
94
|
`getAuthToken()` (render context / `useFluentWidget()`) returns a 5-minute ES256 JWT signed by
|
|
94
95
|
Fluent Connect. Send it to your backend once and issue your own session; verify it with the keys
|
|
95
|
-
at `<iss>/.well-known/jwks.json`
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
at `<iss>/.well-known/jwks.json` and check `iss`, `aud` (your `appId`) and `exp`. The issuer is
|
|
97
|
+
per network, and no single rule derives it from the API host: on `testnet` it is
|
|
98
|
+
`https://api.fluent-connect.dev.gblend.xyz`, on `mainnet` `https://api.fluent.xyz/connect`, whose
|
|
99
|
+
key set is `https://api.fluent.xyz/connect/.well-known/jwks.json`. Pin the issuer of the network
|
|
100
|
+
your widget runs on — [`INTEGRATION.md` §8b](INTEGRATION.md#8b-verify-the-token-on-your-backend).
|
|
101
|
+
`sub` is stable per user per app. `addresses` is present only when your app has the `addresses`
|
|
102
|
+
scope. A Fluent ID and an external wallet both get a token —
|
|
98
103
|
for a wallet, an EOA or a deployed contract wallet signs in; a counterfactual smart account
|
|
99
104
|
cannot (no ERC-6492).
|
|
100
105
|
The token renews itself silently for both account types — against a service that issues the
|
|
@@ -240,16 +245,16 @@ await widget.createBatchOp({ calls }).execute({
|
|
|
240
245
|
callGasLimit: 600_000n,
|
|
241
246
|
verificationGasLimit: 500_000n,
|
|
242
247
|
preVerificationGas: 100_000n,
|
|
243
|
-
paymasterVerificationGasLimit: 100_000n,
|
|
244
|
-
paymasterPostOpGasLimit: 50_000n,
|
|
245
248
|
},
|
|
246
249
|
});
|
|
247
250
|
```
|
|
248
251
|
|
|
249
252
|
This skips the account gas hook and `eth_estimateUserOperationGas`. Supply budgets
|
|
250
|
-
for the complete batch
|
|
251
|
-
illustrative.
|
|
252
|
-
|
|
253
|
+
for the complete batch and account deployment; the example values are
|
|
254
|
+
illustrative. Omit both paymaster limits to use the provider's authorized limits
|
|
255
|
+
and calldata overhead up to `preVerificationGas`, without SDK gas estimation.
|
|
256
|
+
Supply both limits to require an exact match for every gas field, as in 0.5.0.
|
|
257
|
+
The default is `skipEstimation: false`; a fixed `callGasLimit` alone
|
|
253
258
|
still allows other gas fields to be estimated. See
|
|
254
259
|
[`INTEGRATION.md` §7](INTEGRATION.md#skipping-useroperation-gas-estimation) for validation,
|
|
255
260
|
authorization and remaining network requests.
|
package/dist/index.d.ts
CHANGED
|
@@ -1744,12 +1744,6 @@ declare function createFluentZeroDevPermissionSession(params: {
|
|
|
1744
1744
|
calls: readonly FluentZeroDevPermissionCall[];
|
|
1745
1745
|
expiresAt?: number;
|
|
1746
1746
|
}): Promise<FluentZeroDevPermissionSession>;
|
|
1747
|
-
/**
|
|
1748
|
-
* Runs `sign` with the Privy prompt worded for a plain signature rather than a
|
|
1749
|
-
* UserOperation. The prompt kernel's signer reads a module-level context because
|
|
1750
|
-
* the signer is built once per mode, while the wording is per call.
|
|
1751
|
-
*/
|
|
1752
|
-
declare function withFluentSignaturePrompt<T>(sign: () => Promise<T>): Promise<T>;
|
|
1753
1747
|
|
|
1754
1748
|
type FluentPermissionArgConstraint = {
|
|
1755
1749
|
equals: unknown;
|
|
@@ -1848,18 +1842,19 @@ type FixedAccountGas = {
|
|
|
1848
1842
|
callGasLimit: bigint;
|
|
1849
1843
|
/** Account validation and deployment budget. Positive uint128. */
|
|
1850
1844
|
verificationGasLimit: bigint;
|
|
1851
|
-
/** Calldata
|
|
1845
|
+
/** Calldata overhead, or its ceiling with provider-owned paymaster gas. Positive uint256. */
|
|
1852
1846
|
preVerificationGas: bigint;
|
|
1853
1847
|
};
|
|
1854
1848
|
type FixedPaymasterGas = {
|
|
1855
|
-
/**
|
|
1849
|
+
/** Fixed validation budget, a positive uint128. Omit both paymaster limits to use its answer. */
|
|
1856
1850
|
paymasterVerificationGasLimit?: bigint;
|
|
1857
|
-
/**
|
|
1851
|
+
/** Fixed post-operation budget, a nonnegative uint128. Supplied together with validation. */
|
|
1858
1852
|
paymasterPostOpGasLimit?: bigint;
|
|
1859
1853
|
};
|
|
1860
1854
|
/**
|
|
1861
1855
|
* Gas policy for a Fluent ID batch. Estimation is enabled unless `skipEstimation` is true.
|
|
1862
|
-
* Skipping requires
|
|
1856
|
+
* Skipping requires account limits. Omit both paymaster limits to use provider-authorized
|
|
1857
|
+
* paymaster gas and calldata overhead within `preVerificationGas`; supply both to fix all gas.
|
|
1863
1858
|
*/
|
|
1864
1859
|
type FluentUserOperationGas = (FixedAccountGas & FixedPaymasterGas & {
|
|
1865
1860
|
/** Skip the account gas hook and bundler gas estimation. Defaults to false. */
|
|
@@ -2835,6 +2830,16 @@ type FluentZeroDevPaymasterDemoResult = {
|
|
|
2835
2830
|
transactionHash: Hash;
|
|
2836
2831
|
userOpHash: Hash;
|
|
2837
2832
|
};
|
|
2833
|
+
/**
|
|
2834
|
+
* The ZeroDev bundler URL for one chain. `chainId` defaults to Fluent Testnet, and `projectId`
|
|
2835
|
+
* to the Fluent ZeroDev project of the network that chain id belongs to — the testnet project
|
|
2836
|
+
* for 20994, the production one for 25363 — so a host that passes a chain id gets that
|
|
2837
|
+
* network's project without naming it. Pass `projectId` to use your own ZeroDev project, and
|
|
2838
|
+
* `selfFunded` for the ERC-20 paymaster form.
|
|
2839
|
+
*
|
|
2840
|
+
* @example
|
|
2841
|
+
* const rpcUrl = createFluentZeroDevRpcUrl({ chainId: 25363 });
|
|
2842
|
+
*/
|
|
2838
2843
|
declare function createFluentZeroDevRpcUrl(params?: {
|
|
2839
2844
|
chainId?: number;
|
|
2840
2845
|
projectId?: string;
|
|
@@ -3244,4 +3249,4 @@ type AccountAvatarProps = {
|
|
|
3244
3249
|
*/
|
|
3245
3250
|
declare function AccountAvatar({ userLogoUrl, defaultLogoUrl, className }: AccountAvatarProps): React.JSX.Element;
|
|
3246
3251
|
|
|
3247
|
-
export { AccountAvatar, type AccountAvatarProps, type AppDefinition, type BackendUserTokenStore, 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_DEFAULT_GAS_TOKEN, FLUENT_WIDGET_SESSION_STORAGE_KEY, FLUENT_WIDGET_USER_TOKENS_IMPORT_MARKER_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 FluentExecuteTiming, type FluentExecuteTimingInstants, 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 FluentLinkXResult, 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 FluentPrivyAdapter, type FluentProfile, FluentReviewRejectedError, type FluentSession, type FluentSettingsClient, FluentSettingsError, type FluentSettingsErrorCode, type FluentSignApi, type FluentSignatureReview, type FluentSpendPeriod, type FluentSpendPermission, FluentSponsorshipFallbackError, type FluentSponsorshipReason, type FluentTokenBalance, type FluentTokenDefinition, type FluentTokenTransferOutcome, type FluentTokenTransferRequest, type FluentTokenTransferSender, type FluentTransferAmount, type FluentTransferFee, type FluentTransferRecipient, type FluentTypedDataRequest, type FluentUserOperationGas, FluentUserOperationGasError, type FluentUserOperationGasErrorCode, type FluentUserSettings, type FluentUserSettingsPatch, type FluentUserTokenAddResult, type FluentWalletChoice, FluentWidget, type FluentWidgetAccount, type FluentWidgetAuthMethod, type FluentWidgetConfig, FluentWidgetConfigError, type FluentWidgetConfigErrorCode, FluentWidgetConnectButton, type FluentWidgetConnectButtonProps, type FluentWidgetConnectButtonRenderContext, type FluentWidgetExecution, type FluentWidgetExecutionSource, type FluentWidgetExecutionStatus, type FluentWidgetGasPayment, type FluentWidgetNetwork, FluentWidgetNetworkProvider, type FluentWidgetProps, type FluentWidgetRenderContext, type FluentWidgetSession, type FluentWidgetStatus, type FluentXAccount, type FluentZeroDevErc20PaymasterToken, type FluentZeroDevErc20PaymasterTokenInfo, type FluentZeroDevKernel, type FluentZeroDevPaymasterDemoResult, type FluentZeroDevPaymasterKernel, type FluentZeroDevPermissionCall, type FluentZeroDevPermissionSession, type FluentZeroDevSignerMode, type FluentZeroDevSponsorshipTokenSource, Icon, type IconName, type L1ChainDefinition, Label, type ResolvedFluentWidgetConfig, type ResolvedFluentWidgetExecution, Separator, Switch, type UseFluentIframeBridgeOptions, type UserTokenStore, WIDGET_STYLE_SCOPE, WalletMenuActionCard, type ZerodevIntegration, buildFluentTransferCall, buttonVariants, checkFluentTransferFee, clearPrivyRecentLoginMethod, createFluentBackendUserTokenStore, createFluentBatchOp, createFluentClient, createFluentFamiliesClient, createFluentIframeBridge, createFluentIframeRpcHandler, createFluentPermissionApi, createFluentPermissionClient, createFluentPermissionPolicyBuilders, createFluentPermissionSession, createFluentSettingsClient, createFluentSponsorshipRpcUrl, createFluentUserTokenStore, createFluentZeroDevErc20Paymaster, createFluentZeroDevErc20PaymasterApprovalCall, createFluentZeroDevErc20PaymasterClient, createFluentZeroDevErc20PaymasterRpcUrl, createFluentZeroDevPermissionSession, createFluentZeroDevRpcUrl, createFluentZeroDevSponsoredPaymaster, deriveFluentGasEthRates, findFluentSymbolCollisions, fluent, apps as fluentApps, fluentBridgeAbi, fluent$1 as fluentChain, fluentChains, fluentDefinitionToViemChain, integrations as fluentIntegrations, l1Chains as fluentL1Chains, fluentMainnet, fluentMainnetTokenDefaults, fluentTestnet, fluentTestnetTokenDefaults, fluentTokenIdentity, fluentTransferAbi, 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, parseFluentTransferAmount, parseFluentTransferRecipient, readFluentTokenBalances, readFluentTokenMetadata, registryVersion, resolveBridgeAddresses, resolveDefaultGasToken, resolveFluentWidgetNetworkFromEnv, resolveFluentZeroDevErc20PaymasterToken, resolveL1Definition, selectFluentGasPaymentToken, sendFluentZeroDevErc20PaymasterDemo, sortFluentGasTokens, useFluentIframeBridge, useFluentUserTokens, useFluentWidget, useFluentWidgetNetwork, useFluentZeroDevAccount, useLinkX, useWidget
|
|
3252
|
+
export { AccountAvatar, type AccountAvatarProps, type AppDefinition, type BackendUserTokenStore, 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_DEFAULT_GAS_TOKEN, FLUENT_WIDGET_SESSION_STORAGE_KEY, FLUENT_WIDGET_USER_TOKENS_IMPORT_MARKER_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 FluentExecuteTiming, type FluentExecuteTimingInstants, 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 FluentLinkXResult, 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 FluentPrivyAdapter, type FluentProfile, FluentReviewRejectedError, type FluentSession, type FluentSettingsClient, FluentSettingsError, type FluentSettingsErrorCode, type FluentSignApi, type FluentSignatureReview, type FluentSpendPeriod, type FluentSpendPermission, FluentSponsorshipFallbackError, type FluentSponsorshipReason, type FluentTokenBalance, type FluentTokenDefinition, type FluentTokenTransferOutcome, type FluentTokenTransferRequest, type FluentTokenTransferSender, type FluentTransferAmount, type FluentTransferFee, type FluentTransferRecipient, type FluentTypedDataRequest, type FluentUserOperationGas, FluentUserOperationGasError, type FluentUserOperationGasErrorCode, type FluentUserSettings, type FluentUserSettingsPatch, type FluentUserTokenAddResult, type FluentWalletChoice, FluentWidget, type FluentWidgetAccount, type FluentWidgetAuthMethod, type FluentWidgetConfig, FluentWidgetConfigError, type FluentWidgetConfigErrorCode, FluentWidgetConnectButton, type FluentWidgetConnectButtonProps, type FluentWidgetConnectButtonRenderContext, type FluentWidgetExecution, type FluentWidgetExecutionSource, type FluentWidgetExecutionStatus, type FluentWidgetGasPayment, type FluentWidgetNetwork, FluentWidgetNetworkProvider, type FluentWidgetProps, type FluentWidgetRenderContext, type FluentWidgetSession, type FluentWidgetStatus, type FluentXAccount, type FluentZeroDevErc20PaymasterToken, type FluentZeroDevErc20PaymasterTokenInfo, type FluentZeroDevKernel, type FluentZeroDevPaymasterDemoResult, type FluentZeroDevPaymasterKernel, type FluentZeroDevPermissionCall, type FluentZeroDevPermissionSession, type FluentZeroDevSignerMode, type FluentZeroDevSponsorshipTokenSource, Icon, type IconName, type L1ChainDefinition, Label, type ResolvedFluentWidgetConfig, type ResolvedFluentWidgetExecution, Separator, Switch, type UseFluentIframeBridgeOptions, type UserTokenStore, WIDGET_STYLE_SCOPE, WalletMenuActionCard, type ZerodevIntegration, buildFluentTransferCall, buttonVariants, checkFluentTransferFee, clearPrivyRecentLoginMethod, createFluentBackendUserTokenStore, createFluentBatchOp, createFluentClient, createFluentFamiliesClient, createFluentIframeBridge, createFluentIframeRpcHandler, createFluentPermissionApi, createFluentPermissionClient, createFluentPermissionPolicyBuilders, createFluentPermissionSession, createFluentSettingsClient, createFluentSponsorshipRpcUrl, createFluentUserTokenStore, createFluentZeroDevErc20Paymaster, createFluentZeroDevErc20PaymasterApprovalCall, createFluentZeroDevErc20PaymasterClient, createFluentZeroDevErc20PaymasterRpcUrl, createFluentZeroDevPermissionSession, createFluentZeroDevRpcUrl, createFluentZeroDevSponsoredPaymaster, deriveFluentGasEthRates, findFluentSymbolCollisions, fluent, apps as fluentApps, fluentBridgeAbi, fluent$1 as fluentChain, fluentChains, fluentDefinitionToViemChain, integrations as fluentIntegrations, l1Chains as fluentL1Chains, fluentMainnet, fluentMainnetTokenDefaults, fluentTestnet, fluentTestnetTokenDefaults, fluentTokenIdentity, fluentTransferAbi, 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, parseFluentTransferAmount, parseFluentTransferRecipient, readFluentTokenBalances, readFluentTokenMetadata, registryVersion, resolveBridgeAddresses, resolveDefaultGasToken, resolveFluentWidgetNetworkFromEnv, resolveFluentZeroDevErc20PaymasterToken, resolveL1Definition, selectFluentGasPaymentToken, sendFluentZeroDevErc20PaymasterDemo, sortFluentGasTokens, useFluentIframeBridge, useFluentUserTokens, useFluentWidget, useFluentWidgetNetwork, useFluentZeroDevAccount, useLinkX, useWidget };
|