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

Commit bda4fc0

Browse files
committed
🎨 Fix the issues raised after merging base branch
1 parent 65f1515 commit bda4fc0

File tree

3 files changed

+33
-31
lines changed

3 files changed

+33
-31
lines changed

packages/contract/webpack.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ module.exports = {
3838
os: require.resolve("os-browserify/browser"),
3939
path: require.resolve("path-browserify"),
4040
stream: require.resolve("stream-browserify"),
41-
vm: require.resolve("vm-browserify")
41+
vm: require.resolve("vm-browserify"),
42+
fs: false,
43+
net: false
4244
}
4345
}
4446
};

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
/**

yarn.lock

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -21731,7 +21731,7 @@ [email protected]:
2173121731
eventemitter3 "4.0.4"
2173221732
web3-core-helpers "1.8.1"
2173321733

21734-
[email protected], web3-core@^4.0.0-alpha.0, web3-core@^4.0.1-alpha.2:
21734+
[email protected], web3-core@^4.0.0-alpha.0, web3-core@^4.0.1-alpha.1, web3-core@^4.0.1-alpha.2:
2173521735
version "4.0.0-alpha.0"
2173621736
resolved "https://registry.yarnpkg.com/web3-core/-/web3-core-4.0.0-alpha.0.tgz#a94b79b4b8c3a8007746ffc21b82db94c5e2872f"
2173721737
integrity sha512-Z84jX3+ylof0sXql0xqUn9CM+q+wZonmP8+mEGDH3ls5swENajIPxk8mcBkgNuvD6msDD9Qq1gk4oDo30S7E9A==
@@ -21752,7 +21752,7 @@ web3-errors@^0.1.0-alpha.0:
2175221752
dependencies:
2175321753
web3-types "^0.1.0-alpha.0"
2175421754

21755-
web3-errors@^0.1.1-alpha.2:
21755+
web3-errors@^0.1.1-alpha.1, web3-errors@^0.1.1-alpha.2:
2175621756
version "0.1.1-alpha.2"
2175721757
resolved "https://registry.yarnpkg.com/web3-errors/-/web3-errors-0.1.1-alpha.2.tgz#44af983ec540a450937a6729b9fbe0295f93bb06"
2175821758
integrity sha512-fhGs/PspOSsffkkova3t3WjaKKlILLooYEIDV6b5kFuqTTt7vEkvALts94dDS0GGJK78DZ7Vt9DVphkyYDOpOw==
@@ -21777,7 +21777,7 @@ web3-eth-abi@^4.0.0-alpha.0:
2177721777
web3-types "^0.1.0-alpha.0"
2177821778
web3-utils "^4.0.0-alpha.1"
2177921779

21780-
web3-eth-abi@^4.0.1-alpha.2:
21780+
web3-eth-abi@^4.0.1-alpha.1, web3-eth-abi@^4.0.1-alpha.2:
2178121781
version "4.0.1-alpha.2"
2178221782
resolved "https://registry.yarnpkg.com/web3-eth-abi/-/web3-eth-abi-4.0.1-alpha.2.tgz#1faf02b89af80c9c584415126574ad1dc296055b"
2178321783
integrity sha512-4LzZCtdtvTo2YE/YICmH7eV8SYTdo05lOjIHYoAkmiJS2hL9egB9lRpcTNDYQyFAm5v8Km5oZBdyQroT/ePVAQ==
@@ -21804,7 +21804,7 @@ [email protected]:
2180421804
web3-core-method "1.8.1"
2180521805
web3-utils "1.8.1"
2180621806

21807-
web3-eth-accounts@^4.0.1-alpha.2:
21807+
web3-eth-accounts@^4.0.1-alpha.1, web3-eth-accounts@^4.0.1-alpha.2:
2180821808
version "4.0.1-alpha.2"
2180921809
resolved "https://registry.yarnpkg.com/web3-eth-accounts/-/web3-eth-accounts-4.0.1-alpha.2.tgz#2d10ef9c4248c8d3fcb5cd2132933eb407a30a92"
2181021810
integrity sha512-bGQoas3aPYPjfwl4NVeAM9jC9Vw9gAlhUUrCxN6TSPatUr+6w/4U4XRn5Di5xCc4VheC9V8x0/tPQuB7khe7QQ==
@@ -21830,7 +21830,7 @@ [email protected]:
2183021830
web3-eth-abi "1.8.1"
2183121831
web3-utils "1.8.1"
2183221832

21833-
web3-eth-contract@^4.0.1-alpha.2:
21833+
web3-eth-contract@^4.0.1-alpha.1, web3-eth-contract@^4.0.1-alpha.2:
2183421834
version "4.0.1-alpha.2"
2183521835
resolved "https://registry.yarnpkg.com/web3-eth-contract/-/web3-eth-contract-4.0.1-alpha.2.tgz#3d4402f9762d08e396ebc4f1474b412b3bc31a22"
2183621836
integrity sha512-RQtwyLXcgZ99spTUQzc6sqtrAzgSUYOh22YoMHptOKZ5BR2dXXhd7Js+ngkAq8MXC6PWXdDoZq37PzYLswcz/g==
@@ -21857,7 +21857,7 @@ [email protected]:
2185721857
web3-eth-contract "1.8.1"
2185821858
web3-utils "1.8.1"
2185921859

21860-
web3-eth-ens@^4.0.1-alpha.2:
21860+
web3-eth-ens@^4.0.1-alpha.1:
2186121861
version "4.0.1-alpha.2"
2186221862
resolved "https://registry.yarnpkg.com/web3-eth-ens/-/web3-eth-ens-4.0.1-alpha.2.tgz#f3aae19ac5567217172ca6e80b8094cd5183fdc8"
2186321863
integrity sha512-g+Wa4zEjV2w+EVnaa3Ubh37/poXJA1cT3o/bdbyEolalXorubgxgUPRwG+s1E4jzVnu87fK7F0ax48M9Bfsm1g==
@@ -21888,7 +21888,7 @@ web3-eth-iban@^4.0.0-alpha.0:
2188821888
web3-types "^0.1.0-alpha.0"
2188921889
web3-utils "^4.0.0-alpha.1"
2189021890

21891-
web3-eth-iban@^4.0.1-alpha.2:
21891+
web3-eth-iban@^4.0.1-alpha.1:
2189221892
version "4.0.1-alpha.2"
2189321893
resolved "https://registry.yarnpkg.com/web3-eth-iban/-/web3-eth-iban-4.0.1-alpha.2.tgz#a35f6194a2e3ef2994c7080a025bdf44b1de1cac"
2189421894
integrity sha512-RjacBGXMGwdmkzn9qcHOGGn9DIU+vD9QbY34R9ye9XRPz03hJj2K9Mf7F2hJFtj4tP7r0tr3fZata2wA+bCRNg==
@@ -21909,7 +21909,7 @@ [email protected]:
2190921909
web3-net "1.8.1"
2191021910
web3-utils "1.8.1"
2191121911

21912-
web3-eth-personal@^4.0.1-alpha.2:
21912+
web3-eth-personal@^4.0.1-alpha.1:
2191321913
version "4.0.1-alpha.2"
2191421914
resolved "https://registry.yarnpkg.com/web3-eth-personal/-/web3-eth-personal-4.0.1-alpha.2.tgz#132c09e614a6f378069b2ba4f9f916eba48b2bd9"
2191521915
integrity sha512-iaayR6QUzdMPA/BomA09iQTgen83VQp+KlBqh6w+v+8w694U5+JSaRfMlMGU5u07p1CPUTgO1dCbGTmk4a1cKg==
@@ -21939,7 +21939,7 @@ [email protected]:
2193921939
web3-net "1.8.1"
2194021940
web3-utils "1.8.1"
2194121941

21942-
web3-eth@^4.0.1-alpha.2:
21942+
web3-eth@^4.0.1-alpha.1, web3-eth@^4.0.1-alpha.2:
2194321943
version "4.0.1-alpha.2"
2194421944
resolved "https://registry.yarnpkg.com/web3-eth/-/web3-eth-4.0.1-alpha.2.tgz#2c1431e8120e700a7ea47290d49469a6bd59914e"
2194521945
integrity sha512-+kysLqr64WDevESy32WHIen9FHDaW92KRxV99VUgC1VAvkui74pDOoMUNZl9gpL5UODhvS4PVBwELxUhvqvyag==
@@ -21966,7 +21966,7 @@ [email protected]:
2196621966
web3-core-method "1.8.1"
2196721967
web3-utils "1.8.1"
2196821968

21969-
web3-net@^4.0.1-alpha.2:
21969+
web3-net@^4.0.1-alpha.1, web3-net@^4.0.1-alpha.2:
2197021970
version "4.0.1-alpha.2"
2197121971
resolved "https://registry.yarnpkg.com/web3-net/-/web3-net-4.0.1-alpha.2.tgz#1b0b04b73ad22e9ed18f1c06e38333cef696e4de"
2197221972
integrity sha512-UdTEHYRomFz2fo5AsCAx5M5pc+XITGWkXeBWXnXDJtEFulp1gOU8OlQygB9z1oSkxoq/3ijtBHEsTuyTWTQ3+g==
@@ -22072,7 +22072,7 @@ web3-types@^0.1.0-alpha.0:
2207222072
resolved "https://registry.yarnpkg.com/web3-types/-/web3-types-0.1.0-alpha.0.tgz#58c6fab693804ed9e4afa4663d52c38681163057"
2207322073
integrity sha512-tJhcPOiJGk/D9tXmgI/a3SmAroyBXllRmZneJH0cNNuGlxG4vylyLKdxP0/XX2eFSHTTCkXr7VOhvZrwTZwj+g==
2207422074

22075-
web3-types@^0.1.1-alpha.2:
22075+
web3-types@^0.1.1-alpha.1, web3-types@^0.1.1-alpha.2:
2207622076
version "0.1.1-alpha.2"
2207722077
resolved "https://registry.yarnpkg.com/web3-types/-/web3-types-0.1.1-alpha.2.tgz#bcb9b4ae923f93d63f864c51ea74fa7c884f9449"
2207822078
integrity sha512-O15b3ZrEzWLgqVhGoN4XOhXBlDKwGUbycWME0KHdQcPCVv6sR7fgDo3YttI0rvv6MuQQ9bAeOor9wMnsnAHs/A==
@@ -22107,7 +22107,7 @@ web3-utils@^4.0.0-alpha.1:
2210722107
dependencies:
2210822108
ethereumjs-util "^7.0.10"
2210922109

22110-
web3-utils@^4.0.1-alpha.2:
22110+
web3-utils@^4.0.1-alpha.1, web3-utils@^4.0.1-alpha.2:
2211122111
version "4.0.1-alpha.2"
2211222112
resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-4.0.1-alpha.2.tgz#ad7abfd831e1a181cad80aee9cb7d71d50a3603e"
2211322113
integrity sha512-kA3m1x0YdIggX5YY37etzibV4TxB3Q7Zz9t1TC43F7eZwN1WkLoZJs8/IStwV6uCIx72X11XxDKgkHNlvWzBBw==
@@ -22151,22 +22151,22 @@ [email protected]:
2215122151
web3-utils "1.8.1"
2215222152

2215322153
[email protected], web3@^4.0.0-alpha.1:
22154-
version "4.0.1-alpha.2"
22155-
resolved "https://registry.yarnpkg.com/web3/-/web3-4.0.1-alpha.2.tgz#fbaf0185ce57f33dfc5e45b270c11aaa3c96bc22"
22156-
integrity sha512-KiFAIye15gFiibBPpziY6X1T09nxv7+lJylNdzo+1EP60vGX0DjdQvKYmoNFxYsWiX2G/E6y9A4anmKAGmvOKQ==
22157-
dependencies:
22158-
web3-core "^4.0.1-alpha.2"
22159-
web3-errors "^0.1.1-alpha.2"
22160-
web3-eth "^4.0.1-alpha.2"
22161-
web3-eth-abi "^4.0.1-alpha.2"
22162-
web3-eth-accounts "^4.0.1-alpha.2"
22163-
web3-eth-contract "^4.0.1-alpha.2"
22164-
web3-eth-ens "^4.0.1-alpha.2"
22165-
web3-eth-iban "^4.0.1-alpha.2"
22166-
web3-eth-personal "^4.0.1-alpha.2"
22167-
web3-net "^4.0.1-alpha.2"
22168-
web3-types "^0.1.1-alpha.2"
22169-
web3-utils "^4.0.1-alpha.2"
22154+
version "4.0.1-alpha.1"
22155+
resolved "https://registry.yarnpkg.com/web3/-/web3-4.0.1-alpha.1.tgz#fdfce30e8ac97950af5159dc2cad091a72a30a43"
22156+
integrity sha512-+evJlWSNowkVZgbJVGSMDkkX0Fe4hsjbQI/Y2DwaSLLWtz6Vj3of4mHWw5To4HH+2zdQ5CfeIxt8qOnFtz1j6g==
22157+
dependencies:
22158+
web3-core "^4.0.1-alpha.1"
22159+
web3-errors "^0.1.1-alpha.1"
22160+
web3-eth "^4.0.1-alpha.1"
22161+
web3-eth-abi "^4.0.1-alpha.1"
22162+
web3-eth-accounts "^4.0.1-alpha.1"
22163+
web3-eth-contract "^4.0.1-alpha.1"
22164+
web3-eth-ens "^4.0.1-alpha.1"
22165+
web3-eth-iban "^4.0.1-alpha.1"
22166+
web3-eth-personal "^4.0.1-alpha.1"
22167+
web3-net "^4.0.1-alpha.1"
22168+
web3-types "^0.1.1-alpha.1"
22169+
web3-utils "^4.0.1-alpha.1"
2217022170

2217122171
webidl-conversions@^3.0.0:
2217222172
version "3.0.1"

0 commit comments

Comments
 (0)