"use strict";
// Copyright 2017-2020 @polkadot/api authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
function __export(m) {
    for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
const util_1 = require("@polkadot/util");
// eslint-disable-next-line no-useless-catch
try {
    // eslint-disable-next-line @typescript-eslint/no-var-requires
    util_1.detectPackage(require('./package.json'), __dirname);
}
catch (error) {
    throw error;
}
var keyring_1 = require("@polkadot/keyring");
exports.Keyring = keyring_1.Keyring;
var rpc_provider_1 = require("../rpc-provider");
exports.WsProvider = rpc_provider_1.WsProvider;
var promise_1 = require("./promise");
exports.ApiPromise = promise_1.default;
var rx_1 = require("./rx");
exports.ApiRx = rx_1.default;
__export(require("./submittable"));
