Compare commits
4 Commits
dependabot
...
master
Author | SHA1 | Date |
---|---|---|
nico | 18da2be63d | 8 months ago |
Ganesha Upadhyaya | d580e4a659 | 2 years ago |
Ganesha Upadhyaya | 5eddd0feb2 | 2 years ago |
Artem | 71304c22ad | 2 years ago |
@ -1,88 +1,169 @@ |
||||
import { harmony } from './harmony'; |
||||
import fetch from 'jest-fetch-mock'; |
||||
import { woop, checkCalledMethod } from './woop'; |
||||
|
||||
import demoAccounts from '../fixtures/testAccount.json'; |
||||
import { RPCMethod } from '@woop-js/network'; |
||||
|
||||
const bc = harmony.blockchain; |
||||
const bc = woop.blockchain; |
||||
|
||||
const testAccount = demoAccounts.Accounts[1]; |
||||
|
||||
describe('e2e test blockchain', () => { |
||||
beforeEach(() => { |
||||
fetch.resetMocks(); |
||||
}); |
||||
// net_*
|
||||
it('should test net_peerCount', async () => { |
||||
fetch.mockResponseOnce( |
||||
JSON.stringify({"jsonrpc": "2.0", "id": 1, "result": "0x0"}), |
||||
); |
||||
const peerCount = await bc.net_peerCount(); |
||||
expect(harmony.utils.isHex(peerCount.result)).toEqual(true); |
||||
expect(checkCalledMethod(0, RPCMethod.PeerCount)).toEqual(true); |
||||
expect(woop.utils.isHex(peerCount.result)).toEqual(true); |
||||
}); |
||||
|
||||
it('should test net_version', async () => { |
||||
fetch.mockResponseOnce( |
||||
JSON.stringify({"jsonrpc": "2.0", "id": 1, "result": "5"}), |
||||
); |
||||
const netVersion = await bc.net_version(); |
||||
const versionNumber = parseInt(netVersion.result as string, 10); |
||||
expect(netVersion.result).toEqual(`${versionNumber}`); |
||||
expect(checkCalledMethod(0, RPCMethod.NetVersion)).toEqual(true); |
||||
}); |
||||
it('should test hmy_protocolVersion', async () => { |
||||
it('should test wiki_protocolVersion', async () => { |
||||
fetch.mockResponseOnce( |
||||
JSON.stringify({"jsonrpc": "2.0", "id": 1, "result": "0x10"}), |
||||
); |
||||
const protocolVersion = await bc.getProtocolVersion(); |
||||
expect(harmony.utils.isHex(protocolVersion.result)).toEqual(true); |
||||
expect(woop.utils.isHex(protocolVersion.result)).toEqual(true); |
||||
expect(checkCalledMethod(0, RPCMethod.ProtocolVersion)).toEqual(true); |
||||
}); |
||||
|
||||
// block chain info
|
||||
it('should test hmy_blockNumber', async () => { |
||||
it('should test wiki_blockNumber', async () => { |
||||
fetch.mockResponseOnce( |
||||
JSON.stringify({"jsonrpc": "2.0", "id": 1, "result": "0x10"}), |
||||
); |
||||
const res = await bc.getBlockNumber(); |
||||
expect(res.responseType).toEqual('raw'); |
||||
expect(harmony.utils.isHex(res.result)).toEqual(true); |
||||
expect(woop.utils.isHex(res.result)).toEqual(true); |
||||
expect(checkCalledMethod(0, RPCMethod.BlockNumber)).toEqual(true); |
||||
}); |
||||
it('should test hmy_getBlockByNumber', async () => { |
||||
|
||||
it('should test wiki_getBlockByNumber', async () => { |
||||
fetch.mockResponse( |
||||
JSON.stringify({ |
||||
"jsonrpc": "2.0", |
||||
"id": 1, |
||||
"result": { |
||||
"size": "0x1", |
||||
"difficulty": 5, |
||||
"extraData": "0x", |
||||
"gasLimit": "0x80", |
||||
"gasUsed": "0x40", |
||||
"hash": "0x8a3390ab500Fbca6514eB326d2fcD9B3BFCFbA7DA392593cB4885b8e3399a2D8", |
||||
"logsBloom": "0x0", |
||||
"miner": "one155jp2y76nazx8uw5sa94fr0m4s5aj8e5xm6fu3", |
||||
"mixHash": "0x3A7c1Ae14AfecFf55Da298F66b75F4FfB771c3EaBDeAa267FF33A77d4d0be220", |
||||
"nonce": 1, |
||||
"number": "0x1", |
||||
"parentHash": "0x7CebC07e456F0bCD09dbc9A6f271074d93E27B40A4C67Dcc402e6513e12B9aF9", |
||||
"receiptsRoot": "0x02B82e11eDC07775Dc6fCF706be2cdAF9165750Ea7bC1B3Eb48ea16Bb3072F4D", |
||||
"stateRoot": "0xAaDc89C8bA4e3fCfC140cFcc8D3efD3BE7a49ab31534A5a3F0E1DEA09aae0f4a", |
||||
"timestamp": "0x62c44c0a", |
||||
"transactionsRoot": "0xc4bfa888fDCC8ca70E2b0CcdCEcc2fF545acCC2D655Ba33DaF4aBc31cFDBd9Ac", |
||||
"uncles": [] |
||||
} |
||||
}), |
||||
); |
||||
const res = await bc.getBlockByNumber({ blockNumber: 'latest' }); |
||||
const size = res.result.size; |
||||
expect(res.responseType).toEqual('raw'); |
||||
expect(harmony.utils.isHex(size)).toEqual(true); |
||||
expect(woop.utils.isHex(size)).toEqual(true); |
||||
expect(checkBlockData(res.result)).toEqual(true); |
||||
const res2 = await bc.getBlockByNumber({ blockNumber: res.result.number }); |
||||
expect(res2.responseType).toEqual('raw'); |
||||
expect(harmony.utils.isHex(res2.result.size)).toEqual(true); |
||||
expect(woop.utils.isHex(res2.result.size)).toEqual(true); |
||||
expect(checkBlockData(res2.result)).toEqual(true); |
||||
const res3 = await bc.getBlockByNumber({ returnObject: true }); |
||||
expect(res3.responseType).toEqual('raw'); |
||||
expect(checkBlockData(res3.result)).toEqual(true); |
||||
for(let i = 0; i < 3; i++) { |
||||
expect(checkCalledMethod(i, RPCMethod.GetBlockByNumber)).toEqual(true); |
||||
} |
||||
}); |
||||
|
||||
it('should test hmy_getBlockByHash', async () => { |
||||
it('should test wiki_getBlockByHash', async () => { |
||||
fetch.mockResponse( |
||||
JSON.stringify({ |
||||
"jsonrpc": "2.0", |
||||
"id": 1, |
||||
"result": { |
||||
"size": "0x1", |
||||
"difficulty": 5, |
||||
"extraData": "0x", |
||||
"gasLimit": "0x80", |
||||
"gasUsed": "0x40", |
||||
"hash": "0x8a3390ab500Fbca6514eB326d2fcD9B3BFCFbA7DA392593cB4885b8e3399a2D8", |
||||
"logsBloom": "0x0", |
||||
"miner": "one155jp2y76nazx8uw5sa94fr0m4s5aj8e5xm6fu3", |
||||
"mixHash": "0x3A7c1Ae14AfecFf55Da298F66b75F4FfB771c3EaBDeAa267FF33A77d4d0be220", |
||||
"nonce": 1, |
||||
"number": "0x1", |
||||
"parentHash": "0x7CebC07e456F0bCD09dbc9A6f271074d93E27B40A4C67Dcc402e6513e12B9aF9", |
||||
"receiptsRoot": "0x02B82e11eDC07775Dc6fCF706be2cdAF9165750Ea7bC1B3Eb48ea16Bb3072F4D", |
||||
"stateRoot": "0xAaDc89C8bA4e3fCfC140cFcc8D3efD3BE7a49ab31534A5a3F0E1DEA09aae0f4a", |
||||
"timestamp": "0x62c44c0a", |
||||
"transactionsRoot": "0xc4bfa888fDCC8ca70E2b0CcdCEcc2fF545acCC2D655Ba33DaF4aBc31cFDBd9Ac", |
||||
"uncles": [] |
||||
} |
||||
}), |
||||
); |
||||
const latestBlock = await bc.getBlockByNumber({ blockNumber: 'latest' }); |
||||
const res = await bc.getBlockByHash({ blockHash: latestBlock.result.hash }); |
||||
expect(res.responseType).toEqual('raw'); |
||||
expect(latestBlock.result.hash).toEqual(res.result.hash); |
||||
expect(harmony.utils.isHex(res.result.size)).toEqual(true); |
||||
expect(woop.utils.isHex(res.result.size)).toEqual(true); |
||||
expect(checkBlockData(res.result)).toEqual(true); |
||||
expect(checkCalledMethod(0, RPCMethod.GetBlockByNumber)).toEqual(true); |
||||
expect(checkCalledMethod(1, RPCMethod.GetBlockByHash)).toEqual(true); |
||||
}); |
||||
|
||||
// account related
|
||||
it('should test hmy_getBalance', async () => { |
||||
it('should test wiki_getBalance', async () => { |
||||
fetch.mockResponseOnce( |
||||
JSON.stringify({"jsonrpc": "2.0", "id": 1, "result": "0x10"}), |
||||
); |
||||
const balance = await bc.getBalance({ address: testAccount.Address }); |
||||
expect(harmony.utils.isHex(balance.result)).toEqual(true); |
||||
expect(woop.utils.isHex(balance.result)).toEqual(true); |
||||
expect(checkCalledMethod(0, RPCMethod.GetBalance)).toEqual(true); |
||||
}); |
||||
}); |
||||
|
||||
function checkBlockData(data: any) { |
||||
return harmony.utils.validateArgs( |
||||
return woop.utils.validateArgs( |
||||
data, |
||||
{ |
||||
difficulty: [harmony.utils.isNumber], |
||||
difficulty: [woop.utils.isNumber], |
||||
// tslint:disable-next-line: no-shadowed-variable
|
||||
extraData: [(data: any) => data === '0x' || harmony.utils.isHex(data)], |
||||
gasLimit: [harmony.utils.isHex], |
||||
gasUsed: [harmony.utils.isHex], |
||||
hash: [harmony.utils.isHash], |
||||
logsBloom: [harmony.utils.isHex], |
||||
miner: [harmony.utils.isBech32Address], |
||||
mixHash: [harmony.utils.isHash], |
||||
nonce: [harmony.utils.isNumber], |
||||
number: [harmony.utils.isHex], |
||||
parentHash: [harmony.utils.isHash], |
||||
receiptsRoot: [harmony.utils.isHash], |
||||
size: [harmony.utils.isHex], |
||||
stateRoot: [harmony.utils.isHash], |
||||
timestamp: [harmony.utils.isHex], |
||||
transactionsRoot: [harmony.utils.isHash], |
||||
uncles: [harmony.utils.isArray], |
||||
extraData: [(data: any) => data === '0x' || woop.utils.isHex(data)], |
||||
gasLimit: [woop.utils.isHex], |
||||
gasUsed: [woop.utils.isHex], |
||||
hash: [woop.utils.isHash], |
||||
logsBloom: [woop.utils.isHex], |
||||
miner: [woop.utils.isBech32Address], |
||||
mixHash: [woop.utils.isHash], |
||||
nonce: [woop.utils.isNumber], |
||||
number: [woop.utils.isHex], |
||||
parentHash: [woop.utils.isHash], |
||||
receiptsRoot: [woop.utils.isHash], |
||||
size: [woop.utils.isHex], |
||||
stateRoot: [woop.utils.isHash], |
||||
timestamp: [woop.utils.isHex], |
||||
transactionsRoot: [woop.utils.isHash], |
||||
uncles: [woop.utils.isArray], |
||||
}, |
||||
{ transactions: [harmony.utils.isArray] }, |
||||
{ transactions: [woop.utils.isArray] }, |
||||
); |
||||
} |
@ -1,29 +0,0 @@ |
||||
// tslint:disable-next-line: no-implicit-dependencies
|
||||
import { Harmony } from '@harmony-js/core'; |
||||
// tslint:disable-next-line: no-implicit-dependencies
|
||||
import { ChainType } from '@harmony-js/utils'; |
||||
// tslint:disable-next-line: no-implicit-dependencies
|
||||
import { Account } from '@harmony-js/account'; |
||||
|
||||
const CHAIN_ID: number = parseInt(process.env.CHAIN_ID as string, 10); |
||||
const CHAIN_TYPE: string = process.env.CHAIN_TYPE as string; |
||||
const HTTP_PROVIDER: string = process.env.HTTP_PROVIDER as string; |
||||
const GENESIS_PRIV_KEY: string = process.env.GENESIS_PRIV_KEY as string; |
||||
|
||||
let chainType: ChainType = ChainType.Harmony; |
||||
|
||||
if (CHAIN_TYPE === 'hmy') { |
||||
chainType = ChainType.Harmony; |
||||
} else if (CHAIN_TYPE === 'eth') { |
||||
chainType = ChainType.Ethereum; |
||||
} |
||||
|
||||
export const harmony: Harmony = new Harmony(HTTP_PROVIDER, { |
||||
chainId: CHAIN_ID, |
||||
chainType, |
||||
chainUrl: HTTP_PROVIDER, |
||||
}); |
||||
|
||||
export const myAccount: Account = harmony.wallet.addByPrivateKey( |
||||
GENESIS_PRIV_KEY, |
||||
); |
@ -0,0 +1,39 @@ |
||||
import fetch from 'jest-fetch-mock'; |
||||
// tslint:disable-next-line: no-implicit-dependencies
|
||||
import { Woop } from '@woop-js/core'; |
||||
// tslint:disable-next-line: no-implicit-dependencies
|
||||
import { ChainType } from '@woop-js/utils'; |
||||
// tslint:disable-next-line: no-implicit-dependencies
|
||||
import { Account } from '@woop-js/account'; |
||||
|
||||
const CHAIN_ID: number = 2; |
||||
const CHAIN_TYPE: string = 'wiki'; |
||||
const HTTP_PROVIDER: string = 'http://localhost:9500'; |
||||
const GENESIS_PRIV_KEY: string = '45e497bd45a9049bcb649016594489ac67b9f052a6cdf5cb74ee2427a60bf25e'; |
||||
|
||||
let chainType: ChainType = ChainType.Woop; |
||||
|
||||
if (CHAIN_TYPE === 'wiki') { |
||||
chainType = ChainType.Woop; |
||||
} else if (CHAIN_TYPE === 'eth') { |
||||
chainType = ChainType.Ethereum; |
||||
} |
||||
|
||||
export const woop: Woop = new Woop(HTTP_PROVIDER, { |
||||
chainId: CHAIN_ID, |
||||
chainType, |
||||
chainUrl: HTTP_PROVIDER, |
||||
}); |
||||
|
||||
export const myAccount: Account = woop.wallet.addByPrivateKey( |
||||
GENESIS_PRIV_KEY, |
||||
); |
||||
|
||||
export function checkCalledMethod(i: number, s: string) { |
||||
let params: (string | undefined) = fetch.mock.calls[i][1]?.body?.toString(); |
||||
if (params) { |
||||
let method: string = JSON.parse(params).method; |
||||
return method === s; |
||||
} |
||||
return false; |
||||
} |
File diff suppressed because it is too large
Load Diff
@ -1,12 +1,12 @@ |
||||
# Packages available are: |
||||
|
||||
1. [@harmony-js/core](https://github.com/harmony-one/sdk/tree/master/packages/harmony-core) |
||||
2. [@harmony-js/account](https://github.com/harmony-one/sdk/tree/master/packages/harmony-account) |
||||
3. [@harmony-js/crypto](https://github.com/harmony-one/sdk/tree/master/packages/harmony-crypto) |
||||
4. [@harmony-js/network](https://github.com/harmony-one/sdk/tree/master/packages/harmony-network) |
||||
5. [@harmony-js/utils](https://github.com/harmony-one/sdk/tree/master/packages/harmony-utils) |
||||
6. [@harmony-js/transaction](https://github.com/harmony-one/sdk/tree/master/packages/harmony-transaction) |
||||
7. [@harmony-js/contract](https://github.com/harmony-one/sdk/tree/master/packages/harmony-contract) |
||||
8. [@harmony-js/staking](https://github.com/harmony-one/sdk/tree/master/packages/harmony-staking) |
||||
1. [@woop-js/core](https://github.com/woop-chain/sdk/tree/master/packages/woop-core) |
||||
2. [@woop-js/account](https://github.com/woop-chain/sdk/tree/master/packages/woop-account) |
||||
3. [@woop-js/crypto](https://github.com/woop-chain/sdk/tree/master/packages/woop-crypto) |
||||
4. [@woop-js/network](https://github.com/woop-chain/sdk/tree/master/packages/woop-network) |
||||
5. [@woop-js/utils](https://github.com/woop-chain/sdk/tree/master/packages/woop-utils) |
||||
6. [@woop-js/transaction](https://github.com/woop-chain/sdk/tree/master/packages/woop-transaction) |
||||
7. [@woop-js/contract](https://github.com/woop-chain/sdk/tree/master/packages/woop-contract) |
||||
8. [@woop-js/staking](https://github.com/woop-chain/sdk/tree/master/packages/woop-staking) |
||||
|
||||
<mark>Package level documentation and examples are inside each package</mark> |
@ -1,613 +0,0 @@ |
||||
{ |
||||
"name": "@harmony-js/account", |
||||
"version": "0.1.57", |
||||
"lockfileVersion": 1, |
||||
"requires": true, |
||||
"dependencies": { |
||||
"@harmony-js/account": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/account/-/account-0.1.55.tgz", |
||||
"integrity": "sha512-fkVFd/Q1yVcA+W/Pn2yq6TBakpTsc/zg3+0fPB6LNBlERCu28tCHsTsHazpb9n/CSh6jUHoyy3cQPUBMggLRgg==", |
||||
"requires": { |
||||
"@harmony-js/core": "0.1.55", |
||||
"@harmony-js/crypto": "0.1.55", |
||||
"@harmony-js/network": "0.1.55", |
||||
"@harmony-js/staking": "0.1.55", |
||||
"@harmony-js/transaction": "0.1.55", |
||||
"@harmony-js/utils": "0.1.55" |
||||
} |
||||
}, |
||||
"@harmony-js/contract": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/contract/-/contract-0.1.55.tgz", |
||||
"integrity": "sha512-tX3k5zrB3cfkM2wF9Vw0fHfuFB5DdgTT22c1KUoupcZB2g3xiink2tgK2AP0nnDTvjFCj6Lg8gSoknBdX5i0LA==", |
||||
"requires": { |
||||
"@harmony-js/account": "0.1.55", |
||||
"@harmony-js/crypto": "0.1.55", |
||||
"@harmony-js/network": "0.1.55", |
||||
"@harmony-js/transaction": "0.1.55", |
||||
"@harmony-js/utils": "0.1.55" |
||||
} |
||||
}, |
||||
"@harmony-js/core": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/core/-/core-0.1.55.tgz", |
||||
"integrity": "sha512-fUGwtEvZtKNuAq83Jklfrbml8/NZKWMhMI//zvFRxO54NPOl6e1tbrN09Sxd3CX4v8iuWRjihtSyC8ex3VIStg==", |
||||
"requires": { |
||||
"@harmony-js/account": "0.1.55", |
||||
"@harmony-js/contract": "0.1.55", |
||||
"@harmony-js/crypto": "0.1.55", |
||||
"@harmony-js/network": "0.1.55", |
||||
"@harmony-js/staking": "0.1.55", |
||||
"@harmony-js/transaction": "0.1.55", |
||||
"@harmony-js/utils": "0.1.55" |
||||
} |
||||
}, |
||||
"@harmony-js/crypto": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/crypto/-/crypto-0.1.55.tgz", |
||||
"integrity": "sha512-Gpp6eGkhmdqz86uoYwE1d3pqVbpNkUQlO51ufjb8lzWVFt5N8t3tj14xVycU+TI1bioikWaFd0xsJfPlCo79nA==", |
||||
"requires": { |
||||
"@harmony-js/utils": "0.1.55", |
||||
"aes-js": "^3.1.2", |
||||
"bip39": "^2.5.0", |
||||
"bn.js": "^4.11.8", |
||||
"elliptic": "^6.4.1", |
||||
"hdkey": "^1.1.1", |
||||
"hmac-drbg": "^1.0.1", |
||||
"js-sha3": "^0.8.0", |
||||
"pbkdf2": "^3.0.17", |
||||
"scrypt-shim": "github:web3-js/scrypt-shim", |
||||
"uuid": "^3.3.2" |
||||
} |
||||
}, |
||||
"@harmony-js/network": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/network/-/network-0.1.55.tgz", |
||||
"integrity": "sha512-8Utx0tC7gjqF2Ipzibfze72KxxNBdMOPZipeqxDBbFJf9q8iK3G9i21fFIIZiwgBhoTsJ/Sn6BNDEv0E80yiaA==", |
||||
"requires": { |
||||
"@harmony-js/utils": "0.1.55", |
||||
"cross-fetch": "^3.0.2", |
||||
"mitt": "^1.2.0", |
||||
"websocket": "^1.0.28" |
||||
} |
||||
}, |
||||
"@harmony-js/staking": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/staking/-/staking-0.1.55.tgz", |
||||
"integrity": "sha512-cmnVcMc4g6XPXiaFPJTHS6Nwg6ZN7333EeCtj65OUi/L+LjYSR6M4spQfe6WdFsKXerYEUpiwT2Y1SalsPNHig==", |
||||
"requires": { |
||||
"@harmony-js/crypto": "0.1.55", |
||||
"@harmony-js/network": "0.1.55", |
||||
"@harmony-js/transaction": "0.1.55", |
||||
"@harmony-js/utils": "0.1.55", |
||||
"text-encoding": "^0.7.0" |
||||
} |
||||
}, |
||||
"@harmony-js/transaction": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/transaction/-/transaction-0.1.55.tgz", |
||||
"integrity": "sha512-kLrVON17lzj/aZR6kOJDKHwwFjKsaQtmD/DSG/WAVpgxh04B/NL0XsDUK/RD6hy6tHd04Pt+f47GNqcv7ZsrYA==", |
||||
"requires": { |
||||
"@harmony-js/crypto": "0.1.55", |
||||
"@harmony-js/network": "0.1.55", |
||||
"@harmony-js/utils": "0.1.55" |
||||
} |
||||
}, |
||||
"@harmony-js/utils": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/utils/-/utils-0.1.55.tgz", |
||||
"integrity": "sha512-CnV7I+eotS12JyV6jdkuP8Pz19o2utUKCiAN0r0ba+vWs1O59V7vPDUjPSFlxNEujQQGm6pby+JQVL8QZqytOg==", |
||||
"requires": { |
||||
"@types/bn.js": "^4.11.3", |
||||
"bn.js": "^4.11.8" |
||||
} |
||||
}, |
||||
"@types/bn.js": { |
||||
"version": "4.11.6", |
||||
"resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", |
||||
"integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", |
||||
"requires": { |
||||
"@types/node": "*" |
||||
} |
||||
}, |
||||
"@types/node": { |
||||
"version": "14.14.2", |
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.2.tgz", |
||||
"integrity": "sha512-jeYJU2kl7hL9U5xuI/BhKPZ4vqGM/OmK6whiFAXVhlstzZhVamWhDSmHyGLIp+RVyuF9/d0dqr2P85aFj4BvJg==" |
||||
}, |
||||
"aes-js": { |
||||
"version": "3.1.2", |
||||
"resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz", |
||||
"integrity": "sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ==" |
||||
}, |
||||
"base-x": { |
||||
"version": "3.0.8", |
||||
"resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.8.tgz", |
||||
"integrity": "sha512-Rl/1AWP4J/zRrk54hhlxH4drNxPJXYUaKffODVI53/dAsV4t9fBxyxYKAVPU1XBHxYwOWP9h9H0hM2MVw4YfJA==", |
||||
"requires": { |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"bindings": { |
||||
"version": "1.5.0", |
||||
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", |
||||
"integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", |
||||
"requires": { |
||||
"file-uri-to-path": "1.0.0" |
||||
} |
||||
}, |
||||
"bip39": { |
||||
"version": "2.6.0", |
||||
"resolved": "https://registry.npmjs.org/bip39/-/bip39-2.6.0.tgz", |
||||
"integrity": "sha512-RrnQRG2EgEoqO24ea+Q/fftuPUZLmrEM3qNhhGsA3PbaXaCW791LTzPuVyx/VprXQcTbPJ3K3UeTna8ZnVl2sg==", |
||||
"requires": { |
||||
"create-hash": "^1.1.0", |
||||
"pbkdf2": "^3.0.9", |
||||
"randombytes": "^2.0.1", |
||||
"safe-buffer": "^5.0.1", |
||||
"unorm": "^1.3.3" |
||||
} |
||||
}, |
||||
"bip66": { |
||||
"version": "1.1.5", |
||||
"resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz", |
||||
"integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=", |
||||
"requires": { |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"bn.js": { |
||||
"version": "4.11.9", |
||||
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", |
||||
"integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==" |
||||
}, |
||||
"brorand": { |
||||
"version": "1.1.0", |
||||
"resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", |
||||
"integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" |
||||
}, |
||||
"browserify-aes": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", |
||||
"integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", |
||||
"requires": { |
||||
"buffer-xor": "^1.0.3", |
||||
"cipher-base": "^1.0.0", |
||||
"create-hash": "^1.1.0", |
||||
"evp_bytestokey": "^1.0.3", |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"bs58": { |
||||
"version": "4.0.1", |
||||
"resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", |
||||
"integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", |
||||
"requires": { |
||||
"base-x": "^3.0.2" |
||||
} |
||||
}, |
||||
"bs58check": { |
||||
"version": "2.1.2", |
||||
"resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz", |
||||
"integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==", |
||||
"requires": { |
||||
"bs58": "^4.0.0", |
||||
"create-hash": "^1.1.0", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"buffer-xor": { |
||||
"version": "1.0.3", |
||||
"resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", |
||||
"integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" |
||||
}, |
||||
"bufferutil": { |
||||
"version": "4.0.1", |
||||
"resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.1.tgz", |
||||
"integrity": "sha512-xowrxvpxojqkagPcWRQVXZl0YXhRhAtBEIq3VoER1NH5Mw1n1o0ojdspp+GS2J//2gCVyrzQDApQ4unGF+QOoA==", |
||||
"requires": { |
||||
"node-gyp-build": "~3.7.0" |
||||
} |
||||
}, |
||||
"cipher-base": { |
||||
"version": "1.0.4", |
||||
"resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", |
||||
"integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", |
||||
"requires": { |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"create-hash": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", |
||||
"integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", |
||||
"requires": { |
||||
"cipher-base": "^1.0.1", |
||||
"inherits": "^2.0.1", |
||||
"md5.js": "^1.3.4", |
||||
"ripemd160": "^2.0.1", |
||||
"sha.js": "^2.4.0" |
||||
} |
||||
}, |
||||
"create-hmac": { |
||||
"version": "1.1.7", |
||||
"resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", |
||||
"integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", |
||||
"requires": { |
||||
"cipher-base": "^1.0.3", |
||||
"create-hash": "^1.1.0", |
||||
"inherits": "^2.0.1", |
||||
"ripemd160": "^2.0.0", |
||||
"safe-buffer": "^5.0.1", |
||||
"sha.js": "^2.4.8" |
||||
} |
||||
}, |
||||
"cross-fetch": { |
||||
"version": "3.0.6", |
||||
"resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.0.6.tgz", |
||||
"integrity": "sha512-KBPUbqgFjzWlVcURG+Svp9TlhA5uliYtiNx/0r8nv0pdypeQCRJ9IaSIc3q/x3q8t3F75cHuwxVql1HFGHCNJQ==", |
||||
"requires": { |
||||
"node-fetch": "2.6.1" |
||||
} |
||||
}, |
||||
"d": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", |
||||
"integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", |
||||
"requires": { |
||||
"es5-ext": "^0.10.50", |
||||
"type": "^1.0.1" |
||||
} |
||||
}, |
||||
"debug": { |
||||
"version": "2.6.9", |
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", |
||||
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", |
||||
"requires": { |
||||
"ms": "2.0.0" |
||||
} |
||||
}, |
||||
"drbg.js": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz", |
||||
"integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=", |
||||
"requires": { |
||||
"browserify-aes": "^1.0.6", |
||||
"create-hash": "^1.1.2", |
||||
"create-hmac": "^1.1.4" |
||||
} |
||||
}, |
||||
"elliptic": { |
||||
"version": "6.5.3", |
||||
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz", |
||||
"integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==", |
||||
"requires": { |
||||
"bn.js": "^4.4.0", |
||||
"brorand": "^1.0.1", |
||||
"hash.js": "^1.0.0", |
||||
"hmac-drbg": "^1.0.0", |
||||
"inherits": "^2.0.1", |
||||
"minimalistic-assert": "^1.0.0", |
||||
"minimalistic-crypto-utils": "^1.0.0" |
||||
} |
||||
}, |
||||
"es5-ext": { |
||||
"version": "0.10.53", |
||||
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz", |
||||
"integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==", |
||||
"requires": { |
||||
"es6-iterator": "~2.0.3", |
||||
"es6-symbol": "~3.1.3", |
||||
"next-tick": "~1.0.0" |
||||
} |
||||
}, |
||||
"es6-iterator": { |
||||
"version": "2.0.3", |
||||
"resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", |
||||
"integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", |
||||
"requires": { |
||||
"d": "1", |
||||
"es5-ext": "^0.10.35", |
||||
"es6-symbol": "^3.1.1" |
||||
} |
||||
}, |
||||
"es6-symbol": { |
||||
"version": "3.1.3", |
||||
"resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", |
||||
"integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", |
||||
"requires": { |
||||
"d": "^1.0.1", |
||||
"ext": "^1.1.2" |
||||
} |
||||
}, |
||||
"evp_bytestokey": { |
||||
"version": "1.0.3", |
||||
"resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", |
||||
"integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", |
||||
"requires": { |
||||
"md5.js": "^1.3.4", |
||||
"safe-buffer": "^5.1.1" |
||||
} |
||||
}, |
||||
"ext": { |
||||
"version": "1.4.0", |
||||
"resolved": "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz", |
||||
"integrity": "sha512-Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A==", |
||||
"requires": { |
||||
"type": "^2.0.0" |
||||
}, |
||||
"dependencies": { |
||||
"type": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/type/-/type-2.1.0.tgz", |
||||
"integrity": "sha512-G9absDWvhAWCV2gmF1zKud3OyC61nZDwWvBL2DApaVFogI07CprggiQAOOjvp2NRjYWFzPyu7vwtDrQFq8jeSA==" |
||||
} |
||||
} |
||||
}, |
||||
"file-uri-to-path": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", |
||||
"integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" |
||||
}, |
||||
"hash-base": { |
||||
"version": "3.1.0", |
||||
"resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", |
||||
"integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", |
||||
"requires": { |
||||
"inherits": "^2.0.4", |
||||
"readable-stream": "^3.6.0", |
||||
"safe-buffer": "^5.2.0" |
||||
} |
||||
}, |
||||
"hash.js": { |
||||
"version": "1.1.7", |
||||
"resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", |
||||
"integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", |
||||
"requires": { |
||||
"inherits": "^2.0.3", |
||||
"minimalistic-assert": "^1.0.1" |
||||
} |
||||
}, |
||||
"hdkey": { |
||||
"version": "1.1.2", |
||||
"resolved": "https://registry.npmjs.org/hdkey/-/hdkey-1.1.2.tgz", |
||||
"integrity": "sha512-PTQ4VKu0oRnCrYfLp04iQZ7T2Cxz0UsEXYauk2j8eh6PJXCpbXuCFhOmtIFtbET0i3PMWmHN9J11gU8LEgUljQ==", |
||||
"requires": { |
||||
"bs58check": "^2.1.2", |
||||
"safe-buffer": "^5.1.1", |
||||
"secp256k1": "^3.0.1" |
||||
} |
||||
}, |
||||
"hmac-drbg": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", |
||||
"integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", |
||||
"requires": { |
||||
"hash.js": "^1.0.3", |
||||
"minimalistic-assert": "^1.0.0", |
||||
"minimalistic-crypto-utils": "^1.0.1" |
||||
} |
||||
}, |
||||
"inherits": { |
||||
"version": "2.0.4", |
||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", |
||||
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" |
||||
}, |
||||
"is-typedarray": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", |
||||
"integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" |
||||
}, |
||||
"js-sha3": { |
||||
"version": "0.8.0", |
||||
"resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", |
||||
"integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" |
||||
}, |
||||
"md5.js": { |
||||
"version": "1.3.5", |
||||
"resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", |
||||
"integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", |
||||
"requires": { |
||||
"hash-base": "^3.0.0", |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"minimalistic-assert": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", |
||||
"integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" |
||||
}, |
||||
"minimalistic-crypto-utils": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", |
||||
"integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" |
||||
}, |
||||
"mitt": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/mitt/-/mitt-1.2.0.tgz", |
||||
"integrity": "sha512-r6lj77KlwqLhIUku9UWYes7KJtsczvolZkzp8hbaDPPaE24OmWl5s539Mytlj22siEQKosZ26qCBgda2PKwoJw==" |
||||
}, |
||||
"ms": { |
||||
"version": "2.0.0", |
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", |
||||
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" |
||||
}, |
||||
"nan": { |
||||
"version": "2.14.2", |
||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", |
||||
"integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==" |
||||
}, |
||||
"next-tick": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", |
||||
"integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=" |
||||
}, |
||||
"node-fetch": { |
||||
"version": "2.6.1", |
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", |
||||
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" |
||||
}, |
||||
"node-gyp-build": { |
||||
"version": "3.7.0", |
||||
"resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-3.7.0.tgz", |
||||
"integrity": "sha512-L/Eg02Epx6Si2NXmedx+Okg+4UHqmaf3TNcxd50SF9NQGcJaON3AtU++kax69XV7YWz4tUspqZSAsVofhFKG2w==" |
||||
}, |
||||
"pbkdf2": { |
||||
"version": "3.1.1", |
||||
"resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.1.tgz", |
||||
"integrity": "sha512-4Ejy1OPxi9f2tt1rRV7Go7zmfDQ+ZectEQz3VGUQhgq62HtIRPDyG/JtnwIxs6x3uNMwo2V7q1fMvKjb+Tnpqg==", |
||||
"requires": { |
||||
"create-hash": "^1.1.2", |
||||
"create-hmac": "^1.1.4", |
||||
"ripemd160": "^2.0.1", |
||||
"safe-buffer": "^5.0.1", |
||||
"sha.js": "^2.4.8" |
||||
} |
||||
}, |
||||
"randombytes": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", |
||||
"integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", |
||||
"requires": { |
||||
"safe-buffer": "^5.1.0" |
||||
} |
||||
}, |
||||
"readable-stream": { |
||||
"version": "3.6.0", |
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", |
||||
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", |
||||
"requires": { |
||||
"inherits": "^2.0.3", |
||||
"string_decoder": "^1.1.1", |
||||
"util-deprecate": "^1.0.1" |
||||
} |
||||
}, |
||||
"ripemd160": { |
||||
"version": "2.0.2", |
||||
"resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", |
||||
"integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", |
||||
"requires": { |
||||
"hash-base": "^3.0.0", |
||||
"inherits": "^2.0.1" |
||||
} |
||||
}, |
||||
"safe-buffer": { |
||||
"version": "5.2.1", |
||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", |
||||
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" |
||||
}, |
||||
"scrypt-shim": { |
||||
"version": "github:web3-js/scrypt-shim#aafdadda13e660e25e1c525d1f5b2443f5eb1ebb", |
||||
"from": "github:web3-js/scrypt-shim", |
||||
"requires": { |
||||
"scryptsy": "^2.1.0", |
||||
"semver": "^6.3.0" |
||||
} |
||||
}, |
||||
"scryptsy": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/scryptsy/-/scryptsy-2.1.0.tgz", |
||||
"integrity": "sha512-1CdSqHQowJBnMAFyPEBRfqag/YP9OF394FV+4YREIJX4ljD7OxvQRDayyoyyCk+senRjSkP6VnUNQmVQqB6g7w==" |
||||
}, |
||||
"secp256k1": { |
||||
"version": "3.8.0", |
||||
"resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-3.8.0.tgz", |
||||
"integrity": "sha512-k5ke5avRZbtl9Tqx/SA7CbY3NF6Ro+Sj9cZxezFzuBlLDmyqPiL8hJJ+EmzD8Ig4LUDByHJ3/iPOVoRixs/hmw==", |
||||
"requires": { |
||||
"bindings": "^1.5.0", |
||||
"bip66": "^1.1.5", |
||||
"bn.js": "^4.11.8", |
||||
"create-hash": "^1.2.0", |
||||
"drbg.js": "^1.0.1", |
||||
"elliptic": "^6.5.2", |
||||
"nan": "^2.14.0", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"semver": { |
||||
"version": "6.3.0", |
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", |
||||
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" |
||||
}, |
||||
"sha.js": { |
||||
"version": "2.4.11", |
||||
"resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", |
||||
"integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", |
||||
"requires": { |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"string_decoder": { |
||||
"version": "1.3.0", |
||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", |
||||
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", |
||||
"requires": { |
||||
"safe-buffer": "~5.2.0" |
||||
} |
||||
}, |
||||
"text-encoding": { |
||||
"version": "0.7.0", |
||||
"resolved": "https://registry.npmjs.org/text-encoding/-/text-encoding-0.7.0.tgz", |
||||
"integrity": "sha512-oJQ3f1hrOnbRLOcwKz0Liq2IcrvDeZRHXhd9RgLrsT+DjWY/nty1Hi7v3dtkaEYbPYe0mUoOfzRrMwfXXwgPUA==" |
||||
}, |
||||
"type": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", |
||||
"integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==" |
||||
}, |
||||
"typedarray-to-buffer": { |
||||
"version": "3.1.5", |
||||
"resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", |
||||
"integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", |
||||
"requires": { |
||||
"is-typedarray": "^1.0.0" |
||||
} |
||||
}, |
||||
"unorm": { |
||||
"version": "1.6.0", |
||||
"resolved": "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz", |
||||
"integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==" |
||||
}, |
||||
"utf-8-validate": { |
||||
"version": "5.0.2", |
||||
"resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.2.tgz", |
||||
"integrity": "sha512-SwV++i2gTD5qh2XqaPzBnNX88N6HdyhQrNNRykvcS0QKvItV9u3vPEJr+X5Hhfb1JC0r0e1alL0iB09rY8+nmw==", |
||||
"requires": { |
||||
"node-gyp-build": "~3.7.0" |
||||
} |
||||
}, |
||||
"util-deprecate": { |
||||
"version": "1.0.2", |
||||
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", |
||||
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" |
||||
}, |
||||
"uuid": { |
||||
"version": "3.4.0", |
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", |
||||
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" |
||||
}, |
||||
"websocket": { |
||||
"version": "1.0.32", |
||||
"resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.32.tgz", |
||||
"integrity": "sha512-i4yhcllSP4wrpoPMU2N0TQ/q0O94LRG/eUQjEAamRltjQ1oT1PFFKOG4i877OlJgCG8rw6LrrowJp+TYCEWF7Q==", |
||||
"requires": { |
||||
"bufferutil": "^4.0.1", |
||||
"debug": "^2.2.0", |
||||
"es5-ext": "^0.10.50", |
||||
"typedarray-to-buffer": "^3.1.5", |
||||
"utf-8-validate": "^5.0.2", |
||||
"yaeti": "^0.0.6" |
||||
} |
||||
}, |
||||
"yaeti": { |
||||
"version": "0.0.6", |
||||
"resolved": "https://registry.npmjs.org/yaeti/-/yaeti-0.0.6.tgz", |
||||
"integrity": "sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc=" |
||||
} |
||||
} |
||||
} |
@ -1,14 +0,0 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-account |
||||
* @hidden |
||||
*/ |
||||
|
||||
import { HttpProvider, Messenger } from '@harmony-js/network'; |
||||
import { ChainType, ChainID } from '@harmony-js/utils'; |
||||
|
||||
export const defaultMessenger = new Messenger( |
||||
new HttpProvider('http://localhost:9500'), |
||||
ChainType.Harmony, |
||||
ChainID.HmyLocal, |
||||
); |
@ -1,613 +0,0 @@ |
||||
{ |
||||
"name": "@harmony-js/contract", |
||||
"version": "0.1.56", |
||||
"lockfileVersion": 1, |
||||
"requires": true, |
||||
"dependencies": { |
||||
"@harmony-js/account": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/account/-/account-0.1.55.tgz", |
||||
"integrity": "sha512-fkVFd/Q1yVcA+W/Pn2yq6TBakpTsc/zg3+0fPB6LNBlERCu28tCHsTsHazpb9n/CSh6jUHoyy3cQPUBMggLRgg==", |
||||
"requires": { |
||||
"@harmony-js/core": "0.1.55", |
||||
"@harmony-js/crypto": "0.1.55", |
||||
"@harmony-js/network": "0.1.55", |
||||
"@harmony-js/staking": "0.1.55", |
||||
"@harmony-js/transaction": "0.1.55", |
||||
"@harmony-js/utils": "0.1.55" |
||||
} |
||||
}, |
||||
"@harmony-js/contract": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/contract/-/contract-0.1.55.tgz", |
||||
"integrity": "sha512-tX3k5zrB3cfkM2wF9Vw0fHfuFB5DdgTT22c1KUoupcZB2g3xiink2tgK2AP0nnDTvjFCj6Lg8gSoknBdX5i0LA==", |
||||
"requires": { |
||||
"@harmony-js/account": "0.1.55", |
||||
"@harmony-js/crypto": "0.1.55", |
||||
"@harmony-js/network": "0.1.55", |
||||
"@harmony-js/transaction": "0.1.55", |
||||
"@harmony-js/utils": "0.1.55" |
||||
} |
||||
}, |
||||
"@harmony-js/core": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/core/-/core-0.1.55.tgz", |
||||
"integrity": "sha512-fUGwtEvZtKNuAq83Jklfrbml8/NZKWMhMI//zvFRxO54NPOl6e1tbrN09Sxd3CX4v8iuWRjihtSyC8ex3VIStg==", |
||||
"requires": { |
||||
"@harmony-js/account": "0.1.55", |
||||
"@harmony-js/contract": "0.1.55", |
||||
"@harmony-js/crypto": "0.1.55", |
||||
"@harmony-js/network": "0.1.55", |
||||
"@harmony-js/staking": "0.1.55", |
||||
"@harmony-js/transaction": "0.1.55", |
||||
"@harmony-js/utils": "0.1.55" |
||||
} |
||||
}, |
||||
"@harmony-js/crypto": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/crypto/-/crypto-0.1.55.tgz", |
||||
"integrity": "sha512-Gpp6eGkhmdqz86uoYwE1d3pqVbpNkUQlO51ufjb8lzWVFt5N8t3tj14xVycU+TI1bioikWaFd0xsJfPlCo79nA==", |
||||
"requires": { |
||||
"@harmony-js/utils": "0.1.55", |
||||
"aes-js": "^3.1.2", |
||||
"bip39": "^2.5.0", |
||||
"bn.js": "^4.11.8", |
||||
"elliptic": "^6.4.1", |
||||
"hdkey": "^1.1.1", |
||||
"hmac-drbg": "^1.0.1", |
||||
"js-sha3": "^0.8.0", |
||||
"pbkdf2": "^3.0.17", |
||||
"scrypt-shim": "github:web3-js/scrypt-shim", |
||||
"uuid": "^3.3.2" |
||||
} |
||||
}, |
||||
"@harmony-js/network": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/network/-/network-0.1.55.tgz", |
||||
"integrity": "sha512-8Utx0tC7gjqF2Ipzibfze72KxxNBdMOPZipeqxDBbFJf9q8iK3G9i21fFIIZiwgBhoTsJ/Sn6BNDEv0E80yiaA==", |
||||
"requires": { |
||||
"@harmony-js/utils": "0.1.55", |
||||
"cross-fetch": "^3.0.2", |
||||
"mitt": "^1.2.0", |
||||
"websocket": "^1.0.28" |
||||
} |
||||
}, |
||||
"@harmony-js/staking": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/staking/-/staking-0.1.55.tgz", |
||||
"integrity": "sha512-cmnVcMc4g6XPXiaFPJTHS6Nwg6ZN7333EeCtj65OUi/L+LjYSR6M4spQfe6WdFsKXerYEUpiwT2Y1SalsPNHig==", |
||||
"requires": { |
||||
"@harmony-js/crypto": "0.1.55", |
||||
"@harmony-js/network": "0.1.55", |
||||
"@harmony-js/transaction": "0.1.55", |
||||
"@harmony-js/utils": "0.1.55", |
||||
"text-encoding": "^0.7.0" |
||||
} |
||||
}, |
||||
"@harmony-js/transaction": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/transaction/-/transaction-0.1.55.tgz", |
||||
"integrity": "sha512-kLrVON17lzj/aZR6kOJDKHwwFjKsaQtmD/DSG/WAVpgxh04B/NL0XsDUK/RD6hy6tHd04Pt+f47GNqcv7ZsrYA==", |
||||
"requires": { |
||||
"@harmony-js/crypto": "0.1.55", |
||||
"@harmony-js/network": "0.1.55", |
||||
"@harmony-js/utils": "0.1.55" |
||||
} |
||||
}, |
||||
"@harmony-js/utils": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/utils/-/utils-0.1.55.tgz", |
||||
"integrity": "sha512-CnV7I+eotS12JyV6jdkuP8Pz19o2utUKCiAN0r0ba+vWs1O59V7vPDUjPSFlxNEujQQGm6pby+JQVL8QZqytOg==", |
||||
"requires": { |
||||
"@types/bn.js": "^4.11.3", |
||||
"bn.js": "^4.11.8" |
||||
} |
||||
}, |
||||
"@types/bn.js": { |
||||
"version": "4.11.6", |
||||
"resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", |
||||
"integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", |
||||
"requires": { |
||||
"@types/node": "*" |
||||
} |
||||
}, |
||||
"@types/node": { |
||||
"version": "14.14.2", |
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.2.tgz", |
||||
"integrity": "sha512-jeYJU2kl7hL9U5xuI/BhKPZ4vqGM/OmK6whiFAXVhlstzZhVamWhDSmHyGLIp+RVyuF9/d0dqr2P85aFj4BvJg==" |
||||
}, |
||||
"aes-js": { |
||||
"version": "3.1.2", |
||||
"resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz", |
||||
"integrity": "sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ==" |
||||
}, |
||||
"base-x": { |
||||
"version": "3.0.8", |
||||
"resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.8.tgz", |
||||
"integrity": "sha512-Rl/1AWP4J/zRrk54hhlxH4drNxPJXYUaKffODVI53/dAsV4t9fBxyxYKAVPU1XBHxYwOWP9h9H0hM2MVw4YfJA==", |
||||
"requires": { |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"bindings": { |
||||
"version": "1.5.0", |
||||
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", |
||||
"integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", |
||||
"requires": { |
||||
"file-uri-to-path": "1.0.0" |
||||
} |
||||
}, |
||||
"bip39": { |
||||
"version": "2.6.0", |
||||
"resolved": "https://registry.npmjs.org/bip39/-/bip39-2.6.0.tgz", |
||||
"integrity": "sha512-RrnQRG2EgEoqO24ea+Q/fftuPUZLmrEM3qNhhGsA3PbaXaCW791LTzPuVyx/VprXQcTbPJ3K3UeTna8ZnVl2sg==", |
||||
"requires": { |
||||
"create-hash": "^1.1.0", |
||||
"pbkdf2": "^3.0.9", |
||||
"randombytes": "^2.0.1", |
||||
"safe-buffer": "^5.0.1", |
||||
"unorm": "^1.3.3" |
||||
} |
||||
}, |
||||
"bip66": { |
||||
"version": "1.1.5", |
||||
"resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz", |
||||
"integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=", |
||||
"requires": { |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"bn.js": { |
||||
"version": "4.11.9", |
||||
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", |
||||
"integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==" |
||||
}, |
||||
"brorand": { |
||||
"version": "1.1.0", |
||||
"resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", |
||||
"integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" |
||||
}, |
||||
"browserify-aes": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", |
||||
"integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", |
||||
"requires": { |
||||
"buffer-xor": "^1.0.3", |
||||
"cipher-base": "^1.0.0", |
||||
"create-hash": "^1.1.0", |
||||
"evp_bytestokey": "^1.0.3", |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"bs58": { |
||||
"version": "4.0.1", |
||||
"resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", |
||||
"integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", |
||||
"requires": { |
||||
"base-x": "^3.0.2" |
||||
} |
||||
}, |
||||
"bs58check": { |
||||
"version": "2.1.2", |
||||
"resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz", |
||||
"integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==", |
||||
"requires": { |
||||
"bs58": "^4.0.0", |
||||
"create-hash": "^1.1.0", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"buffer-xor": { |
||||
"version": "1.0.3", |
||||
"resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", |
||||
"integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" |
||||
}, |
||||
"bufferutil": { |
||||
"version": "4.0.1", |
||||
"resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.1.tgz", |
||||
"integrity": "sha512-xowrxvpxojqkagPcWRQVXZl0YXhRhAtBEIq3VoER1NH5Mw1n1o0ojdspp+GS2J//2gCVyrzQDApQ4unGF+QOoA==", |
||||
"requires": { |
||||
"node-gyp-build": "~3.7.0" |
||||
} |
||||
}, |
||||
"cipher-base": { |
||||
"version": "1.0.4", |
||||
"resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", |
||||
"integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", |
||||
"requires": { |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"create-hash": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", |
||||
"integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", |
||||
"requires": { |
||||
"cipher-base": "^1.0.1", |
||||
"inherits": "^2.0.1", |
||||
"md5.js": "^1.3.4", |
||||
"ripemd160": "^2.0.1", |
||||
"sha.js": "^2.4.0" |
||||
} |
||||
}, |
||||
"create-hmac": { |
||||
"version": "1.1.7", |
||||
"resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", |
||||
"integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", |
||||
"requires": { |
||||
"cipher-base": "^1.0.3", |
||||
"create-hash": "^1.1.0", |
||||
"inherits": "^2.0.1", |
||||
"ripemd160": "^2.0.0", |
||||
"safe-buffer": "^5.0.1", |
||||
"sha.js": "^2.4.8" |
||||
} |
||||
}, |
||||
"cross-fetch": { |
||||
"version": "3.0.6", |
||||
"resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.0.6.tgz", |
||||
"integrity": "sha512-KBPUbqgFjzWlVcURG+Svp9TlhA5uliYtiNx/0r8nv0pdypeQCRJ9IaSIc3q/x3q8t3F75cHuwxVql1HFGHCNJQ==", |
||||
"requires": { |
||||
"node-fetch": "2.6.1" |
||||
} |
||||
}, |
||||
"d": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", |
||||
"integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", |
||||
"requires": { |
||||
"es5-ext": "^0.10.50", |
||||
"type": "^1.0.1" |
||||
} |
||||
}, |
||||
"debug": { |
||||
"version": "2.6.9", |
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", |
||||
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", |
||||
"requires": { |
||||
"ms": "2.0.0" |
||||
} |
||||
}, |
||||
"drbg.js": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz", |
||||
"integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=", |
||||
"requires": { |
||||
"browserify-aes": "^1.0.6", |
||||
"create-hash": "^1.1.2", |
||||
"create-hmac": "^1.1.4" |
||||
} |
||||
}, |
||||
"elliptic": { |
||||
"version": "6.5.3", |
||||
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz", |
||||
"integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==", |
||||
"requires": { |
||||
"bn.js": "^4.4.0", |
||||
"brorand": "^1.0.1", |
||||
"hash.js": "^1.0.0", |
||||
"hmac-drbg": "^1.0.0", |
||||
"inherits": "^2.0.1", |
||||
"minimalistic-assert": "^1.0.0", |
||||
"minimalistic-crypto-utils": "^1.0.0" |
||||
} |
||||
}, |
||||
"es5-ext": { |
||||
"version": "0.10.53", |
||||
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz", |
||||
"integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==", |
||||
"requires": { |
||||
"es6-iterator": "~2.0.3", |
||||
"es6-symbol": "~3.1.3", |
||||
"next-tick": "~1.0.0" |
||||
} |
||||
}, |
||||
"es6-iterator": { |
||||
"version": "2.0.3", |
||||
"resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", |
||||
"integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", |
||||
"requires": { |
||||
"d": "1", |
||||
"es5-ext": "^0.10.35", |
||||
"es6-symbol": "^3.1.1" |
||||
} |
||||
}, |
||||
"es6-symbol": { |
||||
"version": "3.1.3", |
||||
"resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", |
||||
"integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", |
||||
"requires": { |
||||
"d": "^1.0.1", |
||||
"ext": "^1.1.2" |
||||
} |
||||
}, |
||||
"evp_bytestokey": { |
||||
"version": "1.0.3", |
||||
"resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", |
||||
"integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", |
||||
"requires": { |
||||
"md5.js": "^1.3.4", |
||||
"safe-buffer": "^5.1.1" |
||||
} |
||||
}, |
||||
"ext": { |
||||
"version": "1.4.0", |
||||
"resolved": "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz", |
||||
"integrity": "sha512-Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A==", |
||||
"requires": { |
||||
"type": "^2.0.0" |
||||
}, |
||||
"dependencies": { |
||||
"type": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/type/-/type-2.1.0.tgz", |
||||
"integrity": "sha512-G9absDWvhAWCV2gmF1zKud3OyC61nZDwWvBL2DApaVFogI07CprggiQAOOjvp2NRjYWFzPyu7vwtDrQFq8jeSA==" |
||||
} |
||||
} |
||||
}, |
||||
"file-uri-to-path": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", |
||||
"integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" |
||||
}, |
||||
"hash-base": { |
||||
"version": "3.1.0", |
||||
"resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", |
||||
"integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", |
||||
"requires": { |
||||
"inherits": "^2.0.4", |
||||
"readable-stream": "^3.6.0", |
||||
"safe-buffer": "^5.2.0" |
||||
} |
||||
}, |
||||
"hash.js": { |
||||
"version": "1.1.7", |
||||
"resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", |
||||
"integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", |
||||
"requires": { |
||||
"inherits": "^2.0.3", |
||||
"minimalistic-assert": "^1.0.1" |
||||
} |
||||
}, |
||||
"hdkey": { |
||||
"version": "1.1.2", |
||||
"resolved": "https://registry.npmjs.org/hdkey/-/hdkey-1.1.2.tgz", |
||||
"integrity": "sha512-PTQ4VKu0oRnCrYfLp04iQZ7T2Cxz0UsEXYauk2j8eh6PJXCpbXuCFhOmtIFtbET0i3PMWmHN9J11gU8LEgUljQ==", |
||||
"requires": { |
||||
"bs58check": "^2.1.2", |
||||
"safe-buffer": "^5.1.1", |
||||
"secp256k1": "^3.0.1" |
||||
} |
||||
}, |
||||
"hmac-drbg": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", |
||||
"integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", |
||||
"requires": { |
||||
"hash.js": "^1.0.3", |
||||
"minimalistic-assert": "^1.0.0", |
||||
"minimalistic-crypto-utils": "^1.0.1" |
||||
} |
||||
}, |
||||
"inherits": { |
||||
"version": "2.0.4", |
||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", |
||||
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" |
||||
}, |
||||
"is-typedarray": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", |
||||
"integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" |
||||
}, |
||||
"js-sha3": { |
||||
"version": "0.8.0", |
||||
"resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", |
||||
"integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" |
||||
}, |
||||
"md5.js": { |
||||
"version": "1.3.5", |
||||
"resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", |
||||
"integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", |
||||
"requires": { |
||||
"hash-base": "^3.0.0", |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"minimalistic-assert": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", |
||||
"integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" |
||||
}, |
||||
"minimalistic-crypto-utils": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", |
||||
"integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" |
||||
}, |
||||
"mitt": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/mitt/-/mitt-1.2.0.tgz", |
||||
"integrity": "sha512-r6lj77KlwqLhIUku9UWYes7KJtsczvolZkzp8hbaDPPaE24OmWl5s539Mytlj22siEQKosZ26qCBgda2PKwoJw==" |
||||
}, |
||||
"ms": { |
||||
"version": "2.0.0", |
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", |
||||
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" |
||||
}, |
||||
"nan": { |
||||
"version": "2.14.2", |
||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", |
||||
"integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==" |
||||
}, |
||||
"next-tick": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", |
||||
"integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=" |
||||
}, |
||||
"node-fetch": { |
||||
"version": "2.6.1", |
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", |
||||
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" |
||||
}, |
||||
"node-gyp-build": { |
||||
"version": "3.7.0", |
||||
"resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-3.7.0.tgz", |
||||
"integrity": "sha512-L/Eg02Epx6Si2NXmedx+Okg+4UHqmaf3TNcxd50SF9NQGcJaON3AtU++kax69XV7YWz4tUspqZSAsVofhFKG2w==" |
||||
}, |
||||
"pbkdf2": { |
||||
"version": "3.1.1", |
||||
"resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.1.tgz", |
||||
"integrity": "sha512-4Ejy1OPxi9f2tt1rRV7Go7zmfDQ+ZectEQz3VGUQhgq62HtIRPDyG/JtnwIxs6x3uNMwo2V7q1fMvKjb+Tnpqg==", |
||||
"requires": { |
||||
"create-hash": "^1.1.2", |
||||
"create-hmac": "^1.1.4", |
||||
"ripemd160": "^2.0.1", |
||||
"safe-buffer": "^5.0.1", |
||||
"sha.js": "^2.4.8" |
||||
} |
||||
}, |
||||
"randombytes": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", |
||||
"integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", |
||||
"requires": { |
||||
"safe-buffer": "^5.1.0" |
||||
} |
||||
}, |
||||
"readable-stream": { |
||||
"version": "3.6.0", |
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", |
||||
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", |
||||
"requires": { |
||||
"inherits": "^2.0.3", |
||||
"string_decoder": "^1.1.1", |
||||
"util-deprecate": "^1.0.1" |
||||
} |
||||
}, |
||||
"ripemd160": { |
||||
"version": "2.0.2", |
||||
"resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", |
||||
"integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", |
||||
"requires": { |
||||
"hash-base": "^3.0.0", |
||||
"inherits": "^2.0.1" |
||||
} |
||||
}, |
||||
"safe-buffer": { |
||||
"version": "5.2.1", |
||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", |
||||
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" |
||||
}, |
||||
"scrypt-shim": { |
||||
"version": "github:web3-js/scrypt-shim#aafdadda13e660e25e1c525d1f5b2443f5eb1ebb", |
||||
"from": "github:web3-js/scrypt-shim", |
||||
"requires": { |
||||
"scryptsy": "^2.1.0", |
||||
"semver": "^6.3.0" |
||||
} |
||||
}, |
||||
"scryptsy": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/scryptsy/-/scryptsy-2.1.0.tgz", |
||||
"integrity": "sha512-1CdSqHQowJBnMAFyPEBRfqag/YP9OF394FV+4YREIJX4ljD7OxvQRDayyoyyCk+senRjSkP6VnUNQmVQqB6g7w==" |
||||
}, |
||||
"secp256k1": { |
||||
"version": "3.8.0", |
||||
"resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-3.8.0.tgz", |
||||
"integrity": "sha512-k5ke5avRZbtl9Tqx/SA7CbY3NF6Ro+Sj9cZxezFzuBlLDmyqPiL8hJJ+EmzD8Ig4LUDByHJ3/iPOVoRixs/hmw==", |
||||
"requires": { |
||||
"bindings": "^1.5.0", |
||||
"bip66": "^1.1.5", |
||||
"bn.js": "^4.11.8", |
||||
"create-hash": "^1.2.0", |
||||
"drbg.js": "^1.0.1", |
||||
"elliptic": "^6.5.2", |
||||
"nan": "^2.14.0", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"semver": { |
||||
"version": "6.3.0", |
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", |
||||
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" |
||||
}, |
||||
"sha.js": { |
||||
"version": "2.4.11", |
||||
"resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", |
||||
"integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", |
||||
"requires": { |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"string_decoder": { |
||||
"version": "1.3.0", |
||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", |
||||
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", |
||||
"requires": { |
||||
"safe-buffer": "~5.2.0" |
||||
} |
||||
}, |
||||
"text-encoding": { |
||||
"version": "0.7.0", |
||||
"resolved": "https://registry.npmjs.org/text-encoding/-/text-encoding-0.7.0.tgz", |
||||
"integrity": "sha512-oJQ3f1hrOnbRLOcwKz0Liq2IcrvDeZRHXhd9RgLrsT+DjWY/nty1Hi7v3dtkaEYbPYe0mUoOfzRrMwfXXwgPUA==" |
||||
}, |
||||
"type": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", |
||||
"integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==" |
||||
}, |
||||
"typedarray-to-buffer": { |
||||
"version": "3.1.5", |
||||
"resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", |
||||
"integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", |
||||
"requires": { |
||||
"is-typedarray": "^1.0.0" |
||||
} |
||||
}, |
||||
"unorm": { |
||||
"version": "1.6.0", |
||||
"resolved": "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz", |
||||
"integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==" |
||||
}, |
||||
"utf-8-validate": { |
||||
"version": "5.0.2", |
||||
"resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.2.tgz", |
||||
"integrity": "sha512-SwV++i2gTD5qh2XqaPzBnNX88N6HdyhQrNNRykvcS0QKvItV9u3vPEJr+X5Hhfb1JC0r0e1alL0iB09rY8+nmw==", |
||||
"requires": { |
||||
"node-gyp-build": "~3.7.0" |
||||
} |
||||
}, |
||||
"util-deprecate": { |
||||
"version": "1.0.2", |
||||
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", |
||||
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" |
||||
}, |
||||
"uuid": { |
||||
"version": "3.4.0", |
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", |
||||
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" |
||||
}, |
||||
"websocket": { |
||||
"version": "1.0.32", |
||||
"resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.32.tgz", |
||||
"integrity": "sha512-i4yhcllSP4wrpoPMU2N0TQ/q0O94LRG/eUQjEAamRltjQ1oT1PFFKOG4i877OlJgCG8rw6LrrowJp+TYCEWF7Q==", |
||||
"requires": { |
||||
"bufferutil": "^4.0.1", |
||||
"debug": "^2.2.0", |
||||
"es5-ext": "^0.10.50", |
||||
"typedarray-to-buffer": "^3.1.5", |
||||
"utf-8-validate": "^5.0.2", |
||||
"yaeti": "^0.0.6" |
||||
} |
||||
}, |
||||
"yaeti": { |
||||
"version": "0.0.6", |
||||
"resolved": "https://registry.npmjs.org/yaeti/-/yaeti-0.0.6.tgz", |
||||
"integrity": "sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc=" |
||||
} |
||||
} |
||||
} |
@ -1,613 +0,0 @@ |
||||
{ |
||||
"name": "@harmony-js/core", |
||||
"version": "0.1.57", |
||||
"lockfileVersion": 1, |
||||
"requires": true, |
||||
"dependencies": { |
||||
"@harmony-js/account": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/account/-/account-0.1.55.tgz", |
||||
"integrity": "sha512-fkVFd/Q1yVcA+W/Pn2yq6TBakpTsc/zg3+0fPB6LNBlERCu28tCHsTsHazpb9n/CSh6jUHoyy3cQPUBMggLRgg==", |
||||
"requires": { |
||||
"@harmony-js/core": "0.1.55", |
||||
"@harmony-js/crypto": "0.1.55", |
||||
"@harmony-js/network": "0.1.55", |
||||
"@harmony-js/staking": "0.1.55", |
||||
"@harmony-js/transaction": "0.1.55", |
||||
"@harmony-js/utils": "0.1.55" |
||||
} |
||||
}, |
||||
"@harmony-js/contract": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/contract/-/contract-0.1.55.tgz", |
||||
"integrity": "sha512-tX3k5zrB3cfkM2wF9Vw0fHfuFB5DdgTT22c1KUoupcZB2g3xiink2tgK2AP0nnDTvjFCj6Lg8gSoknBdX5i0LA==", |
||||
"requires": { |
||||
"@harmony-js/account": "0.1.55", |
||||
"@harmony-js/crypto": "0.1.55", |
||||
"@harmony-js/network": "0.1.55", |
||||
"@harmony-js/transaction": "0.1.55", |
||||
"@harmony-js/utils": "0.1.55" |
||||
} |
||||
}, |
||||
"@harmony-js/core": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/core/-/core-0.1.55.tgz", |
||||
"integrity": "sha512-fUGwtEvZtKNuAq83Jklfrbml8/NZKWMhMI//zvFRxO54NPOl6e1tbrN09Sxd3CX4v8iuWRjihtSyC8ex3VIStg==", |
||||
"requires": { |
||||
"@harmony-js/account": "0.1.55", |
||||
"@harmony-js/contract": "0.1.55", |
||||
"@harmony-js/crypto": "0.1.55", |
||||
"@harmony-js/network": "0.1.55", |
||||
"@harmony-js/staking": "0.1.55", |
||||
"@harmony-js/transaction": "0.1.55", |
||||
"@harmony-js/utils": "0.1.55" |
||||
} |
||||
}, |
||||
"@harmony-js/crypto": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/crypto/-/crypto-0.1.55.tgz", |
||||
"integrity": "sha512-Gpp6eGkhmdqz86uoYwE1d3pqVbpNkUQlO51ufjb8lzWVFt5N8t3tj14xVycU+TI1bioikWaFd0xsJfPlCo79nA==", |
||||
"requires": { |
||||
"@harmony-js/utils": "0.1.55", |
||||
"aes-js": "^3.1.2", |
||||
"bip39": "^2.5.0", |
||||
"bn.js": "^4.11.8", |
||||
"elliptic": "^6.4.1", |
||||
"hdkey": "^1.1.1", |
||||
"hmac-drbg": "^1.0.1", |
||||
"js-sha3": "^0.8.0", |
||||
"pbkdf2": "^3.0.17", |
||||
"scrypt-shim": "github:web3-js/scrypt-shim", |
||||
"uuid": "^3.3.2" |
||||
} |
||||
}, |
||||
"@harmony-js/network": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/network/-/network-0.1.55.tgz", |
||||
"integrity": "sha512-8Utx0tC7gjqF2Ipzibfze72KxxNBdMOPZipeqxDBbFJf9q8iK3G9i21fFIIZiwgBhoTsJ/Sn6BNDEv0E80yiaA==", |
||||
"requires": { |
||||
"@harmony-js/utils": "0.1.55", |
||||
"cross-fetch": "^3.0.2", |
||||
"mitt": "^1.2.0", |
||||
"websocket": "^1.0.28" |
||||
} |
||||
}, |
||||
"@harmony-js/staking": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/staking/-/staking-0.1.55.tgz", |
||||
"integrity": "sha512-cmnVcMc4g6XPXiaFPJTHS6Nwg6ZN7333EeCtj65OUi/L+LjYSR6M4spQfe6WdFsKXerYEUpiwT2Y1SalsPNHig==", |
||||
"requires": { |
||||
"@harmony-js/crypto": "0.1.55", |
||||
"@harmony-js/network": "0.1.55", |
||||
"@harmony-js/transaction": "0.1.55", |
||||
"@harmony-js/utils": "0.1.55", |
||||
"text-encoding": "^0.7.0" |
||||
} |
||||
}, |
||||
"@harmony-js/transaction": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/transaction/-/transaction-0.1.55.tgz", |
||||
"integrity": "sha512-kLrVON17lzj/aZR6kOJDKHwwFjKsaQtmD/DSG/WAVpgxh04B/NL0XsDUK/RD6hy6tHd04Pt+f47GNqcv7ZsrYA==", |
||||
"requires": { |
||||
"@harmony-js/crypto": "0.1.55", |
||||
"@harmony-js/network": "0.1.55", |
||||
"@harmony-js/utils": "0.1.55" |
||||
} |
||||
}, |
||||
"@harmony-js/utils": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/utils/-/utils-0.1.55.tgz", |
||||
"integrity": "sha512-CnV7I+eotS12JyV6jdkuP8Pz19o2utUKCiAN0r0ba+vWs1O59V7vPDUjPSFlxNEujQQGm6pby+JQVL8QZqytOg==", |
||||
"requires": { |
||||
"@types/bn.js": "^4.11.3", |
||||
"bn.js": "^4.11.8" |
||||
} |
||||
}, |
||||
"@types/bn.js": { |
||||
"version": "4.11.6", |
||||
"resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", |
||||
"integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", |
||||
"requires": { |
||||
"@types/node": "*" |
||||
} |
||||
}, |
||||
"@types/node": { |
||||
"version": "14.14.2", |
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.2.tgz", |
||||
"integrity": "sha512-jeYJU2kl7hL9U5xuI/BhKPZ4vqGM/OmK6whiFAXVhlstzZhVamWhDSmHyGLIp+RVyuF9/d0dqr2P85aFj4BvJg==" |
||||
}, |
||||
"aes-js": { |
||||
"version": "3.1.2", |
||||
"resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz", |
||||
"integrity": "sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ==" |
||||
}, |
||||
"base-x": { |
||||
"version": "3.0.8", |
||||
"resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.8.tgz", |
||||
"integrity": "sha512-Rl/1AWP4J/zRrk54hhlxH4drNxPJXYUaKffODVI53/dAsV4t9fBxyxYKAVPU1XBHxYwOWP9h9H0hM2MVw4YfJA==", |
||||
"requires": { |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"bindings": { |
||||
"version": "1.5.0", |
||||
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", |
||||
"integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", |
||||
"requires": { |
||||
"file-uri-to-path": "1.0.0" |
||||
} |
||||
}, |
||||
"bip39": { |
||||
"version": "2.6.0", |
||||
"resolved": "https://registry.npmjs.org/bip39/-/bip39-2.6.0.tgz", |
||||
"integrity": "sha512-RrnQRG2EgEoqO24ea+Q/fftuPUZLmrEM3qNhhGsA3PbaXaCW791LTzPuVyx/VprXQcTbPJ3K3UeTna8ZnVl2sg==", |
||||
"requires": { |
||||
"create-hash": "^1.1.0", |
||||
"pbkdf2": "^3.0.9", |
||||
"randombytes": "^2.0.1", |
||||
"safe-buffer": "^5.0.1", |
||||
"unorm": "^1.3.3" |
||||
} |
||||
}, |
||||
"bip66": { |
||||
"version": "1.1.5", |
||||
"resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz", |
||||
"integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=", |
||||
"requires": { |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"bn.js": { |
||||
"version": "4.11.9", |
||||
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", |
||||
"integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==" |
||||
}, |
||||
"brorand": { |
||||
"version": "1.1.0", |
||||
"resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", |
||||
"integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" |
||||
}, |
||||
"browserify-aes": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", |
||||
"integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", |
||||
"requires": { |
||||
"buffer-xor": "^1.0.3", |
||||
"cipher-base": "^1.0.0", |
||||
"create-hash": "^1.1.0", |
||||
"evp_bytestokey": "^1.0.3", |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"bs58": { |
||||
"version": "4.0.1", |
||||
"resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", |
||||
"integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", |
||||
"requires": { |
||||
"base-x": "^3.0.2" |
||||
} |
||||
}, |
||||
"bs58check": { |
||||
"version": "2.1.2", |
||||
"resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz", |
||||
"integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==", |
||||
"requires": { |
||||
"bs58": "^4.0.0", |
||||
"create-hash": "^1.1.0", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"buffer-xor": { |
||||
"version": "1.0.3", |
||||
"resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", |
||||
"integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" |
||||
}, |
||||
"bufferutil": { |
||||
"version": "4.0.1", |
||||
"resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.1.tgz", |
||||
"integrity": "sha512-xowrxvpxojqkagPcWRQVXZl0YXhRhAtBEIq3VoER1NH5Mw1n1o0ojdspp+GS2J//2gCVyrzQDApQ4unGF+QOoA==", |
||||
"requires": { |
||||
"node-gyp-build": "~3.7.0" |
||||
} |
||||
}, |
||||
"cipher-base": { |
||||
"version": "1.0.4", |
||||
"resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", |
||||
"integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", |
||||
"requires": { |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"create-hash": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", |
||||
"integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", |
||||
"requires": { |
||||
"cipher-base": "^1.0.1", |
||||
"inherits": "^2.0.1", |
||||
"md5.js": "^1.3.4", |
||||
"ripemd160": "^2.0.1", |
||||
"sha.js": "^2.4.0" |
||||
} |
||||
}, |
||||
"create-hmac": { |
||||
"version": "1.1.7", |
||||
"resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", |
||||
"integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", |
||||
"requires": { |
||||
"cipher-base": "^1.0.3", |
||||
"create-hash": "^1.1.0", |
||||
"inherits": "^2.0.1", |
||||
"ripemd160": "^2.0.0", |
||||
"safe-buffer": "^5.0.1", |
||||
"sha.js": "^2.4.8" |
||||
} |
||||
}, |
||||
"cross-fetch": { |
||||
"version": "3.0.6", |
||||
"resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.0.6.tgz", |
||||
"integrity": "sha512-KBPUbqgFjzWlVcURG+Svp9TlhA5uliYtiNx/0r8nv0pdypeQCRJ9IaSIc3q/x3q8t3F75cHuwxVql1HFGHCNJQ==", |
||||
"requires": { |
||||
"node-fetch": "2.6.1" |
||||
} |
||||
}, |
||||
"d": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", |
||||
"integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", |
||||
"requires": { |
||||
"es5-ext": "^0.10.50", |
||||
"type": "^1.0.1" |
||||
} |
||||
}, |
||||
"debug": { |
||||
"version": "2.6.9", |
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", |
||||
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", |
||||
"requires": { |
||||
"ms": "2.0.0" |
||||
} |
||||
}, |
||||
"drbg.js": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz", |
||||
"integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=", |
||||
"requires": { |
||||
"browserify-aes": "^1.0.6", |
||||
"create-hash": "^1.1.2", |
||||
"create-hmac": "^1.1.4" |
||||
} |
||||
}, |
||||
"elliptic": { |
||||
"version": "6.5.3", |
||||
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz", |
||||
"integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==", |
||||
"requires": { |
||||
"bn.js": "^4.4.0", |
||||
"brorand": "^1.0.1", |
||||
"hash.js": "^1.0.0", |
||||
"hmac-drbg": "^1.0.0", |
||||
"inherits": "^2.0.1", |
||||
"minimalistic-assert": "^1.0.0", |
||||
"minimalistic-crypto-utils": "^1.0.0" |
||||
} |
||||
}, |
||||
"es5-ext": { |
||||
"version": "0.10.53", |
||||
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz", |
||||
"integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==", |
||||
"requires": { |
||||
"es6-iterator": "~2.0.3", |
||||
"es6-symbol": "~3.1.3", |
||||
"next-tick": "~1.0.0" |
||||
} |
||||
}, |
||||
"es6-iterator": { |
||||
"version": "2.0.3", |
||||
"resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", |
||||
"integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", |
||||
"requires": { |
||||
"d": "1", |
||||
"es5-ext": "^0.10.35", |
||||
"es6-symbol": "^3.1.1" |
||||
} |
||||
}, |
||||
"es6-symbol": { |
||||
"version": "3.1.3", |
||||
"resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", |
||||
"integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", |
||||
"requires": { |
||||
"d": "^1.0.1", |
||||
"ext": "^1.1.2" |
||||
} |
||||
}, |
||||
"evp_bytestokey": { |
||||
"version": "1.0.3", |
||||
"resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", |
||||
"integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", |
||||
"requires": { |
||||
"md5.js": "^1.3.4", |
||||
"safe-buffer": "^5.1.1" |
||||
} |
||||
}, |
||||
"ext": { |
||||
"version": "1.4.0", |
||||
"resolved": "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz", |
||||
"integrity": "sha512-Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A==", |
||||
"requires": { |
||||
"type": "^2.0.0" |
||||
}, |
||||
"dependencies": { |
||||
"type": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/type/-/type-2.1.0.tgz", |
||||
"integrity": "sha512-G9absDWvhAWCV2gmF1zKud3OyC61nZDwWvBL2DApaVFogI07CprggiQAOOjvp2NRjYWFzPyu7vwtDrQFq8jeSA==" |
||||
} |
||||
} |
||||
}, |
||||
"file-uri-to-path": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", |
||||
"integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" |
||||
}, |
||||
"hash-base": { |
||||
"version": "3.1.0", |
||||
"resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", |
||||
"integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", |
||||
"requires": { |
||||
"inherits": "^2.0.4", |
||||
"readable-stream": "^3.6.0", |
||||
"safe-buffer": "^5.2.0" |
||||
} |
||||
}, |
||||
"hash.js": { |
||||
"version": "1.1.7", |
||||
"resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", |
||||
"integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", |
||||
"requires": { |
||||
"inherits": "^2.0.3", |
||||
"minimalistic-assert": "^1.0.1" |
||||
} |
||||
}, |
||||
"hdkey": { |
||||
"version": "1.1.2", |
||||
"resolved": "https://registry.npmjs.org/hdkey/-/hdkey-1.1.2.tgz", |
||||
"integrity": "sha512-PTQ4VKu0oRnCrYfLp04iQZ7T2Cxz0UsEXYauk2j8eh6PJXCpbXuCFhOmtIFtbET0i3PMWmHN9J11gU8LEgUljQ==", |
||||
"requires": { |
||||
"bs58check": "^2.1.2", |
||||
"safe-buffer": "^5.1.1", |
||||
"secp256k1": "^3.0.1" |
||||
} |
||||
}, |
||||
"hmac-drbg": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", |
||||
"integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", |
||||
"requires": { |
||||
"hash.js": "^1.0.3", |
||||
"minimalistic-assert": "^1.0.0", |
||||
"minimalistic-crypto-utils": "^1.0.1" |
||||
} |
||||
}, |
||||
"inherits": { |
||||
"version": "2.0.4", |
||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", |
||||
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" |
||||
}, |
||||
"is-typedarray": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", |
||||
"integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" |
||||
}, |
||||
"js-sha3": { |
||||
"version": "0.8.0", |
||||
"resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", |
||||
"integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" |
||||
}, |
||||
"md5.js": { |
||||
"version": "1.3.5", |
||||
"resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", |
||||
"integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", |
||||
"requires": { |
||||
"hash-base": "^3.0.0", |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"minimalistic-assert": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", |
||||
"integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" |
||||
}, |
||||
"minimalistic-crypto-utils": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", |
||||
"integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" |
||||
}, |
||||
"mitt": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/mitt/-/mitt-1.2.0.tgz", |
||||
"integrity": "sha512-r6lj77KlwqLhIUku9UWYes7KJtsczvolZkzp8hbaDPPaE24OmWl5s539Mytlj22siEQKosZ26qCBgda2PKwoJw==" |
||||
}, |
||||
"ms": { |
||||
"version": "2.0.0", |
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", |
||||
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" |
||||
}, |
||||
"nan": { |
||||
"version": "2.14.2", |
||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", |
||||
"integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==" |
||||
}, |
||||
"next-tick": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", |
||||
"integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=" |
||||
}, |
||||
"node-fetch": { |
||||
"version": "2.6.1", |
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", |
||||
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" |
||||
}, |
||||
"node-gyp-build": { |
||||
"version": "3.7.0", |
||||
"resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-3.7.0.tgz", |
||||
"integrity": "sha512-L/Eg02Epx6Si2NXmedx+Okg+4UHqmaf3TNcxd50SF9NQGcJaON3AtU++kax69XV7YWz4tUspqZSAsVofhFKG2w==" |
||||
}, |
||||
"pbkdf2": { |
||||
"version": "3.1.1", |
||||
"resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.1.tgz", |
||||
"integrity": "sha512-4Ejy1OPxi9f2tt1rRV7Go7zmfDQ+ZectEQz3VGUQhgq62HtIRPDyG/JtnwIxs6x3uNMwo2V7q1fMvKjb+Tnpqg==", |
||||
"requires": { |
||||
"create-hash": "^1.1.2", |
||||
"create-hmac": "^1.1.4", |
||||
"ripemd160": "^2.0.1", |
||||
"safe-buffer": "^5.0.1", |
||||
"sha.js": "^2.4.8" |
||||
} |
||||
}, |
||||
"randombytes": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", |
||||
"integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", |
||||
"requires": { |
||||
"safe-buffer": "^5.1.0" |
||||
} |
||||
}, |
||||
"readable-stream": { |
||||
"version": "3.6.0", |
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", |
||||
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", |
||||
"requires": { |
||||
"inherits": "^2.0.3", |
||||
"string_decoder": "^1.1.1", |
||||
"util-deprecate": "^1.0.1" |
||||
} |
||||
}, |
||||
"ripemd160": { |
||||
"version": "2.0.2", |
||||
"resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", |
||||
"integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", |
||||
"requires": { |
||||
"hash-base": "^3.0.0", |
||||
"inherits": "^2.0.1" |
||||
} |
||||
}, |
||||
"safe-buffer": { |
||||
"version": "5.2.1", |
||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", |
||||
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" |
||||
}, |
||||
"scrypt-shim": { |
||||
"version": "github:web3-js/scrypt-shim#aafdadda13e660e25e1c525d1f5b2443f5eb1ebb", |
||||
"from": "github:web3-js/scrypt-shim", |
||||
"requires": { |
||||
"scryptsy": "^2.1.0", |
||||
"semver": "^6.3.0" |
||||
} |
||||
}, |
||||
"scryptsy": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/scryptsy/-/scryptsy-2.1.0.tgz", |
||||
"integrity": "sha512-1CdSqHQowJBnMAFyPEBRfqag/YP9OF394FV+4YREIJX4ljD7OxvQRDayyoyyCk+senRjSkP6VnUNQmVQqB6g7w==" |
||||
}, |
||||
"secp256k1": { |
||||
"version": "3.8.0", |
||||
"resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-3.8.0.tgz", |
||||
"integrity": "sha512-k5ke5avRZbtl9Tqx/SA7CbY3NF6Ro+Sj9cZxezFzuBlLDmyqPiL8hJJ+EmzD8Ig4LUDByHJ3/iPOVoRixs/hmw==", |
||||
"requires": { |
||||
"bindings": "^1.5.0", |
||||
"bip66": "^1.1.5", |
||||
"bn.js": "^4.11.8", |
||||
"create-hash": "^1.2.0", |
||||
"drbg.js": "^1.0.1", |
||||
"elliptic": "^6.5.2", |
||||
"nan": "^2.14.0", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"semver": { |
||||
"version": "6.3.0", |
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", |
||||
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" |
||||
}, |
||||
"sha.js": { |
||||
"version": "2.4.11", |
||||
"resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", |
||||
"integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", |
||||
"requires": { |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"string_decoder": { |
||||
"version": "1.3.0", |
||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", |
||||
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", |
||||
"requires": { |
||||
"safe-buffer": "~5.2.0" |
||||
} |
||||
}, |
||||
"text-encoding": { |
||||
"version": "0.7.0", |
||||
"resolved": "https://registry.npmjs.org/text-encoding/-/text-encoding-0.7.0.tgz", |
||||
"integrity": "sha512-oJQ3f1hrOnbRLOcwKz0Liq2IcrvDeZRHXhd9RgLrsT+DjWY/nty1Hi7v3dtkaEYbPYe0mUoOfzRrMwfXXwgPUA==" |
||||
}, |
||||
"type": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", |
||||
"integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==" |
||||
}, |
||||
"typedarray-to-buffer": { |
||||
"version": "3.1.5", |
||||
"resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", |
||||
"integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", |
||||
"requires": { |
||||
"is-typedarray": "^1.0.0" |
||||
} |
||||
}, |
||||
"unorm": { |
||||
"version": "1.6.0", |
||||
"resolved": "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz", |
||||
"integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==" |
||||
}, |
||||
"utf-8-validate": { |
||||
"version": "5.0.2", |
||||
"resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.2.tgz", |
||||
"integrity": "sha512-SwV++i2gTD5qh2XqaPzBnNX88N6HdyhQrNNRykvcS0QKvItV9u3vPEJr+X5Hhfb1JC0r0e1alL0iB09rY8+nmw==", |
||||
"requires": { |
||||
"node-gyp-build": "~3.7.0" |
||||
} |
||||
}, |
||||
"util-deprecate": { |
||||
"version": "1.0.2", |
||||
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", |
||||
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" |
||||
}, |
||||
"uuid": { |
||||
"version": "3.4.0", |
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", |
||||
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" |
||||
}, |
||||
"websocket": { |
||||
"version": "1.0.32", |
||||
"resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.32.tgz", |
||||
"integrity": "sha512-i4yhcllSP4wrpoPMU2N0TQ/q0O94LRG/eUQjEAamRltjQ1oT1PFFKOG4i877OlJgCG8rw6LrrowJp+TYCEWF7Q==", |
||||
"requires": { |
||||
"bufferutil": "^4.0.1", |
||||
"debug": "^2.2.0", |
||||
"es5-ext": "^0.10.50", |
||||
"typedarray-to-buffer": "^3.1.5", |
||||
"utf-8-validate": "^5.0.2", |
||||
"yaeti": "^0.0.6" |
||||
} |
||||
}, |
||||
"yaeti": { |
||||
"version": "0.0.6", |
||||
"resolved": "https://registry.npmjs.org/yaeti/-/yaeti-0.0.6.tgz", |
||||
"integrity": "sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc=" |
||||
} |
||||
} |
||||
} |
@ -1,30 +0,0 @@ |
||||
{ |
||||
"name": "@harmony-js/core", |
||||
"version": "0.1.57", |
||||
"description": "harmony core package", |
||||
"main": "dist/index.js", |
||||
"node": "dist/index.js", |
||||
"browser": "dist/index.js", |
||||
"module": "dist/index.esm.js", |
||||
"jsnext:main": "dist/index.esm.js", |
||||
"typings": "dist/index.d.ts", |
||||
"types": "dist/index.d.ts", |
||||
"scripts": { |
||||
"test": "echo \"Error: no test specified\" && exit 1" |
||||
}, |
||||
"publishConfig": { |
||||
"access": "public" |
||||
}, |
||||
"author": "neeboo@firestack.one", |
||||
"license": "MIT", |
||||
"dependencies": { |
||||
"@harmony-js/account": "0.1.57", |
||||
"@harmony-js/contract": "0.1.56", |
||||
"@harmony-js/crypto": "0.1.56", |
||||
"@harmony-js/network": "0.1.56", |
||||
"@harmony-js/staking": "0.1.56", |
||||
"@harmony-js/transaction": "0.1.56", |
||||
"@harmony-js/utils": "0.1.56" |
||||
}, |
||||
"gitHead": "56606e9365721729a490c27d6a294e0daf90fbdf" |
||||
} |
@ -1,31 +0,0 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-core |
||||
* @hidden |
||||
*/ |
||||
|
||||
import { HttpProvider, Messenger } from '@harmony-js/network'; |
||||
import { TransactionFactory, Transaction } from '@harmony-js/transaction'; |
||||
import { Wallet, Account } from '@harmony-js/account'; |
||||
import { ChainType, ChainID } from '@harmony-js/utils'; |
||||
import { Blockchain } from './blockchain'; |
||||
|
||||
export interface HarmonyModule { |
||||
HttpProvider: HttpProvider; |
||||
Messenger: Messenger; |
||||
Blockchain: Blockchain; |
||||
TransactionFactory: TransactionFactory; |
||||
Wallet: Wallet; |
||||
Transaction: Transaction; |
||||
Account: Account; |
||||
} |
||||
|
||||
export enum UrlType { |
||||
http, |
||||
ws, |
||||
} |
||||
|
||||
export interface HarmonySetting<T extends ChainType, I extends ChainID> { |
||||
type: T; |
||||
id: I; |
||||
} |
@ -1,16 +0,0 @@ |
||||
{ |
||||
"extends": "../../tsconfig.base.json", |
||||
"compilerOptions": { |
||||
"rootDir": "src", |
||||
"outDir": "dist" |
||||
}, |
||||
"include": ["src", "../../typings/**/*.d.ts", "../harmony-utils/src/core.ts"], |
||||
"references": [ |
||||
{"path": "../harmony-account"}, |
||||
{"path": "../harmony-crypto"}, |
||||
{"path": "../harmony-utils"}, |
||||
{"path": "../harmony-network"}, |
||||
{"path": "../harmony-transaction"}, |
||||
{"path": "../harmony-contract"} |
||||
] |
||||
} |
@ -1,372 +0,0 @@ |
||||
{ |
||||
"name": "@harmony-js/crypto", |
||||
"version": "0.1.56", |
||||
"lockfileVersion": 1, |
||||
"requires": true, |
||||
"dependencies": { |
||||
"@harmony-js/utils": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/utils/-/utils-0.1.55.tgz", |
||||
"integrity": "sha512-CnV7I+eotS12JyV6jdkuP8Pz19o2utUKCiAN0r0ba+vWs1O59V7vPDUjPSFlxNEujQQGm6pby+JQVL8QZqytOg==", |
||||
"requires": { |
||||
"@types/bn.js": "^4.11.3", |
||||
"bn.js": "^4.11.8" |
||||
} |
||||
}, |
||||
"@types/bn.js": { |
||||
"version": "4.11.6", |
||||
"resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", |
||||
"integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", |
||||
"requires": { |
||||
"@types/node": "*" |
||||
} |
||||
}, |
||||
"@types/node": { |
||||
"version": "14.11.2", |
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.2.tgz", |
||||
"integrity": "sha512-jiE3QIxJ8JLNcb1Ps6rDbysDhN4xa8DJJvuC9prr6w+1tIh+QAbYyNF3tyiZNLDBIuBCf4KEcV2UvQm/V60xfA==" |
||||
}, |
||||
"aes-js": { |
||||
"version": "3.1.2", |
||||
"resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz", |
||||
"integrity": "sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ==" |
||||
}, |
||||
"base-x": { |
||||
"version": "3.0.8", |
||||
"resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.8.tgz", |
||||
"integrity": "sha512-Rl/1AWP4J/zRrk54hhlxH4drNxPJXYUaKffODVI53/dAsV4t9fBxyxYKAVPU1XBHxYwOWP9h9H0hM2MVw4YfJA==", |
||||
"requires": { |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"bindings": { |
||||
"version": "1.5.0", |
||||
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", |
||||
"integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", |
||||
"requires": { |
||||
"file-uri-to-path": "1.0.0" |
||||
} |
||||
}, |
||||
"bip39": { |
||||
"version": "2.6.0", |
||||
"resolved": "https://registry.npmjs.org/bip39/-/bip39-2.6.0.tgz", |
||||
"integrity": "sha512-RrnQRG2EgEoqO24ea+Q/fftuPUZLmrEM3qNhhGsA3PbaXaCW791LTzPuVyx/VprXQcTbPJ3K3UeTna8ZnVl2sg==", |
||||
"requires": { |
||||
"create-hash": "^1.1.0", |
||||
"pbkdf2": "^3.0.9", |
||||
"randombytes": "^2.0.1", |
||||
"safe-buffer": "^5.0.1", |
||||
"unorm": "^1.3.3" |
||||
} |
||||
}, |
||||
"bip66": { |
||||
"version": "1.1.5", |
||||
"resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz", |
||||
"integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=", |
||||
"requires": { |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"bn.js": { |
||||
"version": "4.11.8", |
||||
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", |
||||
"integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==" |
||||
}, |
||||
"brorand": { |
||||
"version": "1.1.0", |
||||
"resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", |
||||
"integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" |
||||
}, |
||||
"browserify-aes": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", |
||||
"integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", |
||||
"requires": { |
||||
"buffer-xor": "^1.0.3", |
||||
"cipher-base": "^1.0.0", |
||||
"create-hash": "^1.1.0", |
||||
"evp_bytestokey": "^1.0.3", |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"bs58": { |
||||
"version": "4.0.1", |
||||
"resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", |
||||
"integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", |
||||
"requires": { |
||||
"base-x": "^3.0.2" |
||||
} |
||||
}, |
||||
"bs58check": { |
||||
"version": "2.1.2", |
||||
"resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz", |
||||
"integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==", |
||||
"requires": { |
||||
"bs58": "^4.0.0", |
||||
"create-hash": "^1.1.0", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"buffer-xor": { |
||||
"version": "1.0.3", |
||||
"resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", |
||||
"integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" |
||||
}, |
||||
"cipher-base": { |
||||
"version": "1.0.4", |
||||
"resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", |
||||
"integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", |
||||
"requires": { |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"create-hash": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", |
||||
"integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", |
||||
"requires": { |
||||
"cipher-base": "^1.0.1", |
||||
"inherits": "^2.0.1", |
||||
"md5.js": "^1.3.4", |
||||
"ripemd160": "^2.0.1", |
||||
"sha.js": "^2.4.0" |
||||
} |
||||
}, |
||||
"create-hmac": { |
||||
"version": "1.1.7", |
||||
"resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", |
||||
"integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", |
||||
"requires": { |
||||
"cipher-base": "^1.0.3", |
||||
"create-hash": "^1.1.0", |
||||
"inherits": "^2.0.1", |
||||
"ripemd160": "^2.0.0", |
||||
"safe-buffer": "^5.0.1", |
||||
"sha.js": "^2.4.8" |
||||
} |
||||
}, |
||||
"drbg.js": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz", |
||||
"integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=", |
||||
"requires": { |
||||
"browserify-aes": "^1.0.6", |
||||
"create-hash": "^1.1.2", |
||||
"create-hmac": "^1.1.4" |
||||
} |
||||
}, |
||||
"elliptic": { |
||||
"version": "6.5.3", |
||||
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz", |
||||
"integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==", |
||||
"requires": { |
||||
"bn.js": "^4.4.0", |
||||
"brorand": "^1.0.1", |
||||
"hash.js": "^1.0.0", |
||||
"hmac-drbg": "^1.0.0", |
||||
"inherits": "^2.0.1", |
||||
"minimalistic-assert": "^1.0.0", |
||||
"minimalistic-crypto-utils": "^1.0.0" |
||||
} |
||||
}, |
||||
"evp_bytestokey": { |
||||
"version": "1.0.3", |
||||
"resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", |
||||
"integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", |
||||
"requires": { |
||||
"md5.js": "^1.3.4", |
||||
"safe-buffer": "^5.1.1" |
||||
} |
||||
}, |
||||
"file-uri-to-path": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", |
||||
"integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" |
||||
}, |
||||
"hash-base": { |
||||
"version": "3.1.0", |
||||
"resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", |
||||
"integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", |
||||
"requires": { |
||||
"inherits": "^2.0.4", |
||||
"readable-stream": "^3.6.0", |
||||
"safe-buffer": "^5.2.0" |
||||
} |
||||
}, |
||||
"hash.js": { |
||||
"version": "1.1.7", |
||||
"resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", |
||||
"integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", |
||||
"requires": { |
||||
"inherits": "^2.0.3", |
||||
"minimalistic-assert": "^1.0.1" |
||||
} |
||||
}, |
||||
"hdkey": { |
||||
"version": "1.1.2", |
||||
"resolved": "https://registry.npmjs.org/hdkey/-/hdkey-1.1.2.tgz", |
||||
"integrity": "sha512-PTQ4VKu0oRnCrYfLp04iQZ7T2Cxz0UsEXYauk2j8eh6PJXCpbXuCFhOmtIFtbET0i3PMWmHN9J11gU8LEgUljQ==", |
||||
"requires": { |
||||
"bs58check": "^2.1.2", |
||||
"safe-buffer": "^5.1.1", |
||||
"secp256k1": "^3.0.1" |
||||
} |
||||
}, |
||||
"hmac-drbg": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", |
||||
"integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", |
||||
"requires": { |
||||
"hash.js": "^1.0.3", |
||||
"minimalistic-assert": "^1.0.0", |
||||
"minimalistic-crypto-utils": "^1.0.1" |
||||
} |
||||
}, |
||||
"inherits": { |
||||
"version": "2.0.4", |
||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", |
||||
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" |
||||
}, |
||||
"js-sha3": { |
||||
"version": "0.8.0", |
||||
"resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", |
||||
"integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" |
||||
}, |
||||
"md5.js": { |
||||
"version": "1.3.5", |
||||
"resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", |
||||
"integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", |
||||
"requires": { |
||||
"hash-base": "^3.0.0", |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"minimalistic-assert": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", |
||||
"integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" |
||||
}, |
||||
"minimalistic-crypto-utils": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", |
||||
"integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" |
||||
}, |
||||
"nan": { |
||||
"version": "2.14.1", |
||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.14.1.tgz", |
||||
"integrity": "sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==" |
||||
}, |
||||
"pbkdf2": { |
||||
"version": "3.0.17", |
||||
"resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.17.tgz", |
||||
"integrity": "sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA==", |
||||
"requires": { |
||||
"create-hash": "^1.1.2", |
||||
"create-hmac": "^1.1.4", |
||||
"ripemd160": "^2.0.1", |
||||
"safe-buffer": "^5.0.1", |
||||
"sha.js": "^2.4.8" |
||||
} |
||||
}, |
||||
"randombytes": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", |
||||
"integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", |
||||
"requires": { |
||||
"safe-buffer": "^5.1.0" |
||||
} |
||||
}, |
||||
"readable-stream": { |
||||
"version": "3.6.0", |
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", |
||||
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", |
||||
"requires": { |
||||
"inherits": "^2.0.3", |
||||
"string_decoder": "^1.1.1", |
||||
"util-deprecate": "^1.0.1" |
||||
} |
||||
}, |
||||
"ripemd160": { |
||||
"version": "2.0.2", |
||||
"resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", |
||||
"integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", |
||||
"requires": { |
||||
"hash-base": "^3.0.0", |
||||
"inherits": "^2.0.1" |
||||
} |
||||
}, |
||||
"safe-buffer": { |
||||
"version": "5.2.0", |
||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz", |
||||
"integrity": "sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==" |
||||
}, |
||||
"scrypt-shim": { |
||||
"version": "github:web3-js/scrypt-shim#aafdadda13e660e25e1c525d1f5b2443f5eb1ebb", |
||||
"from": "github:web3-js/scrypt-shim", |
||||
"requires": { |
||||
"scryptsy": "^2.1.0", |
||||
"semver": "^6.3.0" |
||||
} |
||||
}, |
||||
"scryptsy": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/scryptsy/-/scryptsy-2.1.0.tgz", |
||||
"integrity": "sha512-1CdSqHQowJBnMAFyPEBRfqag/YP9OF394FV+4YREIJX4ljD7OxvQRDayyoyyCk+senRjSkP6VnUNQmVQqB6g7w==" |
||||
}, |
||||
"secp256k1": { |
||||
"version": "3.8.0", |
||||
"resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-3.8.0.tgz", |
||||
"integrity": "sha512-k5ke5avRZbtl9Tqx/SA7CbY3NF6Ro+Sj9cZxezFzuBlLDmyqPiL8hJJ+EmzD8Ig4LUDByHJ3/iPOVoRixs/hmw==", |
||||
"requires": { |
||||
"bindings": "^1.5.0", |
||||
"bip66": "^1.1.5", |
||||
"bn.js": "^4.11.8", |
||||
"create-hash": "^1.2.0", |
||||
"drbg.js": "^1.0.1", |
||||
"elliptic": "^6.5.2", |
||||
"nan": "^2.14.0", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"semver": { |
||||
"version": "6.3.0", |
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", |
||||
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" |
||||
}, |
||||
"sha.js": { |
||||
"version": "2.4.11", |
||||
"resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", |
||||
"integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", |
||||
"requires": { |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"string_decoder": { |
||||
"version": "1.3.0", |
||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", |
||||
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", |
||||
"requires": { |
||||
"safe-buffer": "~5.2.0" |
||||
} |
||||
}, |
||||
"unorm": { |
||||
"version": "1.6.0", |
||||
"resolved": "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz", |
||||
"integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==" |
||||
}, |
||||
"util-deprecate": { |
||||
"version": "1.0.2", |
||||
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", |
||||
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" |
||||
}, |
||||
"uuid": { |
||||
"version": "3.4.0", |
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", |
||||
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" |
||||
} |
||||
} |
||||
} |
@ -1,170 +0,0 @@ |
||||
{ |
||||
"name": "@harmony-js/network", |
||||
"version": "0.1.56", |
||||
"lockfileVersion": 1, |
||||
"requires": true, |
||||
"dependencies": { |
||||
"@harmony-js/utils": { |
||||
"version": "0.1.54", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/utils/-/utils-0.1.54.tgz", |
||||
"integrity": "sha512-+LzQrcOoNqi+ehcElXQABHUXyJl9XXkLWUn9oghYLctwRuF4xHmsyzOa5cNLzAuxuK/j/VfPHT4jZ+banevZjw==", |
||||
"requires": { |
||||
"@types/bn.js": "^4.11.3", |
||||
"bn.js": "^4.11.8" |
||||
} |
||||
}, |
||||
"@types/bn.js": { |
||||
"version": "4.11.6", |
||||
"resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", |
||||
"integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", |
||||
"requires": { |
||||
"@types/node": "*" |
||||
} |
||||
}, |
||||
"@types/node": { |
||||
"version": "14.6.4", |
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.6.4.tgz", |
||||
"integrity": "sha512-Wk7nG1JSaMfMpoMJDKUsWYugliB2Vy55pdjLpmLixeyMi7HizW2I/9QoxsPCkXl3dO+ZOVqPumKaDUv5zJu2uQ==" |
||||
}, |
||||
"bn.js": { |
||||
"version": "4.11.9", |
||||
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", |
||||
"integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==" |
||||
}, |
||||
"cross-fetch": { |
||||
"version": "3.0.4", |
||||
"resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.0.4.tgz", |
||||
"integrity": "sha512-MSHgpjQqgbT/94D4CyADeNoYh52zMkCX4pcJvPP5WqPsLFMKjr2TCMg381ox5qI0ii2dPwaLx/00477knXqXVw==", |
||||
"requires": { |
||||
"node-fetch": "2.6.0", |
||||
"whatwg-fetch": "3.0.0" |
||||
} |
||||
}, |
||||
"d": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", |
||||
"integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", |
||||
"requires": { |
||||
"es5-ext": "^0.10.50", |
||||
"type": "^1.0.1" |
||||
} |
||||
}, |
||||
"debug": { |
||||
"version": "2.6.9", |
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", |
||||
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", |
||||
"requires": { |
||||
"ms": "2.0.0" |
||||
} |
||||
}, |
||||
"es5-ext": { |
||||
"version": "0.10.53", |
||||
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz", |
||||
"integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==", |
||||
"requires": { |
||||
"es6-iterator": "~2.0.3", |
||||
"es6-symbol": "~3.1.3", |
||||
"next-tick": "~1.0.0" |
||||
} |
||||
}, |
||||
"es6-iterator": { |
||||
"version": "2.0.3", |
||||
"resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", |
||||
"integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", |
||||
"requires": { |
||||
"d": "1", |
||||
"es5-ext": "^0.10.35", |
||||
"es6-symbol": "^3.1.1" |
||||
} |
||||
}, |
||||
"es6-symbol": { |
||||
"version": "3.1.3", |
||||
"resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", |
||||
"integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", |
||||
"requires": { |
||||
"d": "^1.0.1", |
||||
"ext": "^1.1.2" |
||||
} |
||||
}, |
||||
"ext": { |
||||
"version": "1.4.0", |
||||
"resolved": "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz", |
||||
"integrity": "sha512-Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A==", |
||||
"requires": { |
||||
"type": "^2.0.0" |
||||
}, |
||||
"dependencies": { |
||||
"type": { |
||||
"version": "2.0.0", |
||||
"resolved": "https://registry.npmjs.org/type/-/type-2.0.0.tgz", |
||||
"integrity": "sha512-KBt58xCHry4Cejnc2ISQAF7QY+ORngsWfxezO68+12hKV6lQY8P/psIkcbjeHWn7MqcgciWJyCCevFMJdIXpow==" |
||||
} |
||||
} |
||||
}, |
||||
"is-typedarray": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", |
||||
"integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" |
||||
}, |
||||
"mitt": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/mitt/-/mitt-1.2.0.tgz", |
||||
"integrity": "sha512-r6lj77KlwqLhIUku9UWYes7KJtsczvolZkzp8hbaDPPaE24OmWl5s539Mytlj22siEQKosZ26qCBgda2PKwoJw==" |
||||
}, |
||||
"ms": { |
||||
"version": "2.0.0", |
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", |
||||
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" |
||||
}, |
||||
"nan": { |
||||
"version": "2.14.1", |
||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.14.1.tgz", |
||||
"integrity": "sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==" |
||||
}, |
||||
"next-tick": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", |
||||
"integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=" |
||||
}, |
||||
"node-fetch": { |
||||
"version": "2.6.0", |
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", |
||||
"integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==" |
||||
}, |
||||
"type": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", |
||||
"integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==" |
||||
}, |
||||
"typedarray-to-buffer": { |
||||
"version": "3.1.5", |
||||
"resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", |
||||
"integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", |
||||
"requires": { |
||||
"is-typedarray": "^1.0.0" |
||||
} |
||||
}, |
||||
"websocket": { |
||||
"version": "1.0.31", |
||||
"resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.31.tgz", |
||||
"integrity": "sha512-VAouplvGKPiKFDTeCCO65vYHsyay8DqoBSlzIO3fayrfOgU94lQN5a1uWVnFrMLceTJw/+fQXR5PGbUVRaHshQ==", |
||||
"requires": { |
||||
"debug": "^2.2.0", |
||||
"es5-ext": "^0.10.50", |
||||
"nan": "^2.14.0", |
||||
"typedarray-to-buffer": "^3.1.5", |
||||
"yaeti": "^0.0.6" |
||||
} |
||||
}, |
||||
"whatwg-fetch": { |
||||
"version": "3.0.0", |
||||
"resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz", |
||||
"integrity": "sha512-9GSJUgz1D4MfyKU7KRqwOjXCXTqWdFNvEr7eUBYchQiVc744mqK/MzXPNR2WsPkmkOa4ywfg8C2n8h+13Bey1Q==" |
||||
}, |
||||
"yaeti": { |
||||
"version": "0.0.6", |
||||
"resolved": "https://registry.npmjs.org/yaeti/-/yaeti-0.0.6.tgz", |
||||
"integrity": "sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc=" |
||||
} |
||||
} |
||||
} |
@ -1,136 +0,0 @@ |
||||
/** |
||||
# @harmony-js/network |
||||
|
||||
This package provides a collection of apis to create messengers (HTTP, WebSocket) to connect to blockchain networks. |
||||
|
||||
## Installation |
||||
|
||||
``` |
||||
npm install @harmony-js/network |
||||
``` |
||||
|
||||
## Usage |
||||
|
||||
```javascript
|
||||
const { Messenger, HttpProvider, WSProvider } = require('@harmony-js/network'); |
||||
const { ChainID, ChainType } = require('@harmony-js/utils'); |
||||
const testnetHTTP = 'https://api.s0.b.hmny.io'; |
||||
const testnetWS = 'wss://ws.s0.b.hmny.io'; |
||||
const localHTTP = 'http://localhost:9500/'; |
||||
const localWS = 'http://localhost:9800/'; |
||||
const http = new HttpProvider(testnetHTTP); // for local use localHTTP
|
||||
const ws = new WSProvider(testnetWS); // for local use testnetWS
|
||||
const customHTTPMessenger = new Messenger(http, ChainType.Harmony, ChainID.HmyTestnet); // for local ChainID.HmyLocal
|
||||
const customWSMessenger = new Messenger(ws, ChainType.Harmony, ChainID.HmyTestnet); // for local ChainID.HmyLocal
|
||||
``` |
||||
* |
||||
* @packageDocumentation |
||||
* @module harmony-network |
||||
*/ |
||||
|
||||
/**@ignore */ |
||||
export enum RPCMethod { |
||||
// 1. hmy_getBlockByHash
|
||||
GetBlockByHash = 'hmy_getBlockByHash', |
||||
// 2. hmy_getBlockByNumber
|
||||
GetBlockByNumber = 'hmy_getBlockByNumber', |
||||
// 3. hmy_getBlockTransactionCountByHash
|
||||
GetBlockTransactionCountByHash = 'hmy_getBlockTransactionCountByHash', |
||||
// 4. hmy_getBlockTransactionCountByNumber
|
||||
GetBlockTransactionCountByNumber = 'hmy_getBlockTransactionCountByNumber', |
||||
// 5. hmy_getCode
|
||||
GetCode = 'hmy_getCode', |
||||
// 6. hmy_getTransactionByBlockHashAndIndex
|
||||
GetTransactionByBlockHashAndIndex = 'hmy_getTransactionByBlockHashAndIndex', |
||||
// 7. hmy_getTransactionByBlockNumberAndIndex
|
||||
GetTransactionByBlockNumberAndIndex = 'hmy_getTransactionByBlockNumberAndIndex', |
||||
// 8. hmy_getTransactionByHash
|
||||
GetTransactionByHash = 'hmy_getTransactionByHash', |
||||
|
||||
GetTransactionReceipt = 'hmy_getTransactionReceipt', |
||||
|
||||
GetCXReceiptByHash = 'hmy_getCXReceiptByHash', |
||||
// 9. hmy_syncing
|
||||
Syncing = 'hmy_syncing', |
||||
// 10. net_peerCount
|
||||
PeerCount = 'net_peerCount', |
||||
|
||||
// 11. hmy_getBalance
|
||||
GetBalance = 'hmy_getBalance', |
||||
// 12. hmy_getStorageAt
|
||||
GetStorageAt = 'hmy_getStorageAt', |
||||
// 13. hmy_getTransactionCount
|
||||
GetTransactionCount = 'hmy_getTransactionCount', |
||||
// 14. hmy_sendTransaction
|
||||
SendTransaction = 'hmy_sendTransaction', |
||||
// 15. hmy_sendRawTransaction
|
||||
SendRawTransaction = 'hmy_sendRawTransaction', |
||||
// 16. hmy_subscribe
|
||||
Subscribe = 'hmy_subscribe', |
||||
// 17. hmy_getlogs
|
||||
GetPastLogs = 'hmy_getLogs', |
||||
// 18. hmy_getWork
|
||||
GetWork = 'hmy_getWork', |
||||
// 19. hmy_submitWork
|
||||
// SubmitWork = 'hmy_submitWork',
|
||||
// 20. hmy_getProof
|
||||
GetProof = 'hmy_getProof', |
||||
// 21, hmy_getFilterChanges
|
||||
GetFilterChanges = 'hmy_getFilterChanges', |
||||
// 22. hmy_newPendingTransactionFilter
|
||||
NewPendingTransactionFilter = 'hmy_newPendingTransactionFilter', |
||||
// 23. hmy_newBlockFilter
|
||||
NewBlockFilter = 'hmy_newBlockFilter', |
||||
// 24. hmy_newFilter
|
||||
NewFilter = 'hmy_newFilter', |
||||
// 25. hmy_call
|
||||
Call = 'hmy_call', |
||||
// 26. hmy_estimateGas
|
||||
EstimateGas = 'hmy_estimateGas', |
||||
// 27. hmy_gasPrice
|
||||
GasPrice = 'hmy_gasPrice', |
||||
// 28. hmy_blockNumber
|
||||
BlockNumber = 'hmy_blockNumber', |
||||
// 29. hmy_unsubscribe
|
||||
UnSubscribe = 'hmy_unsubscribe', |
||||
// 30. net_version
|
||||
NetVersion = 'net_version', |
||||
// 31. hmy_protocolVersion
|
||||
ProtocolVersion = 'hmy_protocolVersion', |
||||
// 32. hmy_getShardingStructure
|
||||
GetShardingStructure = 'hmy_getShardingStructure', |
||||
// 33. hmy_sendRawStakingTransaction
|
||||
SendRawStakingTransaction = 'hmy_sendRawStakingTransaction', |
||||
// 34. hmy_getAccountNonce
|
||||
GetAccountNonce = 'hmy_getAccountNonce', |
||||
// 35. hmy_getBlocks
|
||||
GetBlocks = 'hmy_getBlocks', |
||||
} |
||||
|
||||
/**@ignore */ |
||||
export enum RPCErrorCode { |
||||
// Standard JSON-RPC 2.0 errors
|
||||
// RPC_INVALID_REQUEST is internally mapped to HTTP_BAD_REQUEST (400).
|
||||
// It should not be used for application-layer errors.
|
||||
RPC_INVALID_REQUEST = -32600, |
||||
// RPC_METHOD_NOT_FOUND is internally mapped to HTTP_NOT_FOUND (404).
|
||||
// It should not be used for application-layer errors.
|
||||
RPC_METHOD_NOT_FOUND = -32601, |
||||
RPC_INVALID_PARAMS = -32602, |
||||
// RPC_INTERNAL_ERROR should only be used for genuine errors in bitcoind
|
||||
// (for example datadir corruption).
|
||||
RPC_INTERNAL_ERROR = -32603, |
||||
RPC_PARSE_ERROR = -32700, |
||||
|
||||
// General application defined errors
|
||||
RPC_MISC_ERROR = -1, // std::exception thrown in command handling
|
||||
RPC_TYPE_ERROR = -3, // Unexpected type was passed as parameter
|
||||
RPC_INVALID_ADDRESS_OR_KEY = -5, // Invalid address or key
|
||||
RPC_INVALID_PARAMETER = -8, // Invalid, missing or duplicate parameter
|
||||
RPC_DATABASE_ERROR = -20, // Database error
|
||||
RPC_DESERIALIZATION_ERROR = -22, // Error parsing or validating structure in raw format
|
||||
RPC_VERIFY_ERROR = -25, // General error during transaction or block submission
|
||||
RPC_VERIFY_REJECTED = -26, // Transaction or block was rejected by network rules
|
||||
RPC_IN_WARMUP = -28, // Client still warming up
|
||||
RPC_METHOD_DEPRECATED = -32, // RPC method is deprecated
|
||||
} |
@ -1,562 +0,0 @@ |
||||
{ |
||||
"name": "@harmony-js/staking", |
||||
"version": "0.1.56", |
||||
"lockfileVersion": 1, |
||||
"requires": true, |
||||
"dependencies": { |
||||
"@harmony-js/crypto": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/crypto/-/crypto-0.1.55.tgz", |
||||
"integrity": "sha512-Gpp6eGkhmdqz86uoYwE1d3pqVbpNkUQlO51ufjb8lzWVFt5N8t3tj14xVycU+TI1bioikWaFd0xsJfPlCo79nA==", |
||||
"requires": { |
||||
"@harmony-js/utils": "0.1.55", |
||||
"aes-js": "^3.1.2", |
||||
"bip39": "^2.5.0", |
||||
"bn.js": "^4.11.8", |
||||
"elliptic": "^6.4.1", |
||||
"hdkey": "^1.1.1", |
||||
"hmac-drbg": "^1.0.1", |
||||
"js-sha3": "^0.8.0", |
||||
"pbkdf2": "^3.0.17", |
||||
"scrypt-shim": "github:web3-js/scrypt-shim", |
||||
"uuid": "^3.3.2" |
||||
} |
||||
}, |
||||
"@harmony-js/network": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/network/-/network-0.1.55.tgz", |
||||
"integrity": "sha512-8Utx0tC7gjqF2Ipzibfze72KxxNBdMOPZipeqxDBbFJf9q8iK3G9i21fFIIZiwgBhoTsJ/Sn6BNDEv0E80yiaA==", |
||||
"requires": { |
||||
"@harmony-js/utils": "0.1.55", |
||||
"cross-fetch": "^3.0.2", |
||||
"mitt": "^1.2.0", |
||||
"websocket": "^1.0.28" |
||||
} |
||||
}, |
||||
"@harmony-js/transaction": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/transaction/-/transaction-0.1.55.tgz", |
||||
"integrity": "sha512-kLrVON17lzj/aZR6kOJDKHwwFjKsaQtmD/DSG/WAVpgxh04B/NL0XsDUK/RD6hy6tHd04Pt+f47GNqcv7ZsrYA==", |
||||
"requires": { |
||||
"@harmony-js/crypto": "0.1.55", |
||||
"@harmony-js/network": "0.1.55", |
||||
"@harmony-js/utils": "0.1.55" |
||||
} |
||||
}, |
||||
"@harmony-js/utils": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/utils/-/utils-0.1.55.tgz", |
||||
"integrity": "sha512-CnV7I+eotS12JyV6jdkuP8Pz19o2utUKCiAN0r0ba+vWs1O59V7vPDUjPSFlxNEujQQGm6pby+JQVL8QZqytOg==", |
||||
"requires": { |
||||
"@types/bn.js": "^4.11.3", |
||||
"bn.js": "^4.11.8" |
||||
} |
||||
}, |
||||
"@types/bn.js": { |
||||
"version": "4.11.6", |
||||
"resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", |
||||
"integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", |
||||
"requires": { |
||||
"@types/node": "*" |
||||
} |
||||
}, |
||||
"@types/node": { |
||||
"version": "14.11.2", |
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.2.tgz", |
||||
"integrity": "sha512-jiE3QIxJ8JLNcb1Ps6rDbysDhN4xa8DJJvuC9prr6w+1tIh+QAbYyNF3tyiZNLDBIuBCf4KEcV2UvQm/V60xfA==" |
||||
}, |
||||
"aes-js": { |
||||
"version": "3.1.2", |
||||
"resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz", |
||||
"integrity": "sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ==" |
||||
}, |
||||
"base-x": { |
||||
"version": "3.0.8", |
||||
"resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.8.tgz", |
||||
"integrity": "sha512-Rl/1AWP4J/zRrk54hhlxH4drNxPJXYUaKffODVI53/dAsV4t9fBxyxYKAVPU1XBHxYwOWP9h9H0hM2MVw4YfJA==", |
||||
"requires": { |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"bindings": { |
||||
"version": "1.5.0", |
||||
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", |
||||
"integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", |
||||
"requires": { |
||||
"file-uri-to-path": "1.0.0" |
||||
} |
||||
}, |
||||
"bip39": { |
||||
"version": "2.6.0", |
||||
"resolved": "https://registry.npmjs.org/bip39/-/bip39-2.6.0.tgz", |
||||
"integrity": "sha512-RrnQRG2EgEoqO24ea+Q/fftuPUZLmrEM3qNhhGsA3PbaXaCW791LTzPuVyx/VprXQcTbPJ3K3UeTna8ZnVl2sg==", |
||||
"requires": { |
||||
"create-hash": "^1.1.0", |
||||
"pbkdf2": "^3.0.9", |
||||
"randombytes": "^2.0.1", |
||||
"safe-buffer": "^5.0.1", |
||||
"unorm": "^1.3.3" |
||||
} |
||||
}, |
||||
"bip66": { |
||||
"version": "1.1.5", |
||||
"resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz", |
||||
"integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=", |
||||
"requires": { |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"bn.js": { |
||||
"version": "4.11.9", |
||||
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", |
||||
"integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==" |
||||
}, |
||||
"brorand": { |
||||
"version": "1.1.0", |
||||
"resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", |
||||
"integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" |
||||
}, |
||||
"browserify-aes": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", |
||||
"integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", |
||||
"requires": { |
||||
"buffer-xor": "^1.0.3", |
||||
"cipher-base": "^1.0.0", |
||||
"create-hash": "^1.1.0", |
||||
"evp_bytestokey": "^1.0.3", |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"bs58": { |
||||
"version": "4.0.1", |
||||
"resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", |
||||
"integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", |
||||
"requires": { |
||||
"base-x": "^3.0.2" |
||||
} |
||||
}, |
||||
"bs58check": { |
||||
"version": "2.1.2", |
||||
"resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz", |
||||
"integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==", |
||||
"requires": { |
||||
"bs58": "^4.0.0", |
||||
"create-hash": "^1.1.0", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"buffer-xor": { |
||||
"version": "1.0.3", |
||||
"resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", |
||||
"integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" |
||||
}, |
||||
"bufferutil": { |
||||
"version": "4.0.1", |
||||
"resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.1.tgz", |
||||
"integrity": "sha512-xowrxvpxojqkagPcWRQVXZl0YXhRhAtBEIq3VoER1NH5Mw1n1o0ojdspp+GS2J//2gCVyrzQDApQ4unGF+QOoA==", |
||||
"requires": { |
||||
"node-gyp-build": "~3.7.0" |
||||
} |
||||
}, |
||||
"cipher-base": { |
||||
"version": "1.0.4", |
||||
"resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", |
||||
"integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", |
||||
"requires": { |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"create-hash": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", |
||||
"integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", |
||||
"requires": { |
||||
"cipher-base": "^1.0.1", |
||||
"inherits": "^2.0.1", |
||||
"md5.js": "^1.3.4", |
||||
"ripemd160": "^2.0.1", |
||||
"sha.js": "^2.4.0" |
||||
} |
||||
}, |
||||
"create-hmac": { |
||||
"version": "1.1.7", |
||||
"resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", |
||||
"integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", |
||||
"requires": { |
||||
"cipher-base": "^1.0.3", |
||||
"create-hash": "^1.1.0", |
||||
"inherits": "^2.0.1", |
||||
"ripemd160": "^2.0.0", |
||||
"safe-buffer": "^5.0.1", |
||||
"sha.js": "^2.4.8" |
||||
} |
||||
}, |
||||
"cross-fetch": { |
||||
"version": "3.0.6", |
||||
"resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.0.6.tgz", |
||||
"integrity": "sha512-KBPUbqgFjzWlVcURG+Svp9TlhA5uliYtiNx/0r8nv0pdypeQCRJ9IaSIc3q/x3q8t3F75cHuwxVql1HFGHCNJQ==", |
||||
"requires": { |
||||
"node-fetch": "2.6.1" |
||||
} |
||||
}, |
||||
"d": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", |
||||
"integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", |
||||
"requires": { |
||||
"es5-ext": "^0.10.50", |
||||
"type": "^1.0.1" |
||||
} |
||||
}, |
||||
"debug": { |
||||
"version": "2.6.9", |
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", |
||||
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", |
||||
"requires": { |
||||
"ms": "2.0.0" |
||||
} |
||||
}, |
||||
"drbg.js": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz", |
||||
"integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=", |
||||
"requires": { |
||||
"browserify-aes": "^1.0.6", |
||||
"create-hash": "^1.1.2", |
||||
"create-hmac": "^1.1.4" |
||||
} |
||||
}, |
||||
"elliptic": { |
||||
"version": "6.5.3", |
||||
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz", |
||||
"integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==", |
||||
"requires": { |
||||
"bn.js": "^4.4.0", |
||||
"brorand": "^1.0.1", |
||||
"hash.js": "^1.0.0", |
||||
"hmac-drbg": "^1.0.0", |
||||
"inherits": "^2.0.1", |
||||
"minimalistic-assert": "^1.0.0", |
||||
"minimalistic-crypto-utils": "^1.0.0" |
||||
} |
||||
}, |
||||
"es5-ext": { |
||||
"version": "0.10.53", |
||||
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz", |
||||
"integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==", |
||||
"requires": { |
||||
"es6-iterator": "~2.0.3", |
||||
"es6-symbol": "~3.1.3", |
||||
"next-tick": "~1.0.0" |
||||
} |
||||
}, |
||||
"es6-iterator": { |
||||
"version": "2.0.3", |
||||
"resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", |
||||
"integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", |
||||
"requires": { |
||||
"d": "1", |
||||
"es5-ext": "^0.10.35", |
||||
"es6-symbol": "^3.1.1" |
||||
} |
||||
}, |
||||
"es6-symbol": { |
||||
"version": "3.1.3", |
||||
"resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", |
||||
"integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", |
||||
"requires": { |
||||
"d": "^1.0.1", |
||||
"ext": "^1.1.2" |
||||
} |
||||
}, |
||||
"evp_bytestokey": { |
||||
"version": "1.0.3", |
||||
"resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", |
||||
"integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", |
||||
"requires": { |
||||
"md5.js": "^1.3.4", |
||||
"safe-buffer": "^5.1.1" |
||||
} |
||||
}, |
||||
"ext": { |
||||
"version": "1.4.0", |
||||
"resolved": "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz", |
||||
"integrity": "sha512-Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A==", |
||||
"requires": { |
||||
"type": "^2.0.0" |
||||
}, |
||||
"dependencies": { |
||||
"type": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/type/-/type-2.1.0.tgz", |
||||
"integrity": "sha512-G9absDWvhAWCV2gmF1zKud3OyC61nZDwWvBL2DApaVFogI07CprggiQAOOjvp2NRjYWFzPyu7vwtDrQFq8jeSA==" |
||||
} |
||||
} |
||||
}, |
||||
"file-uri-to-path": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", |
||||
"integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" |
||||
}, |
||||
"hash-base": { |
||||
"version": "3.1.0", |
||||
"resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", |
||||
"integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", |
||||
"requires": { |
||||
"inherits": "^2.0.4", |
||||
"readable-stream": "^3.6.0", |
||||
"safe-buffer": "^5.2.0" |
||||
} |
||||
}, |
||||
"hash.js": { |
||||
"version": "1.1.7", |
||||
"resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", |
||||
"integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", |
||||
"requires": { |
||||
"inherits": "^2.0.3", |
||||
"minimalistic-assert": "^1.0.1" |
||||
} |
||||
}, |
||||
"hdkey": { |
||||
"version": "1.1.2", |
||||
"resolved": "https://registry.npmjs.org/hdkey/-/hdkey-1.1.2.tgz", |
||||
"integrity": "sha512-PTQ4VKu0oRnCrYfLp04iQZ7T2Cxz0UsEXYauk2j8eh6PJXCpbXuCFhOmtIFtbET0i3PMWmHN9J11gU8LEgUljQ==", |
||||
"requires": { |
||||
"bs58check": "^2.1.2", |
||||
"safe-buffer": "^5.1.1", |
||||
"secp256k1": "^3.0.1" |
||||
} |
||||
}, |
||||
"hmac-drbg": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", |
||||
"integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", |
||||
"requires": { |
||||
"hash.js": "^1.0.3", |
||||
"minimalistic-assert": "^1.0.0", |
||||
"minimalistic-crypto-utils": "^1.0.1" |
||||
} |
||||
}, |
||||
"inherits": { |
||||
"version": "2.0.4", |
||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", |
||||
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" |
||||
}, |
||||
"is-typedarray": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", |
||||
"integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" |
||||
}, |
||||
"js-sha3": { |
||||
"version": "0.8.0", |
||||
"resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", |
||||
"integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" |
||||
}, |
||||
"md5.js": { |
||||
"version": "1.3.5", |
||||
"resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", |
||||
"integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", |
||||
"requires": { |
||||
"hash-base": "^3.0.0", |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"minimalistic-assert": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", |
||||
"integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" |
||||
}, |
||||
"minimalistic-crypto-utils": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", |
||||
"integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" |
||||
}, |
||||
"mitt": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/mitt/-/mitt-1.2.0.tgz", |
||||
"integrity": "sha512-r6lj77KlwqLhIUku9UWYes7KJtsczvolZkzp8hbaDPPaE24OmWl5s539Mytlj22siEQKosZ26qCBgda2PKwoJw==" |
||||
}, |
||||
"ms": { |
||||
"version": "2.0.0", |
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", |
||||
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" |
||||
}, |
||||
"nan": { |
||||
"version": "2.14.1", |
||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.14.1.tgz", |
||||
"integrity": "sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==" |
||||
}, |
||||
"next-tick": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", |
||||
"integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=" |
||||
}, |
||||
"node-fetch": { |
||||
"version": "2.6.1", |
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", |
||||
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" |
||||
}, |
||||
"node-gyp-build": { |
||||
"version": "3.7.0", |
||||
"resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-3.7.0.tgz", |
||||
"integrity": "sha512-L/Eg02Epx6Si2NXmedx+Okg+4UHqmaf3TNcxd50SF9NQGcJaON3AtU++kax69XV7YWz4tUspqZSAsVofhFKG2w==" |
||||
}, |
||||
"pbkdf2": { |
||||
"version": "3.1.1", |
||||
"resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.1.tgz", |
||||
"integrity": "sha512-4Ejy1OPxi9f2tt1rRV7Go7zmfDQ+ZectEQz3VGUQhgq62HtIRPDyG/JtnwIxs6x3uNMwo2V7q1fMvKjb+Tnpqg==", |
||||
"requires": { |
||||
"create-hash": "^1.1.2", |
||||
"create-hmac": "^1.1.4", |
||||
"ripemd160": "^2.0.1", |
||||
"safe-buffer": "^5.0.1", |
||||
"sha.js": "^2.4.8" |
||||
} |
||||
}, |
||||
"randombytes": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", |
||||
"integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", |
||||
"requires": { |
||||
"safe-buffer": "^5.1.0" |
||||
} |
||||
}, |
||||
"readable-stream": { |
||||
"version": "3.6.0", |
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", |
||||
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", |
||||
"requires": { |
||||
"inherits": "^2.0.3", |
||||
"string_decoder": "^1.1.1", |
||||
"util-deprecate": "^1.0.1" |
||||
} |
||||
}, |
||||
"ripemd160": { |
||||
"version": "2.0.2", |
||||
"resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", |
||||
"integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", |
||||
"requires": { |
||||
"hash-base": "^3.0.0", |
||||
"inherits": "^2.0.1" |
||||
} |
||||
}, |
||||
"safe-buffer": { |
||||
"version": "5.2.1", |
||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", |
||||
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" |
||||
}, |
||||
"scrypt-shim": { |
||||
"version": "github:web3-js/scrypt-shim#aafdadda13e660e25e1c525d1f5b2443f5eb1ebb", |
||||
"from": "github:web3-js/scrypt-shim", |
||||
"requires": { |
||||
"scryptsy": "^2.1.0", |
||||
"semver": "^6.3.0" |
||||
} |
||||
}, |
||||
"scryptsy": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/scryptsy/-/scryptsy-2.1.0.tgz", |
||||
"integrity": "sha512-1CdSqHQowJBnMAFyPEBRfqag/YP9OF394FV+4YREIJX4ljD7OxvQRDayyoyyCk+senRjSkP6VnUNQmVQqB6g7w==" |
||||
}, |
||||
"secp256k1": { |
||||
"version": "3.8.0", |
||||
"resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-3.8.0.tgz", |
||||
"integrity": "sha512-k5ke5avRZbtl9Tqx/SA7CbY3NF6Ro+Sj9cZxezFzuBlLDmyqPiL8hJJ+EmzD8Ig4LUDByHJ3/iPOVoRixs/hmw==", |
||||
"requires": { |
||||
"bindings": "^1.5.0", |
||||
"bip66": "^1.1.5", |
||||
"bn.js": "^4.11.8", |
||||
"create-hash": "^1.2.0", |
||||
"drbg.js": "^1.0.1", |
||||
"elliptic": "^6.5.2", |
||||
"nan": "^2.14.0", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"semver": { |
||||
"version": "6.3.0", |
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", |
||||
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" |
||||
}, |
||||
"sha.js": { |
||||
"version": "2.4.11", |
||||
"resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", |
||||
"integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", |
||||
"requires": { |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"string_decoder": { |
||||
"version": "1.3.0", |
||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", |
||||
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", |
||||
"requires": { |
||||
"safe-buffer": "~5.2.0" |
||||
} |
||||
}, |
||||
"text-encoding": { |
||||
"version": "0.7.0", |
||||
"resolved": "https://registry.npmjs.org/text-encoding/-/text-encoding-0.7.0.tgz", |
||||
"integrity": "sha512-oJQ3f1hrOnbRLOcwKz0Liq2IcrvDeZRHXhd9RgLrsT+DjWY/nty1Hi7v3dtkaEYbPYe0mUoOfzRrMwfXXwgPUA==" |
||||
}, |
||||
"type": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", |
||||
"integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==" |
||||
}, |
||||
"typedarray-to-buffer": { |
||||
"version": "3.1.5", |
||||
"resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", |
||||
"integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", |
||||
"requires": { |
||||
"is-typedarray": "^1.0.0" |
||||
} |
||||
}, |
||||
"unorm": { |
||||
"version": "1.6.0", |
||||
"resolved": "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz", |
||||
"integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==" |
||||
}, |
||||
"utf-8-validate": { |
||||
"version": "5.0.2", |
||||
"resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.2.tgz", |
||||
"integrity": "sha512-SwV++i2gTD5qh2XqaPzBnNX88N6HdyhQrNNRykvcS0QKvItV9u3vPEJr+X5Hhfb1JC0r0e1alL0iB09rY8+nmw==", |
||||
"requires": { |
||||
"node-gyp-build": "~3.7.0" |
||||
} |
||||
}, |
||||
"util-deprecate": { |
||||
"version": "1.0.2", |
||||
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", |
||||
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" |
||||
}, |
||||
"uuid": { |
||||
"version": "3.4.0", |
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", |
||||
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" |
||||
}, |
||||
"websocket": { |
||||
"version": "1.0.32", |
||||
"resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.32.tgz", |
||||
"integrity": "sha512-i4yhcllSP4wrpoPMU2N0TQ/q0O94LRG/eUQjEAamRltjQ1oT1PFFKOG4i877OlJgCG8rw6LrrowJp+TYCEWF7Q==", |
||||
"requires": { |
||||
"bufferutil": "^4.0.1", |
||||
"debug": "^2.2.0", |
||||
"es5-ext": "^0.10.50", |
||||
"typedarray-to-buffer": "^3.1.5", |
||||
"utf-8-validate": "^5.0.2", |
||||
"yaeti": "^0.0.6" |
||||
} |
||||
}, |
||||
"yaeti": { |
||||
"version": "0.0.6", |
||||
"resolved": "https://registry.npmjs.org/yaeti/-/yaeti-0.0.6.tgz", |
||||
"integrity": "sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc=" |
||||
} |
||||
} |
||||
} |
@ -1,547 +0,0 @@ |
||||
{ |
||||
"name": "@harmony-js/transaction", |
||||
"version": "0.1.56", |
||||
"lockfileVersion": 1, |
||||
"requires": true, |
||||
"dependencies": { |
||||
"@harmony-js/crypto": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/crypto/-/crypto-0.1.55.tgz", |
||||
"integrity": "sha512-Gpp6eGkhmdqz86uoYwE1d3pqVbpNkUQlO51ufjb8lzWVFt5N8t3tj14xVycU+TI1bioikWaFd0xsJfPlCo79nA==", |
||||
"requires": { |
||||
"@harmony-js/utils": "0.1.55", |
||||
"aes-js": "^3.1.2", |
||||
"bip39": "^2.5.0", |
||||
"bn.js": "^4.11.8", |
||||
"elliptic": "^6.4.1", |
||||
"hdkey": "^1.1.1", |
||||
"hmac-drbg": "^1.0.1", |
||||
"js-sha3": "^0.8.0", |
||||
"pbkdf2": "^3.0.17", |
||||
"scrypt-shim": "github:web3-js/scrypt-shim", |
||||
"uuid": "^3.3.2" |
||||
} |
||||
}, |
||||
"@harmony-js/network": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/network/-/network-0.1.55.tgz", |
||||
"integrity": "sha512-8Utx0tC7gjqF2Ipzibfze72KxxNBdMOPZipeqxDBbFJf9q8iK3G9i21fFIIZiwgBhoTsJ/Sn6BNDEv0E80yiaA==", |
||||
"requires": { |
||||
"@harmony-js/utils": "0.1.55", |
||||
"cross-fetch": "^3.0.2", |
||||
"mitt": "^1.2.0", |
||||
"websocket": "^1.0.28" |
||||
} |
||||
}, |
||||
"@harmony-js/utils": { |
||||
"version": "0.1.55", |
||||
"resolved": "https://registry.npmjs.org/@harmony-js/utils/-/utils-0.1.55.tgz", |
||||
"integrity": "sha512-CnV7I+eotS12JyV6jdkuP8Pz19o2utUKCiAN0r0ba+vWs1O59V7vPDUjPSFlxNEujQQGm6pby+JQVL8QZqytOg==", |
||||
"requires": { |
||||
"@types/bn.js": "^4.11.3", |
||||
"bn.js": "^4.11.8" |
||||
} |
||||
}, |
||||
"@types/bn.js": { |
||||
"version": "4.11.6", |
||||
"resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", |
||||
"integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", |
||||
"requires": { |
||||
"@types/node": "*" |
||||
} |
||||
}, |
||||
"@types/node": { |
||||
"version": "14.11.2", |
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.2.tgz", |
||||
"integrity": "sha512-jiE3QIxJ8JLNcb1Ps6rDbysDhN4xa8DJJvuC9prr6w+1tIh+QAbYyNF3tyiZNLDBIuBCf4KEcV2UvQm/V60xfA==" |
||||
}, |
||||
"aes-js": { |
||||
"version": "3.1.2", |
||||
"resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz", |
||||
"integrity": "sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ==" |
||||
}, |
||||
"base-x": { |
||||
"version": "3.0.8", |
||||
"resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.8.tgz", |
||||
"integrity": "sha512-Rl/1AWP4J/zRrk54hhlxH4drNxPJXYUaKffODVI53/dAsV4t9fBxyxYKAVPU1XBHxYwOWP9h9H0hM2MVw4YfJA==", |
||||
"requires": { |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"bindings": { |
||||
"version": "1.5.0", |
||||
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", |
||||
"integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", |
||||
"requires": { |
||||
"file-uri-to-path": "1.0.0" |
||||
} |
||||
}, |
||||
"bip39": { |
||||
"version": "2.6.0", |
||||
"resolved": "https://registry.npmjs.org/bip39/-/bip39-2.6.0.tgz", |
||||
"integrity": "sha512-RrnQRG2EgEoqO24ea+Q/fftuPUZLmrEM3qNhhGsA3PbaXaCW791LTzPuVyx/VprXQcTbPJ3K3UeTna8ZnVl2sg==", |
||||
"requires": { |
||||
"create-hash": "^1.1.0", |
||||
"pbkdf2": "^3.0.9", |
||||
"randombytes": "^2.0.1", |
||||
"safe-buffer": "^5.0.1", |
||||
"unorm": "^1.3.3" |
||||
} |
||||
}, |
||||
"bip66": { |
||||
"version": "1.1.5", |
||||
"resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz", |
||||
"integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=", |
||||
"requires": { |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"bn.js": { |
||||
"version": "4.11.9", |
||||
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.9.tgz", |
||||
"integrity": "sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==" |
||||
}, |
||||
"brorand": { |
||||
"version": "1.1.0", |
||||
"resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", |
||||
"integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" |
||||
}, |
||||
"browserify-aes": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", |
||||
"integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", |
||||
"requires": { |
||||
"buffer-xor": "^1.0.3", |
||||
"cipher-base": "^1.0.0", |
||||
"create-hash": "^1.1.0", |
||||
"evp_bytestokey": "^1.0.3", |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"bs58": { |
||||
"version": "4.0.1", |
||||
"resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", |
||||
"integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", |
||||
"requires": { |
||||
"base-x": "^3.0.2" |
||||
} |
||||
}, |
||||
"bs58check": { |
||||
"version": "2.1.2", |
||||
"resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz", |
||||
"integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==", |
||||
"requires": { |
||||
"bs58": "^4.0.0", |
||||
"create-hash": "^1.1.0", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"buffer-xor": { |
||||
"version": "1.0.3", |
||||
"resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", |
||||
"integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" |
||||
}, |
||||
"bufferutil": { |
||||
"version": "4.0.1", |
||||
"resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.1.tgz", |
||||
"integrity": "sha512-xowrxvpxojqkagPcWRQVXZl0YXhRhAtBEIq3VoER1NH5Mw1n1o0ojdspp+GS2J//2gCVyrzQDApQ4unGF+QOoA==", |
||||
"requires": { |
||||
"node-gyp-build": "~3.7.0" |
||||
} |
||||
}, |
||||
"cipher-base": { |
||||
"version": "1.0.4", |
||||
"resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", |
||||
"integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", |
||||
"requires": { |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"create-hash": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", |
||||
"integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", |
||||
"requires": { |
||||
"cipher-base": "^1.0.1", |
||||
"inherits": "^2.0.1", |
||||
"md5.js": "^1.3.4", |
||||
"ripemd160": "^2.0.1", |
||||
"sha.js": "^2.4.0" |
||||
} |
||||
}, |
||||
"create-hmac": { |
||||
"version": "1.1.7", |
||||
"resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", |
||||
"integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", |
||||
"requires": { |
||||
"cipher-base": "^1.0.3", |
||||
"create-hash": "^1.1.0", |
||||
"inherits": "^2.0.1", |
||||
"ripemd160": "^2.0.0", |
||||
"safe-buffer": "^5.0.1", |
||||
"sha.js": "^2.4.8" |
||||
} |
||||
}, |
||||
"cross-fetch": { |
||||
"version": "3.0.6", |
||||
"resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.0.6.tgz", |
||||
"integrity": "sha512-KBPUbqgFjzWlVcURG+Svp9TlhA5uliYtiNx/0r8nv0pdypeQCRJ9IaSIc3q/x3q8t3F75cHuwxVql1HFGHCNJQ==", |
||||
"requires": { |
||||
"node-fetch": "2.6.1" |
||||
} |
||||
}, |
||||
"d": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", |
||||
"integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", |
||||
"requires": { |
||||
"es5-ext": "^0.10.50", |
||||
"type": "^1.0.1" |
||||
} |
||||
}, |
||||
"debug": { |
||||
"version": "2.6.9", |
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", |
||||
"integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", |
||||
"requires": { |
||||
"ms": "2.0.0" |
||||
} |
||||
}, |
||||
"drbg.js": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz", |
||||
"integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=", |
||||
"requires": { |
||||
"browserify-aes": "^1.0.6", |
||||
"create-hash": "^1.1.2", |
||||
"create-hmac": "^1.1.4" |
||||
} |
||||
}, |
||||
"elliptic": { |
||||
"version": "6.5.3", |
||||
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz", |
||||
"integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==", |
||||
"requires": { |
||||
"bn.js": "^4.4.0", |
||||
"brorand": "^1.0.1", |
||||
"hash.js": "^1.0.0", |
||||
"hmac-drbg": "^1.0.0", |
||||
"inherits": "^2.0.1", |
||||
"minimalistic-assert": "^1.0.0", |
||||
"minimalistic-crypto-utils": "^1.0.0" |
||||
} |
||||
}, |
||||
"es5-ext": { |
||||
"version": "0.10.53", |
||||
"resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz", |
||||
"integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==", |
||||
"requires": { |
||||
"es6-iterator": "~2.0.3", |
||||
"es6-symbol": "~3.1.3", |
||||
"next-tick": "~1.0.0" |
||||
} |
||||
}, |
||||
"es6-iterator": { |
||||
"version": "2.0.3", |
||||
"resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", |
||||
"integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", |
||||
"requires": { |
||||
"d": "1", |
||||
"es5-ext": "^0.10.35", |
||||
"es6-symbol": "^3.1.1" |
||||
} |
||||
}, |
||||
"es6-symbol": { |
||||
"version": "3.1.3", |
||||
"resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", |
||||
"integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", |
||||
"requires": { |
||||
"d": "^1.0.1", |
||||
"ext": "^1.1.2" |
||||
} |
||||
}, |
||||
"evp_bytestokey": { |
||||
"version": "1.0.3", |
||||
"resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", |
||||
"integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", |
||||
"requires": { |
||||
"md5.js": "^1.3.4", |
||||
"safe-buffer": "^5.1.1" |
||||
} |
||||
}, |
||||
"ext": { |
||||
"version": "1.4.0", |
||||
"resolved": "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz", |
||||
"integrity": "sha512-Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A==", |
||||
"requires": { |
||||
"type": "^2.0.0" |
||||
}, |
||||
"dependencies": { |
||||
"type": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/type/-/type-2.1.0.tgz", |
||||
"integrity": "sha512-G9absDWvhAWCV2gmF1zKud3OyC61nZDwWvBL2DApaVFogI07CprggiQAOOjvp2NRjYWFzPyu7vwtDrQFq8jeSA==" |
||||
} |
||||
} |
||||
}, |
||||
"file-uri-to-path": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", |
||||
"integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" |
||||
}, |
||||
"hash-base": { |
||||
"version": "3.1.0", |
||||
"resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", |
||||
"integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", |
||||
"requires": { |
||||
"inherits": "^2.0.4", |
||||
"readable-stream": "^3.6.0", |
||||
"safe-buffer": "^5.2.0" |
||||
} |
||||
}, |
||||
"hash.js": { |
||||
"version": "1.1.7", |
||||
"resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", |
||||
"integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", |
||||
"requires": { |
||||
"inherits": "^2.0.3", |
||||
"minimalistic-assert": "^1.0.1" |
||||
} |
||||
}, |
||||
"hdkey": { |
||||
"version": "1.1.2", |
||||
"resolved": "https://registry.npmjs.org/hdkey/-/hdkey-1.1.2.tgz", |
||||
"integrity": "sha512-PTQ4VKu0oRnCrYfLp04iQZ7T2Cxz0UsEXYauk2j8eh6PJXCpbXuCFhOmtIFtbET0i3PMWmHN9J11gU8LEgUljQ==", |
||||
"requires": { |
||||
"bs58check": "^2.1.2", |
||||
"safe-buffer": "^5.1.1", |
||||
"secp256k1": "^3.0.1" |
||||
} |
||||
}, |
||||
"hmac-drbg": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", |
||||
"integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", |
||||
"requires": { |
||||
"hash.js": "^1.0.3", |
||||
"minimalistic-assert": "^1.0.0", |
||||
"minimalistic-crypto-utils": "^1.0.1" |
||||
} |
||||
}, |
||||
"inherits": { |
||||
"version": "2.0.4", |
||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", |
||||
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" |
||||
}, |
||||
"is-typedarray": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", |
||||
"integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" |
||||
}, |
||||
"js-sha3": { |
||||
"version": "0.8.0", |
||||
"resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", |
||||
"integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" |
||||
}, |
||||
"md5.js": { |
||||
"version": "1.3.5", |
||||
"resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", |
||||
"integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", |
||||
"requires": { |
||||
"hash-base": "^3.0.0", |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"minimalistic-assert": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", |
||||
"integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" |
||||
}, |
||||
"minimalistic-crypto-utils": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", |
||||
"integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" |
||||
}, |
||||
"mitt": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/mitt/-/mitt-1.2.0.tgz", |
||||
"integrity": "sha512-r6lj77KlwqLhIUku9UWYes7KJtsczvolZkzp8hbaDPPaE24OmWl5s539Mytlj22siEQKosZ26qCBgda2PKwoJw==" |
||||
}, |
||||
"ms": { |
||||
"version": "2.0.0", |
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", |
||||
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" |
||||
}, |
||||
"nan": { |
||||
"version": "2.14.1", |
||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.14.1.tgz", |
||||
"integrity": "sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==" |
||||
}, |
||||
"next-tick": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", |
||||
"integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=" |
||||
}, |
||||
"node-fetch": { |
||||
"version": "2.6.1", |
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", |
||||
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==" |
||||
}, |
||||
"node-gyp-build": { |
||||
"version": "3.7.0", |
||||
"resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-3.7.0.tgz", |
||||
"integrity": "sha512-L/Eg02Epx6Si2NXmedx+Okg+4UHqmaf3TNcxd50SF9NQGcJaON3AtU++kax69XV7YWz4tUspqZSAsVofhFKG2w==" |
||||
}, |
||||
"pbkdf2": { |
||||
"version": "3.1.1", |
||||
"resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.1.tgz", |
||||
"integrity": "sha512-4Ejy1OPxi9f2tt1rRV7Go7zmfDQ+ZectEQz3VGUQhgq62HtIRPDyG/JtnwIxs6x3uNMwo2V7q1fMvKjb+Tnpqg==", |
||||
"requires": { |
||||
"create-hash": "^1.1.2", |
||||
"create-hmac": "^1.1.4", |
||||
"ripemd160": "^2.0.1", |
||||
"safe-buffer": "^5.0.1", |
||||
"sha.js": "^2.4.8" |
||||
} |
||||
}, |
||||
"randombytes": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", |
||||
"integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", |
||||
"requires": { |
||||
"safe-buffer": "^5.1.0" |
||||
} |
||||
}, |
||||
"readable-stream": { |
||||
"version": "3.6.0", |
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", |
||||
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", |
||||
"requires": { |
||||
"inherits": "^2.0.3", |
||||
"string_decoder": "^1.1.1", |
||||
"util-deprecate": "^1.0.1" |
||||
} |
||||
}, |
||||
"ripemd160": { |
||||
"version": "2.0.2", |
||||
"resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", |
||||
"integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", |
||||
"requires": { |
||||
"hash-base": "^3.0.0", |
||||
"inherits": "^2.0.1" |
||||
} |
||||
}, |
||||
"safe-buffer": { |
||||
"version": "5.2.1", |
||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", |
||||
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" |
||||
}, |
||||
"scrypt-shim": { |
||||
"version": "github:web3-js/scrypt-shim#aafdadda13e660e25e1c525d1f5b2443f5eb1ebb", |
||||
"from": "github:web3-js/scrypt-shim", |
||||
"requires": { |
||||
"scryptsy": "^2.1.0", |
||||
"semver": "^6.3.0" |
||||
} |
||||
}, |
||||
"scryptsy": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/scryptsy/-/scryptsy-2.1.0.tgz", |
||||
"integrity": "sha512-1CdSqHQowJBnMAFyPEBRfqag/YP9OF394FV+4YREIJX4ljD7OxvQRDayyoyyCk+senRjSkP6VnUNQmVQqB6g7w==" |
||||
}, |
||||
"secp256k1": { |
||||
"version": "3.8.0", |
||||
"resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-3.8.0.tgz", |
||||
"integrity": "sha512-k5ke5avRZbtl9Tqx/SA7CbY3NF6Ro+Sj9cZxezFzuBlLDmyqPiL8hJJ+EmzD8Ig4LUDByHJ3/iPOVoRixs/hmw==", |
||||
"requires": { |
||||
"bindings": "^1.5.0", |
||||
"bip66": "^1.1.5", |
||||
"bn.js": "^4.11.8", |
||||
"create-hash": "^1.2.0", |
||||
"drbg.js": "^1.0.1", |
||||
"elliptic": "^6.5.2", |
||||
"nan": "^2.14.0", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"semver": { |
||||
"version": "6.3.0", |
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", |
||||
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" |
||||
}, |
||||
"sha.js": { |
||||
"version": "2.4.11", |
||||
"resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", |
||||
"integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", |
||||
"requires": { |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"string_decoder": { |
||||
"version": "1.3.0", |
||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", |
||||
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", |
||||
"requires": { |
||||
"safe-buffer": "~5.2.0" |
||||
} |
||||
}, |
||||
"type": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", |
||||
"integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==" |
||||
}, |
||||
"typedarray-to-buffer": { |
||||
"version": "3.1.5", |
||||
"resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", |
||||
"integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", |
||||
"requires": { |
||||
"is-typedarray": "^1.0.0" |
||||
} |
||||
}, |
||||
"unorm": { |
||||
"version": "1.6.0", |
||||
"resolved": "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz", |
||||
"integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==" |
||||
}, |
||||
"utf-8-validate": { |
||||
"version": "5.0.2", |
||||
"resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.2.tgz", |
||||
"integrity": "sha512-SwV++i2gTD5qh2XqaPzBnNX88N6HdyhQrNNRykvcS0QKvItV9u3vPEJr+X5Hhfb1JC0r0e1alL0iB09rY8+nmw==", |
||||
"requires": { |
||||
"node-gyp-build": "~3.7.0" |
||||
} |
||||
}, |
||||
"util-deprecate": { |
||||
"version": "1.0.2", |
||||
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", |
||||
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" |
||||
}, |
||||
"uuid": { |
||||
"version": "3.4.0", |
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", |
||||
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" |
||||
}, |
||||
"websocket": { |
||||
"version": "1.0.32", |
||||
"resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.32.tgz", |
||||
"integrity": "sha512-i4yhcllSP4wrpoPMU2N0TQ/q0O94LRG/eUQjEAamRltjQ1oT1PFFKOG4i877OlJgCG8rw6LrrowJp+TYCEWF7Q==", |
||||
"requires": { |
||||
"bufferutil": "^4.0.1", |
||||
"debug": "^2.2.0", |
||||
"es5-ext": "^0.10.50", |
||||
"typedarray-to-buffer": "^3.1.5", |
||||
"utf-8-validate": "^5.0.2", |
||||
"yaeti": "^0.0.6" |
||||
} |
||||
}, |
||||
"yaeti": { |
||||
"version": "0.0.6", |
||||
"resolved": "https://registry.npmjs.org/yaeti/-/yaeti-0.0.6.tgz", |
||||
"integrity": "sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc=" |
||||
} |
||||
} |
||||
} |
@ -1,26 +0,0 @@ |
||||
{ |
||||
"name": "@harmony-js/utils", |
||||
"version": "0.1.56", |
||||
"lockfileVersion": 1, |
||||
"requires": true, |
||||
"dependencies": { |
||||
"@types/bn.js": { |
||||
"version": "4.11.6", |
||||
"resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", |
||||
"integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", |
||||
"requires": { |
||||
"@types/node": "*" |
||||
} |
||||
}, |
||||
"@types/node": { |
||||
"version": "13.13.4", |
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-13.13.4.tgz", |
||||
"integrity": "sha512-x26ur3dSXgv5AwKS0lNfbjpCakGIduWU1DU91Zz58ONRWrIKGunmZBNv4P7N+e27sJkiGDsw/3fT4AtsqQBrBA==" |
||||
}, |
||||
"bn.js": { |
||||
"version": "4.11.8", |
||||
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", |
||||
"integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==" |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,29 @@ |
||||
{ |
||||
"name": "@woop-js/account", |
||||
"version": "0.1.58", |
||||
"description": "account and wallet for woop", |
||||
"main": "dist/index.js", |
||||
"node": "dist/index.js", |
||||
"browser": "dist/index.js", |
||||
"module": "dist/index.esm.js", |
||||
"jsnext:main": "dist/index.esm.js", |
||||
"typings": "dist/index.d.ts", |
||||
"types": "dist/index.d.ts", |
||||
"scripts": { |
||||
"test": "echo \"Error: no test specified\" && exit 1" |
||||
}, |
||||
"publishConfig": { |
||||
"access": "public" |
||||
}, |
||||
"author": "neeboo@firestack.one", |
||||
"license": "MIT", |
||||
"dependencies": { |
||||
"@woop-js/core": "0.1.58", |
||||
"@woop-js/crypto": "0.1.58", |
||||
"@woop-js/network": "0.1.58", |
||||
"@woop-js/staking": "0.1.58", |
||||
"@woop-js/transaction": "0.1.58", |
||||
"@woop-js/utils": "0.1.58" |
||||
}, |
||||
"gitHead": "56606e9365721729a490c27d6a294e0daf90fbdf" |
||||
} |
@ -1,6 +1,6 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-account |
||||
* @module woop-account |
||||
* @ignore |
||||
*/ |
||||
|
@ -1,6 +1,6 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-account |
||||
* @module woop-account |
||||
* @hidden |
||||
*/ |
||||
|
@ -0,0 +1,14 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module woop-account |
||||
* @hidden |
||||
*/ |
||||
|
||||
import { HttpProvider, Messenger } from '@woop-js/network'; |
||||
import { ChainType, ChainID } from '@woop-js/utils'; |
||||
|
||||
export const defaultMessenger = new Messenger( |
||||
new HttpProvider('http://localhost:9500'), |
||||
ChainType.Woop, |
||||
ChainID.WikiLocal, |
||||
); |
@ -1,18 +1,29 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-account |
||||
* @module woop-account |
||||
* @ignore |
||||
*/ |
||||
|
||||
import fetch from 'jest-fetch-mock'; |
||||
import { Account } from '../src/account'; |
||||
import { HttpProvider, Messenger } from '@harmony-js/network'; |
||||
import { ChainType, ChainID } from '@harmony-js/utils'; |
||||
import { HttpProvider, Messenger } from '@woop-js/network'; |
||||
import { ChainType, ChainID } from '@woop-js/utils'; |
||||
|
||||
const provider = new HttpProvider('http://localhost:9500'); |
||||
const messenger = new Messenger(provider, ChainType.Harmony, ChainID.HmyLocal); |
||||
const messenger = new Messenger(provider, ChainType.Woop, ChainID.WikiLocal); |
||||
|
||||
describe('test account', () => { |
||||
it('test Account.getBalance returns object that implements Balance interface', () => { |
||||
fetch.mockResponses( |
||||
[ |
||||
JSON.stringify({"jsonrpc": "2.0", "id": 1, "result": "0x166c690f33421e"}), |
||||
{ status: 200 } |
||||
], |
||||
[ |
||||
JSON.stringify({"jsonrpc": "2.0", "id": 1, "result": "0x106"}), |
||||
{ status: 200 } |
||||
] |
||||
); |
||||
const acc = Account.new(); |
||||
acc.setMessenger(messenger); |
||||
acc.getBalance().then((res) => { |
@ -1,12 +1,12 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-contract |
||||
* @module woop-contract |
||||
* @hidden |
||||
*/ |
||||
|
||||
import { AbiCoder as ABICoder, ParamType, toUtf8Bytes } from './abiCoder'; |
||||
import { isObject, isArray } from '@harmony-js/utils'; |
||||
import { keccak256, Arrayish } from '@harmony-js/crypto'; |
||||
import { isObject, isArray } from '@woop-js/utils'; |
||||
import { keccak256, Arrayish } from '@woop-js/crypto'; |
||||
import { jsonInterfaceMethodToString, bnToString } from './utils'; |
||||
|
||||
export class AbiCoderClass { |
@ -1,6 +1,6 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-contract |
||||
* @module woop-contract |
||||
* @hidden |
||||
*/ |
||||
|
@ -1,11 +1,11 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-contract |
||||
* @module woop-contract |
||||
* @hidden |
||||
*/ |
||||
|
||||
import { isObject, isArray } from '@harmony-js/utils'; |
||||
import { BN } from '@harmony-js/crypto'; |
||||
import { isObject, isArray } from '@woop-js/utils'; |
||||
import { BN } from '@woop-js/crypto'; |
||||
|
||||
export const jsonInterfaceMethodToString = (json: any): string => { |
||||
if (isObject(json) && json.name && json.name.includes('(')) { |
@ -1,12 +1,12 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-contract |
||||
* @module woop-contract |
||||
* |
||||
*/ |
||||
|
||||
import { Wallet } from '@harmony-js/account'; |
||||
import { Messenger } from '@harmony-js/network'; |
||||
import { Transaction } from '@harmony-js/transaction'; |
||||
import { Wallet } from '@woop-js/account'; |
||||
import { Messenger } from '@woop-js/network'; |
||||
import { Transaction } from '@woop-js/transaction'; |
||||
import { AbiCoder } from './abi/index'; |
||||
import { abiMapper } from './utils/mapper'; |
||||
import { ContractOptions } from './utils/options'; |
@ -1,9 +1,9 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-contract |
||||
* @module woop-contract |
||||
*/ |
||||
|
||||
import { Wallet } from '@harmony-js/account'; |
||||
import { Wallet } from '@woop-js/account'; |
||||
import { Contract } from './contract'; |
||||
import { ContractOptions } from './utils/options'; |
||||
|
@ -1,9 +1,9 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-contract |
||||
* @module woop-contract |
||||
*/ |
||||
|
||||
import { LogSub } from '@harmony-js/network'; |
||||
import { LogSub } from '@woop-js/network'; |
||||
import { AbiItemModel } from '../models/types'; |
||||
import { Contract } from '../contract'; |
||||
import { decode as eventLogDecoder } from '../utils/decoder'; |
@ -1,10 +1,10 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-contract |
||||
* @module woop-contract |
||||
* @hidden |
||||
*/ |
||||
|
||||
import { isArray } from '@harmony-js/utils'; |
||||
import { isArray } from '@woop-js/utils'; |
||||
import { AbiCoderClass } from '../abi/api'; |
||||
import { AbiModel, AbiItemModel } from '../models/types'; |
||||
import { Contract } from '../contract'; |
@ -1,6 +1,6 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-contract |
||||
* @module woop-contract |
||||
* @hidden |
||||
*/ |
||||
|
@ -1,13 +1,13 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-contract |
||||
* @module woop-contract |
||||
*/ |
||||
|
||||
import { Wallet } from '@harmony-js/account'; |
||||
import { TransactionFactory, Transaction, TxStatus } from '@harmony-js/transaction'; |
||||
import { RPCMethod, getResultForData, Emitter } from '@harmony-js/network'; |
||||
import { hexToBN, Unit } from '@harmony-js/utils'; |
||||
import { getAddress } from '@harmony-js/crypto'; |
||||
import { Wallet } from '@woop-js/account'; |
||||
import { TransactionFactory, Transaction, TxStatus } from '@woop-js/transaction'; |
||||
import { RPCMethod, getResultForData, Emitter } from '@woop-js/network'; |
||||
import { hexToBN, Unit } from '@woop-js/utils'; |
||||
import { getAddress } from '@woop-js/crypto'; |
||||
import { AbiItemModel } from '../models/types'; |
||||
import { Contract } from '../contract'; |
||||
import { methodEncoder } from '../utils/encoder'; |
@ -1,6 +1,6 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-contract |
||||
* @module woop-contract |
||||
* @hidden |
||||
*/ |
||||
|
@ -1,10 +1,10 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-contract |
||||
* @module woop-contract |
||||
* @hidden |
||||
*/ |
||||
|
||||
import { isArray } from '@harmony-js/utils'; |
||||
import { isArray } from '@woop-js/utils'; |
||||
import { AbiItemModel, AbiOutput, AbiInput } from './types'; |
||||
|
||||
export class AbiItem { |
@ -1,6 +1,6 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-contract |
||||
* @module woop-contract |
||||
* @hidden |
||||
*/ |
||||
|
@ -1,6 +1,6 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-contract |
||||
* @module woop-contract |
||||
* @hidden |
||||
*/ |
||||
|
@ -1,6 +1,6 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-contract |
||||
* @module woop-contract |
||||
* @hidden |
||||
*/ |
||||
|
@ -1,10 +1,10 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-contract |
||||
* @module woop-contract |
||||
* @hidden |
||||
*/ |
||||
|
||||
import { isArray } from '@harmony-js/utils'; |
||||
import { isArray } from '@woop-js/utils'; |
||||
import { AbiItemModel } from '../models/types'; |
||||
import { AbiCoderClass } from '../abi/api'; |
||||
|
@ -1,10 +1,10 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-contract |
||||
* @module woop-contract |
||||
* @hidden |
||||
*/ |
||||
|
||||
import { isArray } from '@harmony-js/utils'; |
||||
import { isArray } from '@woop-js/utils'; |
||||
import { AbiItem } from '../models/AbiItemModel'; |
||||
import { AbiModel } from '../models/AbiModel'; |
||||
import { AbiItemModel } from '../models/types'; |
@ -1,6 +1,6 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-contract |
||||
* @module woop-contract |
||||
* @hidden |
||||
*/ |
||||
|
@ -1,6 +1,6 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-contract |
||||
* @module woop-contract |
||||
* @hidden |
||||
*/ |
||||
|
@ -1,11 +1,11 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-core |
||||
* @module woop-core |
||||
* @hidden |
||||
*/ |
||||
|
||||
export * from './harmony'; |
||||
export * from './woop'; |
||||
export * from './blockchain'; |
||||
export * from './truffleProvider'; |
||||
export * from './harmonyExtension'; |
||||
export * from './woopExtension'; |
||||
export * from './types'; |
@ -0,0 +1,31 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module woop-core |
||||
* @hidden |
||||
*/ |
||||
|
||||
import { HttpProvider, Messenger } from '@woop-js/network'; |
||||
import { TransactionFactory, Transaction } from '@woop-js/transaction'; |
||||
import { Wallet, Account } from '@woop-js/account'; |
||||
import { ChainType, ChainID } from '@woop-js/utils'; |
||||
import { Blockchain } from './blockchain'; |
||||
|
||||
export interface WoopModule { |
||||
HttpProvider: HttpProvider; |
||||
Messenger: Messenger; |
||||
Blockchain: Blockchain; |
||||
TransactionFactory: TransactionFactory; |
||||
Wallet: Wallet; |
||||
Transaction: Transaction; |
||||
Account: Account; |
||||
} |
||||
|
||||
export enum UrlType { |
||||
http, |
||||
ws, |
||||
} |
||||
|
||||
export interface WoopSetting<T extends ChainType, I extends ChainID> { |
||||
type: T; |
||||
id: I; |
||||
} |
@ -0,0 +1,16 @@ |
||||
{ |
||||
"extends": "../../tsconfig.base.json", |
||||
"compilerOptions": { |
||||
"rootDir": "src", |
||||
"outDir": "dist" |
||||
}, |
||||
"include": ["src", "../../typings/**/*.d.ts", "../woop-utils/src/core.ts"], |
||||
"references": [ |
||||
{"path": "../woop-account"}, |
||||
{"path": "../woop-crypto"}, |
||||
{"path": "../woop-utils"}, |
||||
{"path": "../woop-network"}, |
||||
{"path": "../woop-transaction"}, |
||||
{"path": "../woop-contract"} |
||||
] |
||||
} |
@ -0,0 +1,782 @@ |
||||
{ |
||||
"name": "@woop-js/crypto", |
||||
"version": "0.1.58", |
||||
"lockfileVersion": 2, |
||||
"requires": true, |
||||
"packages": { |
||||
"": { |
||||
"name": "@woop-js/crypto", |
||||
"version": "0.1.56", |
||||
"license": "MIT", |
||||
"dependencies": { |
||||
"@woop-js/utils": "0.1.56", |
||||
"aes-js": "^3.1.2", |
||||
"bip39": "^2.5.0", |
||||
"bn.js": "^4.11.8", |
||||
"elliptic": "^6.4.1", |
||||
"hdkey": "^1.1.1", |
||||
"hmac-drbg": "^1.0.1", |
||||
"js-sha3": "^0.8.0", |
||||
"pbkdf2": "^3.0.17", |
||||
"scrypt.js": "^0.3.0", |
||||
"uuid": "^3.3.2" |
||||
} |
||||
}, |
||||
"node_modules/@woop-js/utils": { |
||||
"version": "0.1.56", |
||||
"resolved": "https://registry.npmjs.org/@woop-js/utils/-/utils-0.1.56.tgz", |
||||
"integrity": "sha512-XoYYIMoK/mSxPkxFd25dY/wScIWWevoTrHoFdlFd8N7GWlilfdgQEF5vO+4BA6hyDJ4ryfdLnGc6W6Hz+5qs2A==", |
||||
"dependencies": { |
||||
"@types/bn.js": "^4.11.3", |
||||
"bn.js": "^4.11.8" |
||||
} |
||||
}, |
||||
"node_modules/@types/bn.js": { |
||||
"version": "4.11.6", |
||||
"resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", |
||||
"integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", |
||||
"dependencies": { |
||||
"@types/node": "*" |
||||
} |
||||
}, |
||||
"node_modules/@types/node": { |
||||
"version": "14.11.2", |
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.2.tgz", |
||||
"integrity": "sha512-jiE3QIxJ8JLNcb1Ps6rDbysDhN4xa8DJJvuC9prr6w+1tIh+QAbYyNF3tyiZNLDBIuBCf4KEcV2UvQm/V60xfA==" |
||||
}, |
||||
"node_modules/aes-js": { |
||||
"version": "3.1.2", |
||||
"resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz", |
||||
"integrity": "sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ==" |
||||
}, |
||||
"node_modules/base-x": { |
||||
"version": "3.0.8", |
||||
"resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.8.tgz", |
||||
"integrity": "sha512-Rl/1AWP4J/zRrk54hhlxH4drNxPJXYUaKffODVI53/dAsV4t9fBxyxYKAVPU1XBHxYwOWP9h9H0hM2MVw4YfJA==", |
||||
"dependencies": { |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"node_modules/bindings": { |
||||
"version": "1.5.0", |
||||
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", |
||||
"integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", |
||||
"dependencies": { |
||||
"file-uri-to-path": "1.0.0" |
||||
} |
||||
}, |
||||
"node_modules/bip39": { |
||||
"version": "2.6.0", |
||||
"resolved": "https://registry.npmjs.org/bip39/-/bip39-2.6.0.tgz", |
||||
"integrity": "sha512-RrnQRG2EgEoqO24ea+Q/fftuPUZLmrEM3qNhhGsA3PbaXaCW791LTzPuVyx/VprXQcTbPJ3K3UeTna8ZnVl2sg==", |
||||
"dependencies": { |
||||
"create-hash": "^1.1.0", |
||||
"pbkdf2": "^3.0.9", |
||||
"randombytes": "^2.0.1", |
||||
"safe-buffer": "^5.0.1", |
||||
"unorm": "^1.3.3" |
||||
} |
||||
}, |
||||
"node_modules/bip66": { |
||||
"version": "1.1.5", |
||||
"resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz", |
||||
"integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=", |
||||
"dependencies": { |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"node_modules/bn.js": { |
||||
"version": "4.11.8", |
||||
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", |
||||
"integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==" |
||||
}, |
||||
"node_modules/brorand": { |
||||
"version": "1.1.0", |
||||
"resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", |
||||
"integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" |
||||
}, |
||||
"node_modules/browserify-aes": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", |
||||
"integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", |
||||
"dependencies": { |
||||
"buffer-xor": "^1.0.3", |
||||
"cipher-base": "^1.0.0", |
||||
"create-hash": "^1.1.0", |
||||
"evp_bytestokey": "^1.0.3", |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"node_modules/bs58": { |
||||
"version": "4.0.1", |
||||
"resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", |
||||
"integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", |
||||
"dependencies": { |
||||
"base-x": "^3.0.2" |
||||
} |
||||
}, |
||||
"node_modules/bs58check": { |
||||
"version": "2.1.2", |
||||
"resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz", |
||||
"integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==", |
||||
"dependencies": { |
||||
"bs58": "^4.0.0", |
||||
"create-hash": "^1.1.0", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"node_modules/buffer-xor": { |
||||
"version": "1.0.3", |
||||
"resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", |
||||
"integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" |
||||
}, |
||||
"node_modules/cipher-base": { |
||||
"version": "1.0.4", |
||||
"resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", |
||||
"integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", |
||||
"dependencies": { |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"node_modules/create-hash": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", |
||||
"integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", |
||||
"dependencies": { |
||||
"cipher-base": "^1.0.1", |
||||
"inherits": "^2.0.1", |
||||
"md5.js": "^1.3.4", |
||||
"ripemd160": "^2.0.1", |
||||
"sha.js": "^2.4.0" |
||||
} |
||||
}, |
||||
"node_modules/create-hmac": { |
||||
"version": "1.1.7", |
||||
"resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", |
||||
"integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", |
||||
"dependencies": { |
||||
"cipher-base": "^1.0.3", |
||||
"create-hash": "^1.1.0", |
||||
"inherits": "^2.0.1", |
||||
"ripemd160": "^2.0.0", |
||||
"safe-buffer": "^5.0.1", |
||||
"sha.js": "^2.4.8" |
||||
} |
||||
}, |
||||
"node_modules/drbg.js": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz", |
||||
"integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=", |
||||
"dependencies": { |
||||
"browserify-aes": "^1.0.6", |
||||
"create-hash": "^1.1.2", |
||||
"create-hmac": "^1.1.4" |
||||
}, |
||||
"engines": { |
||||
"node": ">=0.10" |
||||
} |
||||
}, |
||||
"node_modules/elliptic": { |
||||
"version": "6.5.3", |
||||
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz", |
||||
"integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==", |
||||
"dependencies": { |
||||
"bn.js": "^4.4.0", |
||||
"brorand": "^1.0.1", |
||||
"hash.js": "^1.0.0", |
||||
"hmac-drbg": "^1.0.0", |
||||
"inherits": "^2.0.1", |
||||
"minimalistic-assert": "^1.0.0", |
||||
"minimalistic-crypto-utils": "^1.0.0" |
||||
} |
||||
}, |
||||
"node_modules/evp_bytestokey": { |
||||
"version": "1.0.3", |
||||
"resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", |
||||
"integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", |
||||
"dependencies": { |
||||
"md5.js": "^1.3.4", |
||||
"safe-buffer": "^5.1.1" |
||||
} |
||||
}, |
||||
"node_modules/file-uri-to-path": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", |
||||
"integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" |
||||
}, |
||||
"node_modules/hash-base": { |
||||
"version": "3.1.0", |
||||
"resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", |
||||
"integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", |
||||
"dependencies": { |
||||
"inherits": "^2.0.4", |
||||
"readable-stream": "^3.6.0", |
||||
"safe-buffer": "^5.2.0" |
||||
}, |
||||
"engines": { |
||||
"node": ">=4" |
||||
} |
||||
}, |
||||
"node_modules/hash.js": { |
||||
"version": "1.1.7", |
||||
"resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", |
||||
"integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", |
||||
"dependencies": { |
||||
"inherits": "^2.0.3", |
||||
"minimalistic-assert": "^1.0.1" |
||||
} |
||||
}, |
||||
"node_modules/hdkey": { |
||||
"version": "1.1.2", |
||||
"resolved": "https://registry.npmjs.org/hdkey/-/hdkey-1.1.2.tgz", |
||||
"integrity": "sha512-PTQ4VKu0oRnCrYfLp04iQZ7T2Cxz0UsEXYauk2j8eh6PJXCpbXuCFhOmtIFtbET0i3PMWmHN9J11gU8LEgUljQ==", |
||||
"dependencies": { |
||||
"bs58check": "^2.1.2", |
||||
"safe-buffer": "^5.1.1", |
||||
"secp256k1": "^3.0.1" |
||||
} |
||||
}, |
||||
"node_modules/hmac-drbg": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", |
||||
"integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", |
||||
"dependencies": { |
||||
"hash.js": "^1.0.3", |
||||
"minimalistic-assert": "^1.0.0", |
||||
"minimalistic-crypto-utils": "^1.0.1" |
||||
} |
||||
}, |
||||
"node_modules/inherits": { |
||||
"version": "2.0.4", |
||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", |
||||
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" |
||||
}, |
||||
"node_modules/js-sha3": { |
||||
"version": "0.8.0", |
||||
"resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", |
||||
"integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" |
||||
}, |
||||
"node_modules/md5.js": { |
||||
"version": "1.3.5", |
||||
"resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", |
||||
"integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", |
||||
"dependencies": { |
||||
"hash-base": "^3.0.0", |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"node_modules/minimalistic-assert": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", |
||||
"integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" |
||||
}, |
||||
"node_modules/minimalistic-crypto-utils": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", |
||||
"integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" |
||||
}, |
||||
"node_modules/nan": { |
||||
"version": "2.14.1", |
||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.14.1.tgz", |
||||
"integrity": "sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==" |
||||
}, |
||||
"node_modules/pbkdf2": { |
||||
"version": "3.0.17", |
||||
"resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.17.tgz", |
||||
"integrity": "sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA==", |
||||
"dependencies": { |
||||
"create-hash": "^1.1.2", |
||||
"create-hmac": "^1.1.4", |
||||
"ripemd160": "^2.0.1", |
||||
"safe-buffer": "^5.0.1", |
||||
"sha.js": "^2.4.8" |
||||
}, |
||||
"engines": { |
||||
"node": ">=0.12" |
||||
} |
||||
}, |
||||
"node_modules/randombytes": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", |
||||
"integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", |
||||
"dependencies": { |
||||
"safe-buffer": "^5.1.0" |
||||
} |
||||
}, |
||||
"node_modules/readable-stream": { |
||||
"version": "3.6.0", |
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", |
||||
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", |
||||
"dependencies": { |
||||
"inherits": "^2.0.3", |
||||
"string_decoder": "^1.1.1", |
||||
"util-deprecate": "^1.0.1" |
||||
}, |
||||
"engines": { |
||||
"node": ">= 6" |
||||
} |
||||
}, |
||||
"node_modules/ripemd160": { |
||||
"version": "2.0.2", |
||||
"resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", |
||||
"integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", |
||||
"dependencies": { |
||||
"hash-base": "^3.0.0", |
||||
"inherits": "^2.0.1" |
||||
} |
||||
}, |
||||
"node_modules/safe-buffer": { |
||||
"version": "5.2.0", |
||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz", |
||||
"integrity": "sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==" |
||||
}, |
||||
"node_modules/scrypt.js": { |
||||
"version": "0.3.0", |
||||
"resolved": "https://registry.npmjs.org/scrypt.js/-/scrypt.js-0.3.0.tgz", |
||||
"integrity": "sha512-42LTc1nyFsyv/o0gcHtDztrn+aqpkaCNt5Qh7ATBZfhEZU7IC/0oT/qbBH+uRNoAPvs2fwiOId68FDEoSRA8/A==", |
||||
"dependencies": { |
||||
"scryptsy": "^1.2.1" |
||||
}, |
||||
"optionalDependencies": { |
||||
"scrypt": "^6.0.2" |
||||
} |
||||
}, |
||||
"node_modules/scryptsy": { |
||||
"version": "1.2.1", |
||||
"resolved": "https://registry.npmjs.org/scryptsy/-/scryptsy-1.2.1.tgz", |
||||
"integrity": "sha512-aldIRgMozSJ/Gl6K6qmJZysRP82lz83Wb42vl4PWN8SaLFHIaOzLPc9nUUW2jQN88CuGm5q5HefJ9jZ3nWSmTw==", |
||||
"dependencies": { |
||||
"pbkdf2": "^3.0.3" |
||||
} |
||||
}, |
||||
"node_modules/secp256k1": { |
||||
"version": "3.8.0", |
||||
"resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-3.8.0.tgz", |
||||
"integrity": "sha512-k5ke5avRZbtl9Tqx/SA7CbY3NF6Ro+Sj9cZxezFzuBlLDmyqPiL8hJJ+EmzD8Ig4LUDByHJ3/iPOVoRixs/hmw==", |
||||
"hasInstallScript": true, |
||||
"dependencies": { |
||||
"bindings": "^1.5.0", |
||||
"bip66": "^1.1.5", |
||||
"bn.js": "^4.11.8", |
||||
"create-hash": "^1.2.0", |
||||
"drbg.js": "^1.0.1", |
||||
"elliptic": "^6.5.2", |
||||
"nan": "^2.14.0", |
||||
"safe-buffer": "^5.1.2" |
||||
}, |
||||
"engines": { |
||||
"node": ">=4.0.0" |
||||
} |
||||
}, |
||||
"node_modules/sha.js": { |
||||
"version": "2.4.11", |
||||
"resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", |
||||
"integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", |
||||
"dependencies": { |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
}, |
||||
"bin": { |
||||
"sha.js": "bin.js" |
||||
} |
||||
}, |
||||
"node_modules/string_decoder": { |
||||
"version": "1.3.0", |
||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", |
||||
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", |
||||
"dependencies": { |
||||
"safe-buffer": "~5.2.0" |
||||
} |
||||
}, |
||||
"node_modules/unorm": { |
||||
"version": "1.6.0", |
||||
"resolved": "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz", |
||||
"integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==", |
||||
"engines": { |
||||
"node": ">= 0.4.0" |
||||
} |
||||
}, |
||||
"node_modules/util-deprecate": { |
||||
"version": "1.0.2", |
||||
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", |
||||
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" |
||||
}, |
||||
"node_modules/uuid": { |
||||
"version": "3.4.0", |
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", |
||||
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", |
||||
"deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", |
||||
"bin": { |
||||
"uuid": "bin/uuid" |
||||
} |
||||
} |
||||
}, |
||||
"dependencies": { |
||||
"@woop-js/utils": { |
||||
"version": "0.1.56", |
||||
"resolved": "https://registry.npmjs.org/@woop-js/utils/-/utils-0.1.56.tgz", |
||||
"integrity": "sha512-XoYYIMoK/mSxPkxFd25dY/wScIWWevoTrHoFdlFd8N7GWlilfdgQEF5vO+4BA6hyDJ4ryfdLnGc6W6Hz+5qs2A==", |
||||
"requires": { |
||||
"@types/bn.js": "^4.11.3", |
||||
"bn.js": "^4.11.8" |
||||
} |
||||
}, |
||||
"@types/bn.js": { |
||||
"version": "4.11.6", |
||||
"resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", |
||||
"integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", |
||||
"requires": { |
||||
"@types/node": "*" |
||||
} |
||||
}, |
||||
"@types/node": { |
||||
"version": "14.11.2", |
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.2.tgz", |
||||
"integrity": "sha512-jiE3QIxJ8JLNcb1Ps6rDbysDhN4xa8DJJvuC9prr6w+1tIh+QAbYyNF3tyiZNLDBIuBCf4KEcV2UvQm/V60xfA==" |
||||
}, |
||||
"aes-js": { |
||||
"version": "3.1.2", |
||||
"resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.1.2.tgz", |
||||
"integrity": "sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ==" |
||||
}, |
||||
"base-x": { |
||||
"version": "3.0.8", |
||||
"resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.8.tgz", |
||||
"integrity": "sha512-Rl/1AWP4J/zRrk54hhlxH4drNxPJXYUaKffODVI53/dAsV4t9fBxyxYKAVPU1XBHxYwOWP9h9H0hM2MVw4YfJA==", |
||||
"requires": { |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"bindings": { |
||||
"version": "1.5.0", |
||||
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", |
||||
"integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", |
||||
"requires": { |
||||
"file-uri-to-path": "1.0.0" |
||||
} |
||||
}, |
||||
"bip39": { |
||||
"version": "2.6.0", |
||||
"resolved": "https://registry.npmjs.org/bip39/-/bip39-2.6.0.tgz", |
||||
"integrity": "sha512-RrnQRG2EgEoqO24ea+Q/fftuPUZLmrEM3qNhhGsA3PbaXaCW791LTzPuVyx/VprXQcTbPJ3K3UeTna8ZnVl2sg==", |
||||
"requires": { |
||||
"create-hash": "^1.1.0", |
||||
"pbkdf2": "^3.0.9", |
||||
"randombytes": "^2.0.1", |
||||
"safe-buffer": "^5.0.1", |
||||
"unorm": "^1.3.3" |
||||
} |
||||
}, |
||||
"bip66": { |
||||
"version": "1.1.5", |
||||
"resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz", |
||||
"integrity": "sha1-AfqHSHhcpwlV1QESF9GzE5lpyiI=", |
||||
"requires": { |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"bn.js": { |
||||
"version": "4.11.8", |
||||
"resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", |
||||
"integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==" |
||||
}, |
||||
"brorand": { |
||||
"version": "1.1.0", |
||||
"resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", |
||||
"integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" |
||||
}, |
||||
"browserify-aes": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", |
||||
"integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", |
||||
"requires": { |
||||
"buffer-xor": "^1.0.3", |
||||
"cipher-base": "^1.0.0", |
||||
"create-hash": "^1.1.0", |
||||
"evp_bytestokey": "^1.0.3", |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"bs58": { |
||||
"version": "4.0.1", |
||||
"resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", |
||||
"integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", |
||||
"requires": { |
||||
"base-x": "^3.0.2" |
||||
} |
||||
}, |
||||
"bs58check": { |
||||
"version": "2.1.2", |
||||
"resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz", |
||||
"integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==", |
||||
"requires": { |
||||
"bs58": "^4.0.0", |
||||
"create-hash": "^1.1.0", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"buffer-xor": { |
||||
"version": "1.0.3", |
||||
"resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", |
||||
"integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" |
||||
}, |
||||
"cipher-base": { |
||||
"version": "1.0.4", |
||||
"resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", |
||||
"integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", |
||||
"requires": { |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"create-hash": { |
||||
"version": "1.2.0", |
||||
"resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", |
||||
"integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", |
||||
"requires": { |
||||
"cipher-base": "^1.0.1", |
||||
"inherits": "^2.0.1", |
||||
"md5.js": "^1.3.4", |
||||
"ripemd160": "^2.0.1", |
||||
"sha.js": "^2.4.0" |
||||
} |
||||
}, |
||||
"create-hmac": { |
||||
"version": "1.1.7", |
||||
"resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", |
||||
"integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", |
||||
"requires": { |
||||
"cipher-base": "^1.0.3", |
||||
"create-hash": "^1.1.0", |
||||
"inherits": "^2.0.1", |
||||
"ripemd160": "^2.0.0", |
||||
"safe-buffer": "^5.0.1", |
||||
"sha.js": "^2.4.8" |
||||
} |
||||
}, |
||||
"drbg.js": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz", |
||||
"integrity": "sha1-Pja2xCs3BDgjzbwzLVjzHiRFSAs=", |
||||
"requires": { |
||||
"browserify-aes": "^1.0.6", |
||||
"create-hash": "^1.1.2", |
||||
"create-hmac": "^1.1.4" |
||||
} |
||||
}, |
||||
"elliptic": { |
||||
"version": "6.5.3", |
||||
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz", |
||||
"integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==", |
||||
"requires": { |
||||
"bn.js": "^4.4.0", |
||||
"brorand": "^1.0.1", |
||||
"hash.js": "^1.0.0", |
||||
"hmac-drbg": "^1.0.0", |
||||
"inherits": "^2.0.1", |
||||
"minimalistic-assert": "^1.0.0", |
||||
"minimalistic-crypto-utils": "^1.0.0" |
||||
} |
||||
}, |
||||
"evp_bytestokey": { |
||||
"version": "1.0.3", |
||||
"resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", |
||||
"integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", |
||||
"requires": { |
||||
"md5.js": "^1.3.4", |
||||
"safe-buffer": "^5.1.1" |
||||
} |
||||
}, |
||||
"file-uri-to-path": { |
||||
"version": "1.0.0", |
||||
"resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", |
||||
"integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" |
||||
}, |
||||
"hash-base": { |
||||
"version": "3.1.0", |
||||
"resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", |
||||
"integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", |
||||
"requires": { |
||||
"inherits": "^2.0.4", |
||||
"readable-stream": "^3.6.0", |
||||
"safe-buffer": "^5.2.0" |
||||
} |
||||
}, |
||||
"hash.js": { |
||||
"version": "1.1.7", |
||||
"resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", |
||||
"integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", |
||||
"requires": { |
||||
"inherits": "^2.0.3", |
||||
"minimalistic-assert": "^1.0.1" |
||||
} |
||||
}, |
||||
"hdkey": { |
||||
"version": "1.1.2", |
||||
"resolved": "https://registry.npmjs.org/hdkey/-/hdkey-1.1.2.tgz", |
||||
"integrity": "sha512-PTQ4VKu0oRnCrYfLp04iQZ7T2Cxz0UsEXYauk2j8eh6PJXCpbXuCFhOmtIFtbET0i3PMWmHN9J11gU8LEgUljQ==", |
||||
"requires": { |
||||
"bs58check": "^2.1.2", |
||||
"safe-buffer": "^5.1.1", |
||||
"secp256k1": "^3.0.1" |
||||
} |
||||
}, |
||||
"hmac-drbg": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", |
||||
"integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", |
||||
"requires": { |
||||
"hash.js": "^1.0.3", |
||||
"minimalistic-assert": "^1.0.0", |
||||
"minimalistic-crypto-utils": "^1.0.1" |
||||
} |
||||
}, |
||||
"inherits": { |
||||
"version": "2.0.4", |
||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", |
||||
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" |
||||
}, |
||||
"js-sha3": { |
||||
"version": "0.8.0", |
||||
"resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", |
||||
"integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" |
||||
}, |
||||
"md5.js": { |
||||
"version": "1.3.5", |
||||
"resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", |
||||
"integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", |
||||
"requires": { |
||||
"hash-base": "^3.0.0", |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"minimalistic-assert": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", |
||||
"integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" |
||||
}, |
||||
"minimalistic-crypto-utils": { |
||||
"version": "1.0.1", |
||||
"resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", |
||||
"integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" |
||||
}, |
||||
"nan": { |
||||
"version": "2.14.1", |
||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.14.1.tgz", |
||||
"integrity": "sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==" |
||||
}, |
||||
"pbkdf2": { |
||||
"version": "3.0.17", |
||||
"resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.17.tgz", |
||||
"integrity": "sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA==", |
||||
"requires": { |
||||
"create-hash": "^1.1.2", |
||||
"create-hmac": "^1.1.4", |
||||
"ripemd160": "^2.0.1", |
||||
"safe-buffer": "^5.0.1", |
||||
"sha.js": "^2.4.8" |
||||
} |
||||
}, |
||||
"randombytes": { |
||||
"version": "2.1.0", |
||||
"resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", |
||||
"integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", |
||||
"requires": { |
||||
"safe-buffer": "^5.1.0" |
||||
} |
||||
}, |
||||
"readable-stream": { |
||||
"version": "3.6.0", |
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", |
||||
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", |
||||
"requires": { |
||||
"inherits": "^2.0.3", |
||||
"string_decoder": "^1.1.1", |
||||
"util-deprecate": "^1.0.1" |
||||
} |
||||
}, |
||||
"ripemd160": { |
||||
"version": "2.0.2", |
||||
"resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", |
||||
"integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", |
||||
"requires": { |
||||
"hash-base": "^3.0.0", |
||||
"inherits": "^2.0.1" |
||||
} |
||||
}, |
||||
"safe-buffer": { |
||||
"version": "5.2.0", |
||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz", |
||||
"integrity": "sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==" |
||||
}, |
||||
"scrypt.js": { |
||||
"version": "0.3.0", |
||||
"resolved": "https://registry.npmjs.org/scrypt.js/-/scrypt.js-0.3.0.tgz", |
||||
"integrity": "sha512-42LTc1nyFsyv/o0gcHtDztrn+aqpkaCNt5Qh7ATBZfhEZU7IC/0oT/qbBH+uRNoAPvs2fwiOId68FDEoSRA8/A==", |
||||
"requires": { |
||||
"scrypt": "^6.0.2", |
||||
"scryptsy": "^1.2.1" |
||||
} |
||||
}, |
||||
"scryptsy": { |
||||
"version": "1.2.1", |
||||
"resolved": "https://registry.npmjs.org/scryptsy/-/scryptsy-1.2.1.tgz", |
||||
"integrity": "sha512-aldIRgMozSJ/Gl6K6qmJZysRP82lz83Wb42vl4PWN8SaLFHIaOzLPc9nUUW2jQN88CuGm5q5HefJ9jZ3nWSmTw==", |
||||
"requires": { |
||||
"pbkdf2": "^3.0.3" |
||||
} |
||||
}, |
||||
"secp256k1": { |
||||
"version": "3.8.0", |
||||
"resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-3.8.0.tgz", |
||||
"integrity": "sha512-k5ke5avRZbtl9Tqx/SA7CbY3NF6Ro+Sj9cZxezFzuBlLDmyqPiL8hJJ+EmzD8Ig4LUDByHJ3/iPOVoRixs/hmw==", |
||||
"requires": { |
||||
"bindings": "^1.5.0", |
||||
"bip66": "^1.1.5", |
||||
"bn.js": "^4.11.8", |
||||
"create-hash": "^1.2.0", |
||||
"drbg.js": "^1.0.1", |
||||
"elliptic": "^6.5.2", |
||||
"nan": "^2.14.0", |
||||
"safe-buffer": "^5.1.2" |
||||
} |
||||
}, |
||||
"sha.js": { |
||||
"version": "2.4.11", |
||||
"resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", |
||||
"integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", |
||||
"requires": { |
||||
"inherits": "^2.0.1", |
||||
"safe-buffer": "^5.0.1" |
||||
} |
||||
}, |
||||
"string_decoder": { |
||||
"version": "1.3.0", |
||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", |
||||
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", |
||||
"requires": { |
||||
"safe-buffer": "~5.2.0" |
||||
} |
||||
}, |
||||
"unorm": { |
||||
"version": "1.6.0", |
||||
"resolved": "https://registry.npmjs.org/unorm/-/unorm-1.6.0.tgz", |
||||
"integrity": "sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==" |
||||
}, |
||||
"util-deprecate": { |
||||
"version": "1.0.2", |
||||
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", |
||||
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" |
||||
}, |
||||
"uuid": { |
||||
"version": "3.4.0", |
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", |
||||
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" |
||||
} |
||||
} |
||||
} |
@ -1,6 +1,6 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-crypto |
||||
* @module woop-crypto |
||||
* @hidden |
||||
*/ |
||||
|
@ -1,6 +1,6 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-crypto |
||||
* @module woop-crypto |
||||
* @ignore |
||||
*/ |
||||
|
@ -1,6 +1,6 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-crypto |
||||
* @module woop-crypto |
||||
* @ignore |
||||
*/ |
||||
|
@ -1,14 +1,13 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-crypto |
||||
* @module woop-crypto |
||||
*/ |
||||
|
||||
import aes from 'aes-js'; |
||||
// import scrypt from 'scrypt.js';
|
||||
import scrypt from 'scrypt-shim'; |
||||
import scrypt from 'scrypt.js'; |
||||
import { pbkdf2Sync } from 'pbkdf2'; |
||||
import uuid from 'uuid'; |
||||
import { isPrivateKey } from '@harmony-js/utils'; |
||||
import { isPrivateKey } from '@woop-js/utils'; |
||||
import { randomBytes } from './random'; |
||||
import { getAddressFromPrivateKey } from './keyTool'; |
||||
import { concat, hexToIntArray } from './bytes'; |
@ -1,6 +1,6 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-crypto |
||||
* @module woop-crypto |
||||
*/ |
||||
|
||||
/** |
@ -1,6 +1,6 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-crypto |
||||
* @module woop-crypto |
||||
* @hidden |
||||
*/ |
||||
|
@ -1,6 +1,6 @@ |
||||
/** |
||||
* @packageDocumentation |
||||
* @module harmony-crypto |
||||
* @module woop-crypto |
||||
* @ignore |
||||
*/ |
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue