@enscribe/hardhat-enscribe 0.1.2 → 0.1.3

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.
@@ -9,11 +9,11 @@ import publicResolverABI from "../abi/PublicResolver.js";
9
9
  import reverseRegistrarABI from "../abi/ReverseRegistrar.js";
10
10
  import { isAddressEmpty, isAddressValid, parseNormalizedName, logMetric, } from "../utils.js";
11
11
  import { getContractAddresses } from "../config/contracts.js";
12
- import { v4 as uuid } from 'uuid';
12
+ import { randomUUID } from "crypto";
13
13
  // Global contracts object - will be initialized based on chain
14
14
  let contracts = {};
15
15
  const opType = 'hh-enscribe-nameexisting';
16
- const corelationId = uuid();
16
+ const corelationId = randomUUID();
17
17
  const taskName = async (args, hre) => {
18
18
  // console.log(args);
19
19
  if (args.contract == null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enscribe/hardhat-enscribe",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "A Hardhat v3 plugin to name smart contracts",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -22,8 +22,7 @@
22
22
  "node": ">=18.0.0"
23
23
  },
24
24
  "dependencies": {
25
- "viem": "^2.37.8",
26
- "uuid": "^11.1.0"
25
+ "viem": "^2.37.8"
27
26
  },
28
27
  "peerDependencies": {
29
28
  "hardhat": "^3.0.0"