Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 29671cc

Browse files
committed
🎨 Fix the issues raised after merging base branch
1 parent 908722a commit 29671cc

File tree

3 files changed

+539
-82
lines changed

3 files changed

+539
-82
lines changed

packages/contract/webpack.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ module.exports = {
3636
os: require.resolve("os-browserify/browser"),
3737
path: require.resolve("path-browserify"),
3838
stream: require.resolve("stream-browserify"),
39-
vm: require.resolve("vm-browserify")
39+
vm: require.resolve("vm-browserify"),
40+
fs: false,
41+
net: false
4042
}
4143
}
4244
};

packages/require/lib/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import type TruffleConfig from "@truffle/config";
22
import type Resolver from "@truffle/resolver";
33
import TruffleError from "@truffle/error";
44

5-
import type { provider as Provider } from "web3-core/types";
6-
export type { provider as Provider } from "web3-core/types";
5+
import type { Web3BaseProvider as Provider } from "web3-types";
6+
export type { Web3BaseProvider as Provider } from "web3-types";
77

88
export interface RequireOptions {
99
/**

0 commit comments

Comments
 (0)