-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Example Plugin Implementation #5393
Changes from 35 commits
2da30e0
530b4ce
546fa28
cb636c2
3233a76
d0d388b
db296ff
a2f43db
45881ee
6514f13
9b4896e
dbc133f
dc36d4b
755d6d6
1036836
08cbe72
7642f41
816f2f5
eaceff9
5e6d3a2
0666cff
c7c2a06
75bf686
3978175
205b928
b3c9140
369e024
7acb576
3ad7e1d
de3403d
5be6ef5
b455e21
051a35f
bba74e6
6093e5b
9481519
c1b2cc5
744bfc2
c939cbc
e55e65f
8d90ddd
f242b48
56bf6b7
b79c68b
d1ba3ec
1e271b9
4375a5d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -323,4 +323,5 @@ along with web3.js. If not, see <http://www.gnu.org/licenses/>. | |
| */ | ||
| import Web3 from './web3'; | ||
|
|
||
| export = Web3; | ||
| export * from './web3'; | ||
|
||
| export default Web3; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,7 +31,7 @@ import { initAccountsForContext } from './accounts'; | |
| import { Web3EthInterface } from './types'; | ||
| import { Web3PkgInfo } from './version'; | ||
|
|
||
| export default class Web3 extends Web3Context<EthExecutionAPI> { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This will break minified web3.js build #5345
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This commit updates |
||
| export class Web3 extends Web3Context<EthExecutionAPI> { | ||
| public static version = Web3PkgInfo.version; | ||
| public static utils = utils; | ||
| public static modules = { | ||
|
|
@@ -128,3 +128,4 @@ export default class Web3 extends Web3Context<EthExecutionAPI> { | |
| }); | ||
| } | ||
| } | ||
| export default Web3; | ||

Uh oh!
There was an error while loading. Please reload this page.