@nftx/types
Advanced tools
Comparing version 1.2.2 to 1.5.0
@@ -6,2 +6,14 @@ # Change Log | ||
# [1.5.0](https://github.com/NFTX-project/nftxjs/compare/v1.4.0...v1.5.0) (2023-12-04) | ||
### Features | ||
* estimate gas for trading quotes ([ca25955](https://github.com/NFTX-project/nftxjs/commit/ca25955c5cab79d8d8f8236555ed106542adc89c)) | ||
* update nftx-v3 subgraph schema ([f8f1887](https://github.com/NFTX-project/nftxjs/commit/f8f18879c890044e3feb4e7d610eb8913ea9520e)) | ||
## [1.2.2](https://github.com/NFTX-project/nftxjs/compare/v1.2.1...v1.2.2) (2023-11-24) | ||
@@ -8,0 +20,0 @@ |
@@ -99,2 +99,3 @@ import type { Token } from './tokens'; | ||
}>; | ||
estimatedGas: bigint; | ||
methodParameters: MarketplaceParameters; | ||
@@ -101,0 +102,0 @@ approveContracts: ApproveContract[]; |
@@ -31,3 +31,5 @@ import type { createPublicClient, createWalletClient, TransactionReceipt as ViemTrasnsactionReceipt, GetFunctionArgs, ContractFunctionResult } from 'viem'; | ||
type ContractEstimate<T extends Abi> = { | ||
[K in ExtractAbiFunctionNames<T>]: (args: GetFunctionArgs<T, K> & WriteOpts) => Promise<{ | ||
[K in ExtractAbiFunctionNames<T>]: (args: GetFunctionArgs<T, K> & WriteOpts & { | ||
account: Address; | ||
}) => Promise<{ | ||
gasEstimate: bigint; | ||
@@ -34,0 +36,0 @@ }>; |
{ | ||
"name": "@nftx/types", | ||
"version": "1.2.2", | ||
"version": "1.5.0", | ||
"description": " ", | ||
@@ -30,3 +30,3 @@ "homepage": "https://github.com/NFTX-project/nftxjs#readme", | ||
"dependencies": { | ||
"@nftx/constants": "^1.1.0", | ||
"@nftx/constants": "^1.5.0", | ||
"abitype": "0.9.8", | ||
@@ -33,0 +33,0 @@ "viem": "^1.16.6" |
@@ -99,4 +99,5 @@ import type { Token } from './tokens'; | ||
}>; | ||
estimatedGas: bigint; | ||
methodParameters: MarketplaceParameters; | ||
approveContracts: ApproveContract[]; | ||
}; |
@@ -51,3 +51,3 @@ import type { | ||
[K in ExtractAbiFunctionNames<T>]: ( | ||
args: GetFunctionArgs<T, K> & WriteOpts | ||
args: GetFunctionArgs<T, K> & WriteOpts & { account: Address } | ||
) => Promise<{ gasEstimate: bigint }>; | ||
@@ -54,0 +54,0 @@ }; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1957350
37340
Updated@nftx/constants@^1.5.0