From f484fe188cfe3b9aa32280245ee237517f44a037 Mon Sep 17 00:00:00 2001 From: iosh Date: Sun, 22 Sep 2024 17:07:44 +0800 Subject: [PATCH] chore: add wallet action to export --- .changeset/hot-cougars-cheer.md | 5 ++ src/index.ts | 83 +++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 .changeset/hot-cougars-cheer.md diff --git a/.changeset/hot-cougars-cheer.md b/.changeset/hot-cougars-cheer.md new file mode 100644 index 0000000..69b61e6 --- /dev/null +++ b/.changeset/hot-cougars-cheer.md @@ -0,0 +1,5 @@ +--- +"cive": patch +--- + +Added wallet action to export diff --git a/src/index.ts b/src/index.ts index dd2fbd9..548c304 100644 --- a/src/index.ts +++ b/src/index.ts @@ -635,3 +635,86 @@ export { type WatchEpochNumberErrorType, watchEpochNumber, } from './actions/public/watchEpochNumber.js' + +export { + type DeployContractParameters, + type DeployContractReturnType, + type DeployContractErrorType, + deployContract, +} from './actions/wallet/deployContract.js' + +export { + type GetAddressesReturnType, + type GetAddressesErrorType, + getAddresses, +} from './actions/wallet/getAddresses.js' + +export { + type PrepareTransactionRequestParameterType, + type PrepareTransactionRequestRequest, + type PrepareTransactionRequestParameters, + type PrepareTransactionRequestReturnType, + type PrepareTransactionRequestErrorType, + prepareTransactionRequest, +} from './actions/wallet/prepareTransactionRequest.js' + +export { + type RequestAddressesReturnType, + type RequestAddressesErrorType, + requestAddresses, +} from './actions/wallet/requestAddresses.js' + +export { + type RequestPermissionsParameters, + type RequestPermissionsReturnType, + type RequestPermissionsErrorType, + requestPermissions, +} from './actions/wallet/requestPermissions.js' + +export { + type SendRawTransactionParameters, + type SendRawTransactionReturnType, + type SendRawTransactionErrorType, + sendRawTransaction, +} from './actions/wallet/sendRawTransaction.js' + +export { + type SendTransactionRequest, + type SendTransactionParameters, + type SendTransactionReturnType, + type SendTransactionErrorType, + sendTransaction, +} from './actions/wallet/sendTransaction.js' + +export { + type SignMessageParameters, + type SignMessageReturnType, + type SignMessageErrorType, + signMessage, +} from './actions/wallet/signMessage.js' + +export { + type SignTransactionParameters, + type SignTransactionErrorType, + signTransaction, +} from './actions/wallet/signTransaction.js' + +export { + type SignTypedDataParameters, + type SignTypedDataReturnType, + type SignTypedDataErrorType, + signTypedData, +} from './actions/wallet/signTypedData.js' + +export { + type SwitchChainParameters, + type SwitchChainErrorType, + switchChain, +} from './actions/wallet/switchChain.js' + +export { + type WriteContractParameters, + type WriteContractReturnType, + type WriteContractErrorType, + writeContract, +} from './actions/wallet/writeContract.js'