@wagmi/core 0.8.14 → 0.8.15
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 +5 -5
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1347,7 +1347,7 @@ declare function prepareSendTransaction({ chainId, request, signer: signer_, }:
|
|
|
1347
1347
|
type SendTransactionPreparedRequest = {
|
|
1348
1348
|
/**
|
|
1349
1349
|
* `recklesslyUnprepared`: Allow to pass through an unprepared `request`. Note: This has
|
|
1350
|
-
* [UX pitfalls](/docs/prepare-hooks
|
|
1350
|
+
* [UX pitfalls](/docs/prepare-hooks#ux-pitfalls-without-prepare-hooks), it is highly recommended
|
|
1351
1351
|
* to not use this and instead prepare the request upfront using the `prepareSendTransaction` function.
|
|
1352
1352
|
*
|
|
1353
1353
|
* `prepared`: The request has been prepared with parameters required for sending a transaction
|
|
@@ -1377,7 +1377,7 @@ type SendTransactionResult = {
|
|
|
1377
1377
|
* @description Function to send a transaction.
|
|
1378
1378
|
*
|
|
1379
1379
|
* It is recommended to pair this with the `prepareSendTransaction` function to avoid
|
|
1380
|
-
* [UX pitfalls](https://wagmi.sh/react/prepare-hooks
|
|
1380
|
+
* [UX pitfalls](https://wagmi.sh/react/prepare-hooks#ux-pitfalls-without-prepare-hooks).
|
|
1381
1381
|
*
|
|
1382
1382
|
* @example
|
|
1383
1383
|
* import { prepareSendTransaction, sendTransaction } from '@wagmi/core'
|
|
@@ -1422,7 +1422,7 @@ type Request = PopulatedTransaction & {
|
|
|
1422
1422
|
type WriteContractPreparedArgs<TAbi extends Abi | readonly unknown[], TFunctionName extends string> = {
|
|
1423
1423
|
/**
|
|
1424
1424
|
* `recklesslyUnprepared`: Allow to pass through unprepared config. Note: This has
|
|
1425
|
-
* [UX pitfalls](https://wagmi.sh/react/prepare-hooks
|
|
1425
|
+
* [UX pitfalls](https://wagmi.sh/react/prepare-hooks#ux-pitfalls-without-prepare-hooks),
|
|
1426
1426
|
* it is highly recommended to not use this and instead prepare the request upfront
|
|
1427
1427
|
* using the {@link prepareWriteContract} function.
|
|
1428
1428
|
*
|
|
@@ -1440,7 +1440,7 @@ type WriteContractPreparedArgs<TAbi extends Abi | readonly unknown[], TFunctionN
|
|
|
1440
1440
|
type WriteContractUnpreparedArgs<TAbi extends Abi | readonly unknown[], TFunctionName extends string> = {
|
|
1441
1441
|
/**
|
|
1442
1442
|
* `recklesslyUnprepared`: Allow to pass through unprepared config. Note: This has
|
|
1443
|
-
* [UX pitfalls](https://wagmi.sh/react/prepare-hooks
|
|
1443
|
+
* [UX pitfalls](https://wagmi.sh/react/prepare-hooks#ux-pitfalls-without-prepare-hooks),
|
|
1444
1444
|
* it is highly recommended to not use this and instead prepare the request upfront
|
|
1445
1445
|
* using the {@link prepareWriteContract} function.
|
|
1446
1446
|
*
|
|
@@ -1466,7 +1466,7 @@ type WriteContractResult = SendTransactionResult;
|
|
|
1466
1466
|
* @description Function to call a contract write method.
|
|
1467
1467
|
*
|
|
1468
1468
|
* It is recommended to pair this with the {@link prepareWriteContract} function
|
|
1469
|
-
* to avoid [UX pitfalls](https://wagmi.sh/react/prepare-hooks
|
|
1469
|
+
* to avoid [UX pitfalls](https://wagmi.sh/react/prepare-hooks#ux-pitfalls-without-prepare-hooks).
|
|
1470
1470
|
*
|
|
1471
1471
|
* @example
|
|
1472
1472
|
* import { prepareWriteContract, writeContract } from '@wagmi/core'
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@wagmi/core",
|
|
3
3
|
"description": "Vanilla JS library for Ethereum",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "0.8.
|
|
5
|
+
"version": "0.8.15",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/wagmi-dev/wagmi.git",
|
|
@@ -114,8 +114,8 @@
|
|
|
114
114
|
"abitype": "^0.2.5",
|
|
115
115
|
"eventemitter3": "^4.0.7",
|
|
116
116
|
"zustand": "^4.3.1",
|
|
117
|
-
"@wagmi/chains": "0.1.
|
|
118
|
-
"@wagmi/connectors": "0.1.
|
|
117
|
+
"@wagmi/chains": "0.1.10",
|
|
118
|
+
"@wagmi/connectors": "0.1.8"
|
|
119
119
|
},
|
|
120
120
|
"devDependencies": {
|
|
121
121
|
"@coinbase/wallet-sdk": "^3.6.0",
|