@nomicfoundation/hardhat-viem
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -17,3 +17,3 @@ import type { EthereumProvider } from "hardhat/types"; | ||
* be used to send transactions to the blockchain. Each client is associated | ||
* with a an account obtained from the provider using `eth_accounts`. | ||
* with an account obtained from the provider using `eth_accounts`. | ||
* | ||
@@ -20,0 +20,0 @@ * @param provider The Ethereum provider used to connect to the blockchain. |
@@ -59,3 +59,3 @@ "use strict"; | ||
* be used to send transactions to the blockchain. Each client is associated | ||
* with a an account obtained from the provider using `eth_accounts`. | ||
* with an account obtained from the provider using `eth_accounts`. | ||
* | ||
@@ -62,0 +62,0 @@ * @param provider The Ethereum provider used to connect to the blockchain. |
@@ -72,3 +72,3 @@ "use strict"; | ||
}); | ||
if (contractAddress === null) { | ||
if (contractAddress === null || contractAddress === undefined) { | ||
const transaction = await publicClient.getTransaction({ | ||
@@ -75,0 +75,0 @@ hash: deploymentTxHash, |
{ | ||
"name": "@nomicfoundation/hardhat-viem", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Hardhat plugin for viem", | ||
@@ -34,3 +34,3 @@ "homepage": "https://github.com/nomicfoundation/hardhat/tree/main/packages/hardhat-viem", | ||
"@types/mocha": ">=9.1.0", | ||
"@types/node": "^16.0.0", | ||
"@types/node": "^18.0.0", | ||
"@types/sinon": "^9.0.8", | ||
@@ -44,3 +44,3 @@ "@typescript-eslint/eslint-plugin": "5.61.0", | ||
"eslint-plugin-import": "2.27.5", | ||
"eslint-plugin-no-only-tests": "3.0.0", | ||
"eslint-plugin-mocha": "10.4.1", | ||
"eslint-plugin-prettier": "3.4.0", | ||
@@ -57,4 +57,4 @@ "hardhat": "^2.17.0", | ||
"viem": "^2.7.6", | ||
"@nomicfoundation/eslint-plugin-hardhat-internal-rules": "^1.0.2", | ||
"@nomicfoundation/eslint-plugin-slow-imports": "^1.0.0" | ||
"@nomicfoundation/eslint-plugin-slow-imports": "^1.0.0", | ||
"@nomicfoundation/eslint-plugin-hardhat-internal-rules": "^1.0.2" | ||
}, | ||
@@ -61,0 +61,0 @@ "peerDependencies": { |
@@ -57,3 +57,3 @@ import type { EthereumProvider } from "hardhat/types"; | ||
* be used to send transactions to the blockchain. Each client is associated | ||
* with a an account obtained from the provider using `eth_accounts`. | ||
* with an account obtained from the provider using `eth_accounts`. | ||
* | ||
@@ -60,0 +60,0 @@ * @param provider The Ethereum provider used to connect to the blockchain. |
@@ -91,3 +91,3 @@ import type { | ||
if (contractAddress === null) { | ||
if (contractAddress === null || contractAddress === undefined) { | ||
const transaction = await publicClient.getTransaction({ | ||
@@ -94,0 +94,0 @@ hash: deploymentTxHash, |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
109325
1