2018-07-16 10:27:49 +03:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
// This is empty in node, and used by browserify to inject extra goodies
|
2018-07-17 09:05:24 +03:00
|
|
|
import { platform } from './utils/shims';
|
2018-07-16 10:27:49 +03:00
|
|
|
|
|
|
|
import { Contract, Interface } from './contracts';
|
|
|
|
import * as providers from './providers';
|
|
|
|
import * as utils from './utils';
|
|
|
|
import { HDNode, SigningKey, Wallet } from './wallet';
|
|
|
|
import * as wordlists from './wordlists';
|
|
|
|
|
|
|
|
import * as types from './utils/types';
|
|
|
|
|
|
|
|
import * as errors from './utils/errors';
|
|
|
|
|
|
|
|
import { version } from './_version';
|
|
|
|
|
|
|
|
const constants = utils.constants;
|
|
|
|
|
|
|
|
export {
|
|
|
|
Wallet,
|
|
|
|
|
|
|
|
HDNode,
|
|
|
|
SigningKey,
|
|
|
|
|
|
|
|
Contract,
|
|
|
|
Interface,
|
|
|
|
|
|
|
|
providers,
|
|
|
|
|
|
|
|
types,
|
|
|
|
|
|
|
|
errors,
|
|
|
|
constants,
|
|
|
|
utils,
|
|
|
|
|
|
|
|
wordlists,
|
|
|
|
|
2018-07-17 09:05:24 +03:00
|
|
|
platform,
|
2018-07-16 10:27:49 +03:00
|
|
|
version
|
|
|
|
};
|
|
|
|
|