Socket
Socket
Sign inDemoInstall

@nomicfoundation/hardhat-viem

Package Overview
Dependencies
282
Maintainers
5
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

2

internal/clients.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc