aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--packages/0x.js/src/globals.d.ts2
-rw-r--r--packages/chai-as-promised-typescript-typings/index.d.ts3
-rw-r--r--packages/chai-as-promised-typescript-typings/package.json2
-rw-r--r--packages/kovan-faucets/src/ts/error_reporter.ts2
-rw-r--r--packages/subproviders/src/globals.d.ts2
-rw-r--r--yarn.lock4
7 files changed, 5 insertions, 11 deletions
diff --git a/README.md b/README.md
index cf037d0d9..c6f84aea3 100644
--- a/README.md
+++ b/README.md
@@ -32,6 +32,7 @@ This repository contains all the 0x developer tools written in TypeScript. Our h
| [`@0xproject/web3-wrapper`](/packages/web3-wrapper) | [![npm](https://img.shields.io/npm/v/@0xproject/web3-wrapper.svg)](https://www.npmjs.com/package/@0xproject/web3-wrapper) | Web3 wrapper |
| [`web3-typescript-typings`](/packages/web3-typescript-typings) | [![npm](https://img.shields.io/npm/v/web3-typescript-typings.svg)](https://www.npmjs.com/package/web3-typescript-typings) | Web3 typescript typings |
| [`chai-as-promised-typescript-typings`](/packages/chai-as-promised-typescript-typings) | [![npm](https://img.shields.io/npm/v/chai-as-promised-typescript-typings.svg)](https://www.npmjs.com/package/chai-as-promised-typescript-typings) | Chai as promised typescript typings |
+| [`chai-typescript-typings`](/packages/chai-typescript-typings) | [![npm](https://img.shields.io/npm/v/chai-typescript-typings.svg)](https://www.npmjs.com/package/chai-typescript-typings) | Chai typescript typings |
### Private Packages
diff --git a/packages/0x.js/src/globals.d.ts b/packages/0x.js/src/globals.d.ts
index dc2b02305..ff8e00b69 100644
--- a/packages/0x.js/src/globals.d.ts
+++ b/packages/0x.js/src/globals.d.ts
@@ -1,5 +1,3 @@
-/// <reference types='chai-typescript-typings' />
-/// <reference types='chai-as-promised-typescript-typings' />
declare module 'web3_beta';
declare module 'chai-bignumber';
declare module 'dirty-chai';
diff --git a/packages/chai-as-promised-typescript-typings/index.d.ts b/packages/chai-as-promised-typescript-typings/index.d.ts
index a40a56696..ba6dabdcc 100644
--- a/packages/chai-as-promised-typescript-typings/index.d.ts
+++ b/packages/chai-as-promised-typescript-typings/index.d.ts
@@ -5,9 +5,10 @@
declare module 'chai-as-promised' {
function chaiAsPromised(chai: any, utils: any): void;
- export namespace chaiAsPromised {
+ namespace chaiAsPromised {
}
+ export = chaiAsPromised;
}
// tslint:disable:no-namespace ban-types member-ordering
diff --git a/packages/chai-as-promised-typescript-typings/package.json b/packages/chai-as-promised-typescript-typings/package.json
index ad032a3a8..7d438a621 100644
--- a/packages/chai-as-promised-typescript-typings/package.json
+++ b/packages/chai-as-promised-typescript-typings/package.json
@@ -17,7 +17,7 @@
"bugs": {
"url": "https://github.com/0xProject/0x.js/issues"
},
- "homepage": "https://github.com/0xProject/0x.js/packages/chai-as-promises-typescript-typings#readme",
+ "homepage": "https://github.com/0xProject/0x.js/packages/chai-as-promised-typescript-typings#readme",
"dependencies": {
"chai-typescript-typings": "^0.0.0"
}
diff --git a/packages/kovan-faucets/src/ts/error_reporter.ts b/packages/kovan-faucets/src/ts/error_reporter.ts
index c9d09a99e..1c25dd184 100644
--- a/packages/kovan-faucets/src/ts/error_reporter.ts
+++ b/packages/kovan-faucets/src/ts/error_reporter.ts
@@ -14,7 +14,7 @@ export const errorReporter = {
process.on('unhandledRejection', (err: Error) => {
utils.consoleLog(`Uncaught exception ${err}. Stack: ${err.stack}`);
- this.report(err);
+ this.reportAsync(err);
process.exit(1);
});
},
diff --git a/packages/subproviders/src/globals.d.ts b/packages/subproviders/src/globals.d.ts
index 97fc34734..53457fa24 100644
--- a/packages/subproviders/src/globals.d.ts
+++ b/packages/subproviders/src/globals.d.ts
@@ -1,5 +1,3 @@
-/// <reference types='chai-typescript-typings' />
-/// <reference types='chai-as-promised-typescript-typings' />
declare module 'dirty-chai';
declare module 'es6-promisify';
diff --git a/yarn.lock b/yarn.lock
index 4ca4266f7..ce1d12ade 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1694,10 +1694,6 @@ chai-typescript-typings@^0.0.0:
version "0.0.0"
resolved "https://registry.yarnpkg.com/chai-typescript-typings/-/chai-typescript-typings-0.0.0.tgz#52e076d72cf29129c94ab1dba6e33ce3828a0724"
-chai-typescript-typings@^0.0.1:
- version "0.0.1"
- resolved "https://registry.yarnpkg.com/chai-typescript-typings/-/chai-typescript-typings-0.0.1.tgz#433dee303b0b2978ad0dd03129df0a5afb791274"
-
chai@^4.0.1:
version "4.1.2"
resolved "https://registry.yarnpkg.com/chai/-/chai-4.1.2.tgz#0f64584ba642f0f2ace2806279f4f06ca23ad73c"