Fixed browser shim for setImmediate.
This commit is contained in:
parent
7e1e760b95
commit
ce864fa1b2
@ -1 +1,4 @@
|
||||
|
||||
require('setimmediate');
|
||||
|
||||
module.exports.platform = 'browser';
|
||||
|
@ -1,8 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
// This is empty in node, and used by browserify to inject extra goodies
|
||||
import {} from './utils/shims';
|
||||
|
||||
import { platform } from './utils/shims';
|
||||
|
||||
import { Contract, Interface } from './contracts';
|
||||
import * as providers from './providers';
|
||||
@ -37,6 +36,7 @@ export {
|
||||
|
||||
wordlists,
|
||||
|
||||
platform,
|
||||
version
|
||||
};
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
/* no shims for node */
|
||||
|
||||
export default { };
|
||||
export const platform = 'node';
|
||||
|
Loading…
Reference in New Issue
Block a user