@nomicfoundation/hardhat-viem 3.0.0 → 3.0.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @nomicfoundation/hardhat-viem
2
2
 
3
+ ## 3.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 558ac5b: Update installation and config instructions
8
+
3
9
  ## 3.0.0
4
10
 
5
11
  ### Major Changes
package/README.md CHANGED
@@ -15,11 +15,12 @@ npm install --save-dev @nomicfoundation/hardhat-viem
15
15
  In your `hardhat.config.ts` file, import the plugin and add it to the `plugins` array:
16
16
 
17
17
  ```typescript
18
+ import { defineConfig } from "hardhat/config";
18
19
  import hardhatViem from "@nomicfoundation/hardhat-viem";
19
20
 
20
- export default {
21
+ export default defineConfig({
21
22
  plugins: [hardhatViem],
22
- };
23
+ });
23
24
  ```
24
25
 
25
26
  ## Usage
@@ -39,4 +40,4 @@ await counter.write.inc();
39
40
  console.log(await counter.read.x());
40
41
  ```
41
42
 
42
- To learn more about using viem with Hardhat, read [our guide](https://hardhat.org/hardhat3-alpha/learn-more/using-viem).
43
+ To learn more about using viem with Hardhat, read [our guide](https://hardhat.org/docs/learn-more/using-viem).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nomicfoundation/hardhat-viem",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Hardhat plugin for viem",
5
5
  "homepage": "https://github.com/nomicfoundation/hardhat/tree/v-next/v-next/hardhat-viem",
6
6
  "repository": {
@@ -45,7 +45,7 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@nomicfoundation/hardhat-errors": "^3.0.0",
48
- "@nomicfoundation/hardhat-utils": "^3.0.0"
48
+ "@nomicfoundation/hardhat-utils": "^3.0.5"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "hardhat": "^3.0.0",