@truffle/blockchain-utils
Advanced tools
Comparing version 0.0.17-alphaTez.0 to 0.0.17
14
index.ts
@@ -0,3 +1,3 @@ | ||
import { Provider, Callback, JsonRPCResponse } from "web3/providers"; | ||
import { parsedUriObject } from "typings"; | ||
import { Callback, JsonRpcResponse, Provider } from "@truffle/provider"; | ||
@@ -8,3 +8,3 @@ const Blockchain = { | ||
provider: Provider, | ||
callback: Callback<JsonRpcResponse> | ||
callback: Callback<JsonRPCResponse> | ||
) { | ||
@@ -26,3 +26,3 @@ const params = [blockNumber, true]; | ||
provider: Provider, | ||
callback: Callback<JsonRpcResponse> | ||
callback: Callback<JsonRPCResponse> | ||
) { | ||
@@ -61,3 +61,3 @@ const params = [blockHash, true]; | ||
provider, | ||
(err: Error, { result }: JsonRpcResponse) => { | ||
(err: Error, { result }: JsonRPCResponse) => { | ||
if (err) return callback(err); | ||
@@ -69,3 +69,3 @@ genesis = result; | ||
provider, | ||
(err: Error, { result }: JsonRpcResponse) => { | ||
(err: Error, { result }: JsonRPCResponse) => { | ||
if (err) return callback(err); | ||
@@ -93,3 +93,3 @@ latest = result; | ||
provider, | ||
(err: Error, { result }: JsonRpcResponse) => { | ||
(err: Error, { result }: JsonRPCResponse) => { | ||
if (err) return callback(err); | ||
@@ -102,3 +102,3 @@ const block = result; | ||
provider, | ||
(err: Error, { result }: JsonRpcResponse) => { | ||
(err: Error, { result }: JsonRPCResponse) => { | ||
// Treat an error as if the block didn't exist. This is because | ||
@@ -105,0 +105,0 @@ // some clients respond differently. |
@@ -11,3 +11,3 @@ { | ||
}, | ||
"version": "0.0.17-alphaTez.0", | ||
"version": "0.0.17", | ||
"main": "dist/index.js", | ||
@@ -24,2 +24,3 @@ "scripts": { | ||
"@types/node": "^12.12.5", | ||
"@types/web3": "1.0.19", | ||
"mocha": "5.2.0", | ||
@@ -37,6 +38,3 @@ "ts-node": "^8.3.0", | ||
}, | ||
"dependencies": { | ||
"@truffle/provider": "^0.2.4-alphaTez.0" | ||
}, | ||
"gitHead": "f3a5706949563228f5e04445061569007bc3f792" | ||
"gitHead": "6829f4a137d648efb1cdcad81c50174146e3b8ae" | ||
} |
@@ -13,5 +13,5 @@ { | ||
"paths": { | ||
"net": [ | ||
"../../node_modules/@types/node", | ||
"node_modules/@types/node" | ||
"web3": [ | ||
"../../node_modules/@types/web3/index", | ||
"node_modules/web3/index" | ||
] | ||
@@ -22,4 +22,5 @@ }, | ||
"./typings", | ||
"../../**/node_modules/@types/mocha", | ||
"../../**/node_modules/@types/assert" | ||
"../../node_modules/@types/mocha", | ||
"../../node_modules/@types/web3", | ||
"../../node_modules/@types/assert" | ||
] | ||
@@ -26,0 +27,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
0
226
12552
7
- Removed@truffle/provider@^0.2.4-alphaTez.0
- Removed@ethereumjs/common@2.5.0(transitive)
- Removed@ethereumjs/tx@3.3.2(transitive)
- Removed@ethersproject/abi@5.7.0(transitive)
- Removed@ethersproject/abstract-provider@5.7.0(transitive)
- Removed@ethersproject/abstract-signer@5.7.0(transitive)
- Removed@ethersproject/address@5.7.0(transitive)
- Removed@ethersproject/base64@5.7.0(transitive)
- Removed@ethersproject/bignumber@5.7.0(transitive)
- Removed@ethersproject/bytes@5.7.0(transitive)
- Removed@ethersproject/constants@5.7.0(transitive)
- Removed@ethersproject/hash@5.7.0(transitive)
- Removed@ethersproject/keccak256@5.7.0(transitive)
- Removed@ethersproject/logger@5.7.0(transitive)
- Removed@ethersproject/networks@5.7.1(transitive)
- Removed@ethersproject/properties@5.7.0(transitive)
- Removed@ethersproject/rlp@5.7.0(transitive)
- Removed@ethersproject/signing-key@5.7.0(transitive)
- Removed@ethersproject/strings@5.7.0(transitive)
- Removed@ethersproject/transactions@5.7.0(transitive)
- Removed@ethersproject/web@5.7.1(transitive)
- Removed@noble/hashes@1.6.1(transitive)
- Removed@sindresorhus/is@0.14.04.6.0(transitive)
- Removed@szmarczak/http-timer@1.1.24.0.65.0.1(transitive)
- Removed@truffle/error@0.1.1(transitive)
- Removed@truffle/interface-adapter@0.5.37(transitive)
- Removed@truffle/provider@0.2.64(transitive)
- Removed@types/bn.js@5.1.6(transitive)
- Removed@types/cacheable-request@6.0.3(transitive)
- Removed@types/http-cache-semantics@4.0.4(transitive)
- Removed@types/keyv@3.1.4(transitive)
- Removed@types/node@12.20.55(transitive)
- Removed@types/pbkdf2@3.1.2(transitive)
- Removed@types/responselike@1.0.3(transitive)
- Removed@types/secp256k1@4.0.6(transitive)
- Removedabortcontroller-polyfill@1.7.8(transitive)
- Removedaccepts@1.3.8(transitive)
- Removedaes-js@3.0.0(transitive)
- Removedajv@6.12.6(transitive)
- Removedarray-flatten@1.1.1(transitive)
- Removedasn1@0.2.6(transitive)
- Removedasn1.js@4.10.1(transitive)
- Removedassert-plus@1.0.0(transitive)
- Removedasync-limiter@1.0.1(transitive)
- Removedasynckit@0.4.0(transitive)
- Removedavailable-typed-arrays@1.0.7(transitive)
- Removedaws-sign2@0.7.0(transitive)
- Removedaws4@1.13.2(transitive)
- Removedbase-x@3.0.10(transitive)
- Removedbase64-js@1.5.1(transitive)
- Removedbcrypt-pbkdf@1.0.2(transitive)
- Removedbignumber.js@9.1.2(transitive)
- Removedblakejs@1.2.1(transitive)
- Removedbluebird@3.7.2(transitive)
- Removedbn.js@4.11.64.12.15.2.1(transitive)
- Removedbody-parser@1.20.3(transitive)
- Removedbrorand@1.1.0(transitive)
- Removedbrowserify-aes@1.2.0(transitive)
- Removedbrowserify-cipher@1.0.1(transitive)
- Removedbrowserify-des@1.0.2(transitive)
- Removedbrowserify-rsa@4.1.1(transitive)
- Removedbrowserify-sign@4.2.3(transitive)
- Removedbs58@4.0.1(transitive)
- Removedbs58check@2.1.2(transitive)
- Removedbuffer@5.7.1(transitive)
- Removedbuffer-to-arraybuffer@0.0.5(transitive)
- Removedbuffer-xor@1.0.3(transitive)
- Removedbufferutil@4.0.8(transitive)
- Removedbytes@3.1.2(transitive)
- Removedcacheable-lookup@5.0.46.1.0(transitive)
- Removedcacheable-request@6.1.07.0.4(transitive)
- Removedcall-bind@1.0.8(transitive)
- Removedcall-bind-apply-helpers@1.0.1(transitive)
- Removedcall-bound@1.0.3(transitive)
- Removedcaseless@0.12.0(transitive)
- Removedchownr@1.1.4(transitive)
- Removedcids@0.7.5(transitive)
- Removedcipher-base@1.0.6(transitive)
- Removedclass-is@1.1.0(transitive)
- Removedclone-response@1.0.3(transitive)
- Removedcombined-stream@1.0.8(transitive)
- Removedcontent-disposition@0.5.4(transitive)
- Removedcontent-hash@2.5.2(transitive)
- Removedcontent-type@1.0.5(transitive)
- Removedcookie@0.7.1(transitive)
- Removedcookie-signature@1.0.6(transitive)
- Removedcookiejar@2.1.4(transitive)
- Removedcore-util-is@1.0.2(transitive)
- Removedcors@2.8.5(transitive)
- Removedcrc-32@1.2.2(transitive)
- Removedcreate-ecdh@4.0.4(transitive)
- Removedcreate-hash@1.2.0(transitive)
- Removedcreate-hmac@1.1.7(transitive)
- Removedcross-fetch@3.1.8(transitive)
- Removedcrypto-browserify@3.12.0(transitive)
- Removedd@1.0.2(transitive)
- Removeddashdash@1.14.1(transitive)
- Removeddebug@2.6.94.4.0(transitive)
- Removeddecode-uri-component@0.2.2(transitive)
- Removeddecompress-response@3.3.06.0.0(transitive)
- Removeddefer-to-connect@1.1.32.0.1(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removeddelayed-stream@1.0.0(transitive)
- Removeddepd@2.0.0(transitive)
- Removeddes.js@1.1.0(transitive)
- Removeddestroy@1.2.0(transitive)
- Removeddiffie-hellman@5.0.3(transitive)
- Removeddom-walk@0.1.2(transitive)
- Removeddunder-proto@1.0.1(transitive)
- Removedduplexer3@0.1.5(transitive)
- Removedecc-jsbn@0.1.2(transitive)
- Removedee-first@1.1.1(transitive)
- Removedelliptic@6.5.46.6.1(transitive)
- Removedencodeurl@1.0.22.0.0(transitive)
- Removedend-of-stream@1.4.4(transitive)
- Removedes-define-property@1.0.1(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedes-object-atoms@1.0.0(transitive)
- Removedes5-ext@0.10.64(transitive)
- Removedes6-iterator@2.0.3(transitive)
- Removedes6-promise@4.2.8(transitive)
- Removedes6-symbol@3.1.4(transitive)
- Removedescape-html@1.0.3(transitive)
- Removedesniff@2.0.1(transitive)
- Removedetag@1.8.1(transitive)
- Removedeth-ens-namehash@2.0.8(transitive)
- Removedeth-lib@0.1.290.2.8(transitive)
- Removedethereum-bloom-filters@1.2.0(transitive)
- Removedethereum-cryptography@0.1.3(transitive)
- Removedethereumjs-util@7.1.5(transitive)
- Removedethers@4.0.49(transitive)
- Removedethjs-unit@0.1.6(transitive)
- Removedevent-emitter@0.3.5(transitive)
- Removedeventemitter3@4.0.4(transitive)
- Removedevp_bytestokey@1.0.3(transitive)
- Removedexpress@4.21.2(transitive)
- Removedext@1.7.0(transitive)
- Removedextend@3.0.2(transitive)
- Removedextsprintf@1.3.0(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedfast-json-stable-stringify@2.1.0(transitive)
- Removedfinalhandler@1.3.1(transitive)
- Removedfor-each@0.3.3(transitive)
- Removedforever-agent@0.6.1(transitive)
- Removedform-data@2.3.3(transitive)
- Removedform-data-encoder@1.7.1(transitive)
- Removedforwarded@0.2.0(transitive)
- Removedfresh@0.5.2(transitive)
- Removedfs-extra@4.0.3(transitive)
- Removedfs-minipass@1.2.7(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-intrinsic@1.2.6(transitive)
- Removedget-stream@4.1.05.2.06.0.1(transitive)
- Removedgetpass@0.1.7(transitive)
- Removedglobal@4.4.0(transitive)
- Removedgopd@1.2.0(transitive)
- Removedgot@11.8.612.1.09.6.0(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedhar-schema@2.0.0(transitive)
- Removedhar-validator@5.1.5(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-symbols@1.1.0(transitive)
- Removedhas-tostringtag@1.0.2(transitive)
- Removedhash-base@3.0.53.1.0(transitive)
- Removedhash.js@1.1.31.1.7(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhmac-drbg@1.0.1(transitive)
- Removedhttp-cache-semantics@4.1.1(transitive)
- Removedhttp-errors@2.0.0(transitive)
- Removedhttp-https@1.0.0(transitive)
- Removedhttp-signature@1.2.0(transitive)
- Removedhttp2-wrapper@1.0.32.2.1(transitive)
- Removediconv-lite@0.4.24(transitive)
- Removedidna-uts46-hx@2.3.1(transitive)
- Removedieee754@1.2.1(transitive)
- Removedinherits@2.0.4(transitive)
- Removedipaddr.js@1.9.1(transitive)
- Removedis-arguments@1.2.0(transitive)
- Removedis-callable@1.2.7(transitive)
- Removedis-function@1.0.2(transitive)
- Removedis-generator-function@1.0.10(transitive)
- Removedis-hex-prefixed@1.0.0(transitive)
- Removedis-typed-array@1.1.13(transitive)
- Removedis-typedarray@1.0.0(transitive)
- Removedisarray@1.0.0(transitive)
- Removedisstream@0.1.2(transitive)
- Removedjs-sha3@0.5.70.8.0(transitive)
- Removedjsbn@0.1.1(transitive)
- Removedjson-buffer@3.0.03.0.1(transitive)
- Removedjson-schema@0.4.0(transitive)
- Removedjson-schema-traverse@0.4.1(transitive)
- Removedjson-stringify-safe@5.0.1(transitive)
- Removedjsonfile@4.0.0(transitive)
- Removedjsprim@1.4.2(transitive)
- Removedkeccak@3.0.4(transitive)
- Removedkeyv@3.1.04.5.4(transitive)
- Removedlowercase-keys@1.0.12.0.03.0.0(transitive)
- Removedmath-intrinsics@1.0.0(transitive)
- Removedmd5.js@1.3.5(transitive)
- Removedmedia-typer@0.3.0(transitive)
- Removedmerge-descriptors@1.0.3(transitive)
- Removedmethods@1.1.2(transitive)
- Removedmiller-rabin@4.0.1(transitive)
- Removedmime@1.6.0(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removedmimic-response@1.0.13.1.0(transitive)
- Removedmin-document@2.19.0(transitive)
- Removedminimalistic-assert@1.0.1(transitive)
- Removedminimalistic-crypto-utils@1.0.1(transitive)
- Removedminimist@1.2.8(transitive)
- Removedminipass@2.9.0(transitive)
- Removedminizlib@1.3.3(transitive)
- Removedmkdirp@0.5.63.0.1(transitive)
- Removedmkdirp-promise@5.0.1(transitive)
- Removedmock-fs@4.14.0(transitive)
- Removedms@2.0.02.1.3(transitive)
- Removedmultibase@0.6.10.7.0(transitive)
- Removedmulticodec@0.5.71.0.4(transitive)
- Removedmultihashes@0.4.21(transitive)
- Removednano-json-stream-parser@0.1.2(transitive)
- Removednegotiator@0.6.3(transitive)
- Removednext-tick@1.1.0(transitive)
- Removednode-addon-api@2.0.25.1.0(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removednode-gyp-build@4.8.4(transitive)
- Removednormalize-url@4.5.16.1.0(transitive)
- Removednumber-to-bn@1.7.0(transitive)
- Removedoauth-sign@0.9.0(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedobject-inspect@1.13.3(transitive)
- Removedoboe@2.1.5(transitive)
- Removedon-finished@2.4.1(transitive)
- Removedonce@1.4.0(transitive)
- Removedp-cancelable@1.1.02.1.13.0.0(transitive)
- Removedparse-asn1@5.1.7(transitive)
- Removedparse-headers@2.0.5(transitive)
- Removedparseurl@1.3.3(transitive)
- Removedpath-to-regexp@0.1.12(transitive)
- Removedpbkdf2@3.1.2(transitive)
- Removedperformance-now@2.1.0(transitive)
- Removedpossible-typed-array-names@1.0.0(transitive)
- Removedprepend-http@2.0.0(transitive)
- Removedprocess@0.11.10(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedproxy-addr@2.0.7(transitive)
- Removedpsl@1.15.0(transitive)
- Removedpublic-encrypt@4.0.3(transitive)
- Removedpump@3.0.2(transitive)
- Removedpunycode@2.1.02.3.1(transitive)
- Removedqs@6.13.06.5.3(transitive)
- Removedquery-string@5.1.1(transitive)
- Removedquick-lru@5.1.1(transitive)
- Removedrandombytes@2.1.0(transitive)
- Removedrandomfill@1.0.4(transitive)
- Removedrange-parser@1.2.1(transitive)
- Removedraw-body@2.5.2(transitive)
- Removedreadable-stream@2.3.83.6.2(transitive)
- Removedrequest@2.88.2(transitive)
- Removedresolve-alpn@1.2.1(transitive)
- Removedresponselike@1.0.22.0.1(transitive)
- Removedripemd160@2.0.2(transitive)
- Removedrlp@2.2.7(transitive)
- Removedsafe-buffer@5.1.25.2.1(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedscrypt-js@2.0.43.0.1(transitive)
- Removedsecp256k1@4.0.4(transitive)
- Removedsend@0.19.0(transitive)
- Removedserve-static@1.16.2(transitive)
- Removedservify@0.1.12(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedsetimmediate@1.0.41.0.5(transitive)
- Removedsetprototypeof@1.2.0(transitive)
- Removedsha.js@2.4.11(transitive)
- Removedside-channel@1.1.0(transitive)
- Removedside-channel-list@1.0.0(transitive)
- Removedside-channel-map@1.0.1(transitive)
- Removedside-channel-weakmap@1.0.2(transitive)
- Removedsimple-concat@1.0.1(transitive)
- Removedsimple-get@2.8.2(transitive)
- Removedsshpk@1.18.0(transitive)
- Removedstatuses@2.0.1(transitive)
- Removedstrict-uri-encode@1.1.0(transitive)
- Removedstring_decoder@1.1.11.3.0(transitive)
- Removedstrip-hex-prefix@1.0.0(transitive)
- Removedswarm-js@0.1.42(transitive)
- Removedtar@4.4.19(transitive)
- Removedtimed-out@4.0.1(transitive)
- Removedto-readable-stream@1.0.0(transitive)
- Removedtoidentifier@1.0.1(transitive)
- Removedtough-cookie@2.5.0(transitive)
- Removedtr46@0.0.3(transitive)
- Removedtunnel-agent@0.6.0(transitive)
- Removedtweetnacl@0.14.5(transitive)
- Removedtype@2.7.3(transitive)
- Removedtype-is@1.6.18(transitive)
- Removedtypedarray-to-buffer@3.1.5(transitive)
- Removedultron@1.1.1(transitive)
- Removeduniversalify@0.1.2(transitive)
- Removedunpipe@1.0.0(transitive)
- Removeduri-js@4.4.1(transitive)
- Removedurl-parse-lax@3.0.0(transitive)
- Removedurl-set-query@1.0.0(transitive)
- Removedutf-8-validate@5.0.10(transitive)
- Removedutf8@3.0.0(transitive)
- Removedutil@0.12.5(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedutils-merge@1.0.1(transitive)
- Removeduuid@2.0.13.3.23.4.09.0.1(transitive)
- Removedvarint@5.0.2(transitive)
- Removedvary@1.1.2(transitive)
- Removedverror@1.10.0(transitive)
- Removedweb3@1.10.01.7.4(transitive)
- Removedweb3-bzz@1.10.01.7.4(transitive)
- Removedweb3-core@1.10.01.7.4(transitive)
- Removedweb3-core-helpers@1.10.01.7.4(transitive)
- Removedweb3-core-method@1.10.01.7.4(transitive)
- Removedweb3-core-promievent@1.10.01.7.4(transitive)
- Removedweb3-core-requestmanager@1.10.01.7.4(transitive)
- Removedweb3-core-subscriptions@1.10.01.7.4(transitive)
- Removedweb3-eth@1.10.01.7.4(transitive)
- Removedweb3-eth-abi@1.10.01.7.4(transitive)
- Removedweb3-eth-accounts@1.10.01.7.4(transitive)
- Removedweb3-eth-contract@1.10.01.7.4(transitive)
- Removedweb3-eth-ens@1.10.01.7.4(transitive)
- Removedweb3-eth-iban@1.10.01.7.4(transitive)
- Removedweb3-eth-personal@1.10.01.7.4(transitive)
- Removedweb3-net@1.10.01.7.4(transitive)
- Removedweb3-providers-http@1.10.01.7.4(transitive)
- Removedweb3-providers-ipc@1.10.01.7.4(transitive)
- Removedweb3-providers-ws@1.10.01.7.4(transitive)
- Removedweb3-shh@1.10.01.7.4(transitive)
- Removedweb3-utils@1.10.01.7.4(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwebsocket@1.0.35(transitive)
- Removedwhatwg-url@5.0.0(transitive)
- Removedwhich-typed-array@1.1.16(transitive)
- Removedwrappy@1.0.2(transitive)
- Removedws@3.3.3(transitive)
- Removedxhr@2.6.0(transitive)
- Removedxhr-request@1.1.0(transitive)
- Removedxhr-request-promise@0.1.3(transitive)
- Removedxhr2-cookies@1.1.0(transitive)
- Removedxmlhttprequest@1.8.0(transitive)
- Removedxtend@4.0.2(transitive)
- Removedyaeti@0.0.6(transitive)
- Removedyallist@3.1.1(transitive)