Skip to content

Commit 701007b

Browse files
authored
fix: autogen infra sdk and fix remaining links (#2121)
* fix: update sdk docs * fix: more broken link fixes
1 parent ad16535 commit 701007b

File tree

820 files changed

+1362
-1175
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

820 files changed

+1362
-1175
lines changed

docs/docs.yml

Lines changed: 183 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,6 +1424,189 @@ navigation:
14241424
path: wallets/pages/reference/account-kit/core/src/variables/zora.mdx
14251425
- page: zoraSepolia
14261426
path: wallets/pages/reference/account-kit/core/src/variables/zoraSepolia.mdx
1427+
- section: Infra
1428+
path: wallets/pages/reference/account-kit/infra/src/exports/README.mdx
1429+
contents:
1430+
- section: Enumerations
1431+
contents:
1432+
- page: SimulateAssetType
1433+
path: wallets/pages/reference/account-kit/infra/src/exports/enumerations/SimulateAssetType.mdx
1434+
- page: SimulateChangeType
1435+
path: wallets/pages/reference/account-kit/infra/src/exports/enumerations/SimulateChangeType.mdx
1436+
- section: Functions
1437+
contents:
1438+
- page: alchemy
1439+
path: wallets/pages/reference/account-kit/infra/src/exports/functions/alchemy.mdx
1440+
- page: alchemyGasAndPaymasterAndDataMiddleware
1441+
path: wallets/pages/reference/account-kit/infra/src/exports/functions/alchemyGasAndPaymasterAndDataMiddleware.mdx
1442+
- page: alchemyGasManagerMiddleware
1443+
path: wallets/pages/reference/account-kit/infra/src/exports/functions/alchemyGasManagerMiddleware.mdx
1444+
- page: alchemyUserOperationSimulator
1445+
path: wallets/pages/reference/account-kit/infra/src/exports/functions/alchemyUserOperationSimulator.mdx
1446+
- page: convertHeadersToObject
1447+
path: wallets/pages/reference/account-kit/infra/src/exports/functions/convertHeadersToObject.mdx
1448+
- page: createAlchemyPublicRpcClient
1449+
path: wallets/pages/reference/account-kit/infra/src/exports/functions/createAlchemyPublicRpcClient.mdx
1450+
- page: createAlchemySmartAccountClient
1451+
path: wallets/pages/reference/account-kit/infra/src/exports/functions/createAlchemySmartAccountClient.mdx
1452+
- page: defineAlchemyChain
1453+
path: wallets/pages/reference/account-kit/infra/src/exports/functions/defineAlchemyChain.mdx
1454+
- page: getAlchemyPaymasterAddress
1455+
path: wallets/pages/reference/account-kit/infra/src/exports/functions/getAlchemyPaymasterAddress.mdx
1456+
- page: getDefaultUserOperationFeeOptions
1457+
path: wallets/pages/reference/account-kit/infra/src/exports/functions/getDefaultUserOperationFeeOptions.mdx
1458+
- page: getSignerTypeHeader
1459+
path: wallets/pages/reference/account-kit/infra/src/exports/functions/getSignerTypeHeader.mdx
1460+
- page: headersUpdate
1461+
path: wallets/pages/reference/account-kit/infra/src/exports/functions/headersUpdate.mdx
1462+
- page: isAlchemySmartAccountClient
1463+
path: wallets/pages/reference/account-kit/infra/src/exports/functions/isAlchemySmartAccountClient.mdx
1464+
- page: isAlchemyTransport
1465+
path: wallets/pages/reference/account-kit/infra/src/exports/functions/isAlchemyTransport.mdx
1466+
- page: mutateRemoveTrackingHeaders
1467+
path: wallets/pages/reference/account-kit/infra/src/exports/functions/mutateRemoveTrackingHeaders.mdx
1468+
- section: Interfaces
1469+
contents:
1470+
- page: SimulateAssetChange
1471+
path: wallets/pages/reference/account-kit/infra/src/exports/interfaces/SimulateAssetChange.mdx
1472+
- page: SimulateAssetChangesError
1473+
path: wallets/pages/reference/account-kit/infra/src/exports/interfaces/SimulateAssetChangesError.mdx
1474+
- section: Type Aliases
1475+
contents:
1476+
- page: AlchemyChainConfig
1477+
path: wallets/pages/reference/account-kit/infra/src/exports/type-aliases/AlchemyChainConfig.mdx
1478+
- page: AlchemyRpcSchema
1479+
path: wallets/pages/reference/account-kit/infra/src/exports/type-aliases/AlchemyRpcSchema.mdx
1480+
- page: AlchemySmartAccountClient
1481+
path: wallets/pages/reference/account-kit/infra/src/exports/type-aliases/AlchemySmartAccountClient.mdx
1482+
- page: AlchemySmartAccountClientActions
1483+
path: wallets/pages/reference/account-kit/infra/src/exports/type-aliases/AlchemySmartAccountClientActions.mdx
1484+
- page: AlchemySmartAccountClientConfig
1485+
path: wallets/pages/reference/account-kit/infra/src/exports/type-aliases/AlchemySmartAccountClientConfig.mdx
1486+
- page: AlchemySmartAccountClient_Base
1487+
path: wallets/pages/reference/account-kit/infra/src/exports/type-aliases/AlchemySmartAccountClient_Base.mdx
1488+
- page: AlchemyTransport
1489+
path: wallets/pages/reference/account-kit/infra/src/exports/type-aliases/AlchemyTransport.mdx
1490+
- page: AlchemyTransportConfig
1491+
path: wallets/pages/reference/account-kit/infra/src/exports/type-aliases/AlchemyTransportConfig.mdx
1492+
- page: BaseAlchemyActions
1493+
path: wallets/pages/reference/account-kit/infra/src/exports/type-aliases/BaseAlchemyActions.mdx
1494+
- page: ClientWithAlchemyMethods
1495+
path: wallets/pages/reference/account-kit/infra/src/exports/type-aliases/ClientWithAlchemyMethods.mdx
1496+
- page: PolicyToken
1497+
path: wallets/pages/reference/account-kit/infra/src/exports/type-aliases/PolicyToken.mdx
1498+
- page: RequestGasAndPaymasterAndDataRequest
1499+
path: wallets/pages/reference/account-kit/infra/src/exports/type-aliases/RequestGasAndPaymasterAndDataRequest.mdx
1500+
- page: RequestGasAndPaymasterAndDataResponse
1501+
path: wallets/pages/reference/account-kit/infra/src/exports/type-aliases/RequestGasAndPaymasterAndDataResponse.mdx
1502+
- page: RequestPaymasterTokenQuoteRequest
1503+
path: wallets/pages/reference/account-kit/infra/src/exports/type-aliases/RequestPaymasterTokenQuoteRequest.mdx
1504+
- page: RequestPaymasterTokenQuoteResponse
1505+
path: wallets/pages/reference/account-kit/infra/src/exports/type-aliases/RequestPaymasterTokenQuoteResponse.mdx
1506+
- page: SimulateUserOperationAssetChangesRequest
1507+
path: wallets/pages/reference/account-kit/infra/src/exports/type-aliases/SimulateUserOperationAssetChangesRequest.mdx
1508+
- page: SimulateUserOperationAssetChangesResponse
1509+
path: wallets/pages/reference/account-kit/infra/src/exports/type-aliases/SimulateUserOperationAssetChangesResponse.mdx
1510+
- section: Variables
1511+
contents:
1512+
- page: AlchemyChainSchema
1513+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/AlchemyChainSchema.mdx
1514+
- page: alchemyActions
1515+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/alchemyActions.mdx
1516+
- page: alchemyFeeEstimator
1517+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/alchemyFeeEstimator.mdx
1518+
- page: arbitrum
1519+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/arbitrum.mdx
1520+
- page: arbitrumGoerli
1521+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/arbitrumGoerli.mdx
1522+
- page: arbitrumNova
1523+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/arbitrumNova.mdx
1524+
- page: arbitrumSepolia
1525+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/arbitrumSepolia.mdx
1526+
- page: base
1527+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/base.mdx
1528+
- page: baseGoerli
1529+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/baseGoerli.mdx
1530+
- page: baseSepolia
1531+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/baseSepolia.mdx
1532+
- page: beraChainBartio
1533+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/beraChainBartio.mdx
1534+
- page: bobaMainnet
1535+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/bobaMainnet.mdx
1536+
- page: bobaSepolia
1537+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/bobaSepolia.mdx
1538+
- page: celoAlfajores
1539+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/celoAlfajores.mdx
1540+
- page: celoMainnet
1541+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/celoMainnet.mdx
1542+
- page: fraxtal
1543+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/fraxtal.mdx
1544+
- page: fraxtalSepolia
1545+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/fraxtalSepolia.mdx
1546+
- page: gensynTestnet
1547+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/gensynTestnet.mdx
1548+
- page: goerli
1549+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/goerli.mdx
1550+
- page: inkMainnet
1551+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/inkMainnet.mdx
1552+
- page: inkSepolia
1553+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/inkSepolia.mdx
1554+
- page: mainnet
1555+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/mainnet.mdx
1556+
- page: mekong
1557+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/mekong.mdx
1558+
- page: monadTestnet
1559+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/monadTestnet.mdx
1560+
- page: opbnbMainnet
1561+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/opbnbMainnet.mdx
1562+
- page: opbnbTestnet
1563+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/opbnbTestnet.mdx
1564+
- page: openlootSepolia
1565+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/openlootSepolia.mdx
1566+
- page: optimism
1567+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/optimism.mdx
1568+
- page: optimismGoerli
1569+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/optimismGoerli.mdx
1570+
- page: optimismSepolia
1571+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/optimismSepolia.mdx
1572+
- page: polygon
1573+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/polygon.mdx
1574+
- page: polygonAmoy
1575+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/polygonAmoy.mdx
1576+
- page: polygonMumbai
1577+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/polygonMumbai.mdx
1578+
- page: riseTestnet
1579+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/riseTestnet.mdx
1580+
- page: sepolia
1581+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/sepolia.mdx
1582+
- page: shape
1583+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/shape.mdx
1584+
- page: shapeSepolia
1585+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/shapeSepolia.mdx
1586+
- page: simulateUserOperationChanges
1587+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/simulateUserOperationChanges.mdx
1588+
- page: soneiumMainnet
1589+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/soneiumMainnet.mdx
1590+
- page: soneiumMinato
1591+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/soneiumMinato.mdx
1592+
- page: storyAeneid
1593+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/storyAeneid.mdx
1594+
- page: storyMainnet
1595+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/storyMainnet.mdx
1596+
- page: teaSepolia
1597+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/teaSepolia.mdx
1598+
- page: unichainMainnet
1599+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/unichainMainnet.mdx
1600+
- page: unichainSepolia
1601+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/unichainSepolia.mdx
1602+
- page: worldChain
1603+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/worldChain.mdx
1604+
- page: worldChainSepolia
1605+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/worldChainSepolia.mdx
1606+
- page: zora
1607+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/zora.mdx
1608+
- page: zoraSepolia
1609+
path: wallets/pages/reference/account-kit/infra/src/exports/variables/zoraSepolia.mdx
14271610
- section: React
14281611
path: wallets/pages/reference/account-kit/react/src/README.mdx
14291612
contents:

docs/pages/concepts/middleware.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Middleware allows you to avoid having to write the same flows over and over when
2424
As mentioned above, the client can be configured with a series of middleware that always run in the same order:
2525

2626
1. `dummyPaymasterAndData` - Generates a dummy paymaster and data for gas estimation if using a paymaster (default: noop)
27-
2. `feeEstimator` - Estimates the fees for a user operation. If you are using our RPCs, it's important to use the [`alchemyFeeEstimator`](/wallets/reference/account-kit/infra/functions/alchemyFeeEstimator) middleware.
27+
2. `feeEstimator` - Estimates the fees for a user operation. If you are using our RPCs, it's important to use the [`alchemyFeeEstimator`](/wallets/reference/account-kit/core/variables/alchemyFeeEstimator) middleware.
2828
3. `gasEstimator` - Estimates the gas limits for a user operation. The default middleware calls the underlying bundler RPC to `eth_estimateUserOperationGas`.
2929
4. `customMiddleware` - Allows you define custom middleware to run before requesting sponsorship if there are any additional steps you need to take before requesting sponsorship. (default: noop)
3030
5. `paymasterAndData` - Requests a gas sponsorship from a paymaster. (default: noop)

docs/pages/react/solana-wallets/get-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function MyComponent() {
126126
127127
## Using the `useSolanaTransaction` hook
128128
129-
If you want to connect to a user’s Solana Wallet and send transactions, you should use the [`useSolanaTransaction`](/wallets/transactions/send/send-solana-user-operations) hook. This hook also exposes the Solana wallet address through the `signer.address` parameter.
129+
If you want to connect to a user’s Solana Wallet and send transactions, you should use the [`useSolanaTransaction`](/wallets/reference/account-kit/react/hooks/useSolanaTransaction) hook. This hook also exposes the Solana wallet address through the `signer.address` parameter.
130130
131131
## Not using React hooks?
132132

docs/pages/reference/aa-sdk/core/src/classes/AccountNotFoundError.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ layout: reference
77

88
{/* This file is auto-generated by TypeDoc. Do not edit manually. */}
99

10-
Defined in: [aa-sdk/core/src/errors/account.ts:8](https://github.com/alchemyplatform/aa-sdk/blob/c1a84188d03473acac2fdb49fb7cd7fdba73169b/aa-sdk/core/src/errors/account.ts#L8)
10+
Defined in: [aa-sdk/core/src/errors/account.ts:8](https://github.com/alchemyplatform/aa-sdk/blob/dc58c113ff1eeb06d4b3f76c505cbbaad47db8fc/aa-sdk/core/src/errors/account.ts#L8)
1111

1212
This error is thrown when an account could not be found to execute a specific action. It extends the `BaseError` class.
1313

@@ -23,7 +23,7 @@ This error is thrown when an account could not be found to execute a specific ac
2323
new AccountNotFoundError(): AccountNotFoundError;
2424
```
2525

26-
Defined in: [aa-sdk/core/src/errors/account.ts:15](https://github.com/alchemyplatform/aa-sdk/blob/c1a84188d03473acac2fdb49fb7cd7fdba73169b/aa-sdk/core/src/errors/account.ts#L15)
26+
Defined in: [aa-sdk/core/src/errors/account.ts:15](https://github.com/alchemyplatform/aa-sdk/blob/dc58c113ff1eeb06d4b3f76c505cbbaad47db8fc/aa-sdk/core/src/errors/account.ts#L15)
2727

2828
Constructor for initializing an error message indicating that an account could not be found to execute the specified action.
2929

docs/pages/reference/aa-sdk/core/src/classes/AccountRequiresOwnerError.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ layout: reference
77

88
{/* This file is auto-generated by TypeDoc. Do not edit manually. */}
99

10-
Defined in: [aa-sdk/core/src/errors/account.ts:138](https://github.com/alchemyplatform/aa-sdk/blob/c1a84188d03473acac2fdb49fb7cd7fdba73169b/aa-sdk/core/src/errors/account.ts#L138)
10+
Defined in: [aa-sdk/core/src/errors/account.ts:138](https://github.com/alchemyplatform/aa-sdk/blob/dc58c113ff1eeb06d4b3f76c505cbbaad47db8fc/aa-sdk/core/src/errors/account.ts#L138)
1111

1212
Represents an error that occurs when an account requires an owner to execute but none is provided.
1313

@@ -23,7 +23,7 @@ Represents an error that occurs when an account requires an owner to execute but
2323
new AccountRequiresOwnerError(accountType): AccountRequiresOwnerError;
2424
```
2525

26-
Defined in: [aa-sdk/core/src/errors/account.ts:146](https://github.com/alchemyplatform/aa-sdk/blob/c1a84188d03473acac2fdb49fb7cd7fdba73169b/aa-sdk/core/src/errors/account.ts#L146)
26+
Defined in: [aa-sdk/core/src/errors/account.ts:146](https://github.com/alchemyplatform/aa-sdk/blob/dc58c113ff1eeb06d4b3f76c505cbbaad47db8fc/aa-sdk/core/src/errors/account.ts#L146)
2727

2828
Constructs an error indicating that an account of the specified type requires an owner to execute.
2929

docs/pages/reference/aa-sdk/core/src/classes/BaseError.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ layout: reference
77

88
{/* This file is auto-generated by TypeDoc. Do not edit manually. */}
99

10-
Defined in: [aa-sdk/core/src/errors/base.ts:24](https://github.com/alchemyplatform/aa-sdk/blob/c1a84188d03473acac2fdb49fb7cd7fdba73169b/aa-sdk/core/src/errors/base.ts#L24)
10+
Defined in: [aa-sdk/core/src/errors/base.ts:24](https://github.com/alchemyplatform/aa-sdk/blob/dc58c113ff1eeb06d4b3f76c505cbbaad47db8fc/aa-sdk/core/src/errors/base.ts#L24)
1111

1212
A custom error class that extends from `ViemBaseError`. This class allows for error messages to include links to relevant documentation based on provided `docsPath` and `docsSlug` parameters.
1313
This is based on on viem's BaseError type (obviously from the import and extend)
@@ -55,7 +55,7 @@ we want the errors here to point to our docs if we supply a docsPath though
5555
new BaseError(shortMessage, args): BaseError;
5656
```
5757

58-
Defined in: [aa-sdk/core/src/errors/base.ts:28](https://github.com/alchemyplatform/aa-sdk/blob/c1a84188d03473acac2fdb49fb7cd7fdba73169b/aa-sdk/core/src/errors/base.ts#L28)
58+
Defined in: [aa-sdk/core/src/errors/base.ts:28](https://github.com/alchemyplatform/aa-sdk/blob/dc58c113ff1eeb06d4b3f76c505cbbaad47db8fc/aa-sdk/core/src/errors/base.ts#L28)
5959

6060
#### Parameters
6161

0 commit comments

Comments
 (0)