From 70efc3d0b865b1dcc25d8a70d9d98f59315f19b9 Mon Sep 17 00:00:00 2001 From: Dennis Won Date: Fri, 1 Dec 2023 11:11:44 -0800 Subject: [PATCH] fix: docs deadlink fix --- site/.vitepress/config.ts | 2 +- site/packages/aa-accounts/light-account/provider.md | 4 ++-- site/packages/aa-alchemy/provider/constructor.md | 4 ++-- site/packages/aa-alchemy/provider/light-account-factory.md | 4 ++-- .../aa-alchemy/provider/simulateUserOperationAssetChanges.md | 2 +- site/packages/aa-core/provider/buildUserOperation.md | 2 +- site/packages/aa-core/provider/buildUserOperationFromTx.md | 2 +- .../aa-core/provider/checkGasSponsorshipEligibility.md | 2 +- site/packages/aa-core/provider/constructor.md | 4 ++-- site/packages/aa-core/provider/dropAndReplaceUserOperation.md | 2 +- site/packages/aa-core/provider/sendTransaction.md | 2 +- site/packages/aa-core/provider/sendTransactions.md | 2 +- site/packages/aa-core/provider/sendUserOperation.md | 2 +- 13 files changed, 17 insertions(+), 17 deletions(-) diff --git a/site/.vitepress/config.ts b/site/.vitepress/config.ts index 8578075996..3e7fb4c6a4 100644 --- a/site/.vitepress/config.ts +++ b/site/.vitepress/config.ts @@ -458,7 +458,7 @@ export default defineConfig({ items: [ { text: "UserOperationFeeOptions", - link: "/UserOperationFeeOptions", + link: "/userOperationFeeOptions", }, { text: "UserOperationFeeOptionsField", diff --git a/site/packages/aa-accounts/light-account/provider.md b/site/packages/aa-accounts/light-account/provider.md index 10f9a23fc2..8b6ee19f68 100644 --- a/site/packages/aa-accounts/light-account/provider.md +++ b/site/packages/aa-accounts/light-account/provider.md @@ -49,8 +49,8 @@ A Promise containing a new `SmartAccountProvider` connected to a Light Account. - `txRetryMulitplier: string | undefined` -- [optional] the mulitplier on interval length to wait between retries while waiting for transaction receipts (default: 1.5). - - `feeOptions:` [`UserOperationFeeOptions`](/packages/aa-core/types/userOperationFeeOptions.md) `| undefined` --[optional] user operation fee options to be used for gas estimation, set at the global level on the provider. - If not set, default fee options for the chain are used. Available fields in `feeOptions` include `maxFeePerGas`, `maxPriorityFeePerGas`, `callGasLimit`, `preVerificationGas`, `verificationGasLimit` where each field is of type [`UserOperationFeeOptionsField`](/packages/aa-core/types/userOperationFeeOptionsField.md). + - `feeOptions:` [`UserOperationFeeOptions`](/packages/aa-core/provider/types/userOperationFeeOptions.md) `| undefined` --[optional] user operation fee options to be used for gas estimation, set at the global level on the provider. + If not set, default fee options for the chain are used. Available fields in `feeOptions` include `maxFeePerGas`, `maxPriorityFeePerGas`, `callGasLimit`, `preVerificationGas`, `verificationGasLimit` where each field is of type [`UserOperationFeeOptionsField`](/packages/aa-core/provider/types/userOperationFeeOptionsField.md). - `maxFeePerGas`: `UserOperationFeeOptionsField` - `maxPriorityFeePerGas`: `UserOperationFeeOptionsField` diff --git a/site/packages/aa-alchemy/provider/constructor.md b/site/packages/aa-alchemy/provider/constructor.md index 4d3e1df70d..59fa452e0d 100644 --- a/site/packages/aa-alchemy/provider/constructor.md +++ b/site/packages/aa-alchemy/provider/constructor.md @@ -74,8 +74,8 @@ A new instance of an `AlchemyProvider`. - `txRetryMulitplier: string | undefined` -- [optional] the mulitplier on interval length to wait between retries while waiting for transaction receipts (default: 1.5). - - `feeOptions:` [`UserOperationFeeOptions`](/packages/aa-core/types/userOperationFeeOptions.md) `| undefined` --[optional] user operation fee options to be used for gas estimation, set at the global level on the provider. - If not set, default fee options for the chain are used. Available fields in `feeOptions` include `maxFeePerGas`, `maxPriorityFeePerGas`, `callGasLimit`, `preVerificationGas`, `verificationGasLimit` where each field is of type [`UserOperationFeeOptionsField`](/packages/aa-core/types/userOperationFeeOptionsField.md). + - `feeOptions:` [`UserOperationFeeOptions`](/packages/aa-core/provider/types/userOperationFeeOptions.md) `| undefined` --[optional] user operation fee options to be used for gas estimation, set at the global level on the provider. + If not set, default fee options for the chain are used. Available fields in `feeOptions` include `maxFeePerGas`, `maxPriorityFeePerGas`, `callGasLimit`, `preVerificationGas`, `verificationGasLimit` where each field is of type [`UserOperationFeeOptionsField`](/packages/aa-core/provider/types/userOperationFeeOptionsField.md). - `maxFeePerGas`: `UserOperationFeeOptionsField` - `maxPriorityFeePerGas`: `UserOperationFeeOptionsField` diff --git a/site/packages/aa-alchemy/provider/light-account-factory.md b/site/packages/aa-alchemy/provider/light-account-factory.md index c9fbd12996..37bdf831d3 100644 --- a/site/packages/aa-alchemy/provider/light-account-factory.md +++ b/site/packages/aa-alchemy/provider/light-account-factory.md @@ -53,8 +53,8 @@ A Promise containing a new `AlchemyProvider` connected to a Light Account. - `txRetryMulitplier: string | undefined` -- [optional] the mulitplier on interval length to wait between retries while waiting for transaction receipts (default: 1.5). - - `feeOptions:` [`UserOperationFeeOptions`](/packages/aa-core/types/userOperationFeeOptions.md) `| undefined` --[optional] user operation fee options to be used for gas estimation, set at the global level on the provider. - If not set, default fee options for the chain are used. Available fields in `feeOptions` include `maxFeePerGas`, `maxPriorityFeePerGas`, `callGasLimit`, `preVerificationGas`, `verificationGasLimit` where each field is of type [`UserOperationFeeOptionsField`](/packages/aa-core/types/userOperationFeeOptionsField.md). + - `feeOptions:` [`UserOperationFeeOptions`](/packages/aa-core/provider/types/userOperationFeeOptions.md) `| undefined` --[optional] user operation fee options to be used for gas estimation, set at the global level on the provider. + If not set, default fee options for the chain are used. Available fields in `feeOptions` include `maxFeePerGas`, `maxPriorityFeePerGas`, `callGasLimit`, `preVerificationGas`, `verificationGasLimit` where each field is of type [`UserOperationFeeOptionsField`](/packages/aa-core/provider/types/userOperationFeeOptionsField.md). - `maxFeePerGas`: `UserOperationFeeOptionsField` - `maxPriorityFeePerGas`: `UserOperationFeeOptionsField` diff --git a/site/packages/aa-alchemy/provider/simulateUserOperationAssetChanges.md b/site/packages/aa-alchemy/provider/simulateUserOperationAssetChanges.md index 057513e13c..93cfa003c5 100644 --- a/site/packages/aa-alchemy/provider/simulateUserOperationAssetChanges.md +++ b/site/packages/aa-alchemy/provider/simulateUserOperationAssetChanges.md @@ -70,6 +70,6 @@ const uo = await provider.sendUserOperation(uoStruct); - `data: Hex` - can be either `0x` or a call data string - `value?: bigint` - optionally, set the value in wei you want to send to the target -### `overrides?:` [`UserOperationOverrides`](/packages/aa-core/types/userOperationOverrides.md) +### `overrides?:` [`UserOperationOverrides`](/packages/aa-core/provider/types/userOperationOverrides.md) Optional parameter where you can specify override values for `maxFeePerGas`, `maxPriorityFeePerGas`, `callGasLimit`, `preVerificationGas`, `verificationGasLimit` or `paymasterAndData` on the user operation request diff --git a/site/packages/aa-core/provider/buildUserOperation.md b/site/packages/aa-core/provider/buildUserOperation.md index cee3bb9b45..8a59c8940b 100644 --- a/site/packages/aa-core/provider/buildUserOperation.md +++ b/site/packages/aa-core/provider/buildUserOperation.md @@ -75,6 +75,6 @@ A Promise containing the _unsigned_ UO struct resulting from the middleware pipe - `data: Hex` - can be either `0x` or a call data string - `value?: bigint` - optionally, set the value in wei you want to send to the target -### `overrides?:` [`UserOperationOverrides`](/packages/aa-core/types/userOperationOverrides.md) +### `overrides?:` [`UserOperationOverrides`](/packages/aa-core/provider/types/userOperationOverrides.md) Optional parameter where you can specify override values for `maxFeePerGas`, `maxPriorityFeePerGas`, `callGasLimit`, `preVerificationGas`, `verificationGasLimit` or `paymasterAndData` on the user operation request diff --git a/site/packages/aa-core/provider/buildUserOperationFromTx.md b/site/packages/aa-core/provider/buildUserOperationFromTx.md index 000722bdba..78d342f792 100644 --- a/site/packages/aa-core/provider/buildUserOperationFromTx.md +++ b/site/packages/aa-core/provider/buildUserOperationFromTx.md @@ -60,6 +60,6 @@ A Promise containing the _unsigned_ UO struct converted from the input transacti The `RpcTransactionRequest` object representing a traditional ethereum transaction -### `overrides?:` [`UserOperationOverrides`](/packages/aa-core/types/userOperationOverrides.md) +### `overrides?:` [`UserOperationOverrides`](/packages/aa-core/provider/types/userOperationOverrides.md) Optional parameter where you can specify override values for `maxFeePerGas`, `maxPriorityFeePerGas`, `callGasLimit`, `preVerificationGas`, `verificationGasLimit` or `paymasterAndData` on the user operation request diff --git a/site/packages/aa-core/provider/checkGasSponsorshipEligibility.md b/site/packages/aa-core/provider/checkGasSponsorshipEligibility.md index f6fecb2337..241377a35a 100644 --- a/site/packages/aa-core/provider/checkGasSponsorshipEligibility.md +++ b/site/packages/aa-core/provider/checkGasSponsorshipEligibility.md @@ -59,6 +59,6 @@ A Promise containing the boolean value indicating whether the UO to be sent is e - `data: Hex` - can be either `0x` or a call data string - `value?: bigint` - optionally, set the value in wei you want to send to the target -### `overrides?:` [`UserOperationOverrides`](/packages/aa-core/types/userOperationOverrides.md) +### `overrides?:` [`UserOperationOverrides`](/packages/aa-core/provider/types/userOperationOverrides.md) Optional parameter where you can specify override values for `maxFeePerGas`, `maxPriorityFeePerGas`, `callGasLimit`, `preVerificationGas`, `verificationGasLimit` or `paymasterAndData` on the user operation request diff --git a/site/packages/aa-core/provider/constructor.md b/site/packages/aa-core/provider/constructor.md index bee8a93198..5f0078c650 100644 --- a/site/packages/aa-core/provider/constructor.md +++ b/site/packages/aa-core/provider/constructor.md @@ -65,8 +65,8 @@ A new instance of a `SmartAccountProvider`. - `txRetryMulitplier: string | undefined` -- [optional] the mulitplier on interval length to wait between retries while waiting for transaction receipts (default: 1.5). - - `feeOptions:` [`UserOperationFeeOptions`](/packages/aa-core/types/userOperationFeeOptions.md) `| undefined` --[optional] user operation fee options to be used for gas estimation, set at the global level on the provider. - If not set, default fee options for the chain are used. Available fields in `feeOptions` include `maxFeePerGas`, `maxPriorityFeePerGas`, `callGasLimit`, `preVerificationGas`, `verificationGasLimit` where each field is of type [`UserOperationFeeOptionsField`](/packages/aa-core/types/userOperationFeeOptionsField.md). + - `feeOptions:` [`UserOperationFeeOptions`](/packages/aa-core/provider/types/userOperationFeeOptions.md) `| undefined` --[optional] user operation fee options to be used for gas estimation, set at the global level on the provider. + If not set, default fee options for the chain are used. Available fields in `feeOptions` include `maxFeePerGas`, `maxPriorityFeePerGas`, `callGasLimit`, `preVerificationGas`, `verificationGasLimit` where each field is of type [`UserOperationFeeOptionsField`](/packages/aa-core/provider/types/userOperationFeeOptionsField.md). - `maxFeePerGas`: `UserOperationFeeOptionsField` - `maxPriorityFeePerGas`: `UserOperationFeeOptionsField` diff --git a/site/packages/aa-core/provider/dropAndReplaceUserOperation.md b/site/packages/aa-core/provider/dropAndReplaceUserOperation.md index 6409019500..9d5c553039 100644 --- a/site/packages/aa-core/provider/dropAndReplaceUserOperation.md +++ b/site/packages/aa-core/provider/dropAndReplaceUserOperation.md @@ -51,6 +51,6 @@ A Promise containing the hash of the user operation and the request that was sen A previously submitted `UserOperation`. -### `overrides?:` [`UserOperationOverrides`](/packages/aa-core/types/userOperationOverrides.md) +### `overrides?:` [`UserOperationOverrides`](/packages/aa-core/provider/types/userOperationOverrides.md) Optional parameter where you can specify override values for `maxFeePerGas`, `maxPriorityFeePerGas`, `callGasLimit`, `preVerificationGas`, `verificationGasLimit` or `paymasterAndData` on the user operation request diff --git a/site/packages/aa-core/provider/sendTransaction.md b/site/packages/aa-core/provider/sendTransaction.md index cd822120fb..951064967b 100644 --- a/site/packages/aa-core/provider/sendTransaction.md +++ b/site/packages/aa-core/provider/sendTransaction.md @@ -54,6 +54,6 @@ A Promise containing the transaction hash The `RpcTransactionRequest` object representing a traditional ethereum transaction -### `overrides?:` [`UserOperationOverrides`](/packages/aa-core/types/userOperationOverrides.md) +### `overrides?:` [`UserOperationOverrides`](/packages/aa-core/provider/types/userOperationOverrides.md) Optional parameter where you can specify override values for `maxFeePerGas`, `maxPriorityFeePerGas`, `callGasLimit`, `preVerificationGas`, `verificationGasLimit` or `paymasterAndData` on the user operation request diff --git a/site/packages/aa-core/provider/sendTransactions.md b/site/packages/aa-core/provider/sendTransactions.md index 4aac873ea2..752185d1fd 100644 --- a/site/packages/aa-core/provider/sendTransactions.md +++ b/site/packages/aa-core/provider/sendTransactions.md @@ -75,6 +75,6 @@ A Promise containing the transaction hash An `RpcTransactionRequest` array representing a traditional ethereum transaction -### `overrides?:` [`UserOperationOverrides`](/packages/aa-core/types/userOperationOverrides.md) +### `overrides?:` [`UserOperationOverrides`](/packages/aa-core/provider/types/userOperationOverrides.md) Optional parameter where you can specify override values for `maxFeePerGas`, `maxPriorityFeePerGas`, `callGasLimit`, `preVerificationGas`, `verificationGasLimit` or `paymasterAndData` on the user operation request diff --git a/site/packages/aa-core/provider/sendUserOperation.md b/site/packages/aa-core/provider/sendUserOperation.md index 79b9a0dccc..3ce27cd3cf 100644 --- a/site/packages/aa-core/provider/sendUserOperation.md +++ b/site/packages/aa-core/provider/sendUserOperation.md @@ -73,6 +73,6 @@ A Promise containing the hash of the user operation and the request that was sen - `data: Hex` - can be either `0x` or a call data string - `value?: bigint` - optionally, set the value in wei you want to send to the target -### `overrides?:` [`UserOperationOverrides`](/packages/aa-core/types/userOperationOverrides.md) +### `overrides?:` [`UserOperationOverrides`](/packages/aa-core/provider/types/userOperationOverrides.md) Optional parameter where you can specify override values for `maxFeePerGas`, `maxPriorityFeePerGas`, `callGasLimit`, `preVerificationGas`, `verificationGasLimit` or `paymasterAndData` on the user operation request