@joincivil/dev-utils
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -1,2 +0,2 @@ | ||
import { TransactionReceipt } from "web3/types"; | ||
import { TransactionReceipt } from "web3-core"; | ||
export declare function configureChai(chai: any): void; | ||
@@ -3,0 +3,0 @@ export declare function dummyWeb3Provider(): any; |
@@ -42,3 +42,3 @@ "use strict"; | ||
var bignumber_chai_1 = require("./bignumber-chai"); | ||
var Web3 = require("web3"); | ||
var web3_providers_http_1 = require("web3-providers-http"); | ||
function configureChai(chai) { | ||
@@ -53,3 +53,3 @@ chai.config.includeStack = true; | ||
function dummyWeb3Provider() { | ||
return new Web3.providers.HttpProvider("http://localhost:8545"); | ||
return new web3_providers_http_1.HttpProvider("http://localhost:8545"); | ||
} | ||
@@ -56,0 +56,0 @@ exports.dummyWeb3Provider = dummyWeb3Provider; |
{ | ||
"name": "@joincivil/dev-utils", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "Utilities shared between Civil packages", | ||
@@ -33,10 +33,10 @@ "private": false, | ||
"to-snake-case": "^1.0.0", | ||
"web3": "^1.2.1", | ||
"web3-core": "^1.2.1", | ||
"web3": "^1.2.2", | ||
"web3-core": "^1.2.2", | ||
"web3-provider-engine": "^14.0.6", | ||
"web3-providers-http": "^1.2.1" | ||
"web3-providers-http": "^1.2.2" | ||
}, | ||
"devDependencies": { | ||
"@joincivil/tslint-rules": "2.7.3", | ||
"@joincivil/typescript-types": "2.1.0", | ||
"@joincivil/typescript-types": "2.2.0", | ||
"@joincivil/typescript-typings": "1.3.3", | ||
@@ -43,0 +43,0 @@ "@types/argparse": "^1.0.33", |
@@ -5,6 +5,5 @@ import * as chaiAsPromised from "chai-as-promised"; | ||
import Web3 = require("web3"); | ||
import { TransactionReceipt, Log } from "web3-core"; | ||
import { HttpProvider } from "web3-providers-http"; | ||
import { TransactionReceipt, Log } from "web3/types"; | ||
export function configureChai(chai: any): void { | ||
@@ -19,3 +18,3 @@ chai.config.includeStack = true; | ||
export function dummyWeb3Provider(): any { | ||
return new Web3.providers.HttpProvider("http://localhost:8545"); | ||
return new HttpProvider("http://localhost:8545"); | ||
} | ||
@@ -22,0 +21,0 @@ |
Sorry, the diff of this file is not supported yet
49905
Updatedweb3@^1.2.2
Updatedweb3-core@^1.2.2
Updatedweb3-providers-http@^1.2.2