@tetherto/wdk-wallet-evm-erc-4337 1.0.0-beta.12 → 1.0.0-beta.13

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.
@@ -1,9 +1,8 @@
1
- require('@nomicfoundation/hardhat-ethers')
2
-
3
1
  /** @type {import('hardhat/config').HardhatUserConfig} */
4
- module.exports = {
2
+ export default {
5
3
  networks: {
6
4
  hardhat: {
5
+ type: 'edr-simulated',
7
6
  chainId: 1,
8
7
  accounts: {
9
8
  mnemonic: 'test test test test test test test test test test test junk',
@@ -12,13 +11,9 @@ module.exports = {
12
11
  count: 20,
13
12
  accountsBalance: '10000000000000000000000'
14
13
  },
15
- forking: {
16
- url: 'https://ethereum-rpc.publicnode.com',
17
- enabled: true
18
- },
19
14
  mining: {
20
- autoMine: true,
21
- interval: [0, 0]
15
+ auto: true,
16
+ interval: 1000
22
17
  }
23
18
  }
24
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tetherto/wdk-wallet-evm-erc-4337",
3
- "version": "1.0.0-beta.12",
3
+ "version": "1.0.0-beta.13",
4
4
  "description": "A simple package to manage BIP-32 wallets for evm blockchains, which implement the erc-4337 standard and its account abstraction features",
5
5
  "keywords": [
6
6
  "wdk",
@@ -22,11 +22,12 @@
22
22
  "build:types": "tsc",
23
23
  "lint": "standard",
24
24
  "lint:fix": "standard --fix",
25
- "test": "npm run test:integration",
25
+ "test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --testPathIgnorePatterns=/tests/integration/",
26
+ "test:coverage": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --coverage --testPathIgnorePatterns=/tests/integration/",
26
27
  "test:integration-wait": "wait-on http://localhost:8545 && cross-env NODE_OPTIONS=--experimental-vm-modules jest tests/integration --forceExit",
27
28
  "test:integration-wait:coverage": "wait-on http://localhost:8545 && cross-env NODE_OPTIONS=--experimental-vm-modules jest tests/integration --coverage --forceExit",
28
- "test:integration": "concurrently -k -s first -n \"NODE,TEST\" -c \"black,green\" --hide NODE \"npx hardhat node\" \"npm run test:integration-wait\"",
29
- "test:integration:coverage": "concurrently -k -s first -n \"NODE,TEST\" -c \"black,green\" --hide NODE \"npx hardhat node\" \"npm run test:integration-wait:coverage\""
29
+ "test:integration": "concurrently -k -s first -n \"NODE,TEST\" -c \"black,green\" --hide NODE \"npx hardhat node --network hardhat\" \"npm run test:integration-wait\"",
30
+ "test:integration:coverage": "concurrently -k -s first -n \"NODE,TEST\" -c \"black,green\" --hide NODE \"npx hardhat node --network hardhat\" \"npm run test:integration-wait:coverage\""
30
31
  },
31
32
  "dependencies": {
32
33
  "@tetherto/wdk-failover-provider": "1.0.0-beta.2",
@@ -37,28 +38,28 @@
37
38
  "ethers": "6.17.0"
38
39
  },
39
40
  "devDependencies": {
40
- "@nomicfoundation/hardhat-ethers": "3.1.0",
41
41
  "@pimlico/alto": "0.0.19",
42
42
  "@pimlico/mock-paymaster": "0.0.4",
43
43
  "concurrently": "9.2.0",
44
44
  "cross-env": "7.0.3",
45
- "hardhat": "2.28.4",
45
+ "hardhat": "3.9.1",
46
46
  "jest": "29.7.0",
47
47
  "prool": "0.0.23",
48
48
  "standard": "17.1.2",
49
49
  "typescript": "5.8.3",
50
50
  "wait-on": "8.0.4"
51
51
  },
52
+ "devEngines": {
53
+ "runtime": {
54
+ "name": "node",
55
+ "version": ">=22.13.0",
56
+ "onFail": "error"
57
+ }
58
+ },
52
59
  "overrides": {
53
- "axios": "1.17.0",
54
- "cookie": "1.1.1",
55
60
  "fast-uri": "3.1.2",
56
- "@protobufjs/utf8": "1.1.1",
57
- "protobufjs": "7.6.3",
58
- "serialize-javascript": "7.0.5",
59
61
  "tar": "7.5.16",
60
- "tmp": "0.2.7",
61
- "undici": "7.26.0"
62
+ "uuid": "11.1.1"
62
63
  },
63
64
  "exports": {
64
65
  ".": {