aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/0x.js.ts2
-rw-r--r--src/types.ts2
-rw-r--r--src/web3_wrapper.ts4
-rw-r--r--test/exchange_wrapper_test.ts2
4 files changed, 5 insertions, 5 deletions
diff --git a/src/0x.js.ts b/src/0x.js.ts
index 63a540ad4..25b4af777 100644
--- a/src/0x.js.ts
+++ b/src/0x.js.ts
@@ -18,7 +18,7 @@ import {ecSignatureSchema} from './schemas/ec_signature_schema';
import {TokenWrapper} from './contract_wrappers/token_wrapper';
import {SolidityTypes, ECSignature, ZeroExError} from './types';
import {Order} from './types';
-import {orderSchema} from "./schemas/signed_order_schema";
+import {orderSchema} from './schemas/signed_order_schema';
const MAX_DIGITS_IN_UNSIGNED_256_INT = 78;
diff --git a/src/types.ts b/src/types.ts
index 861df3187..b70afe298 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -83,7 +83,7 @@ export enum ExchangeContractErrs {
ERROR_FILL_BALANCE_ALLOWANCE, // Insufficient balance or allowance for token transfer
ERROR_CANCEL_EXPIRED, // Order has already expired
ERROR_CANCEL_NO_VALUE, // Order has already been fully filled or cancelled
-};
+}
export interface ContractResponse {
logs: ContractEvent[];
diff --git a/src/web3_wrapper.ts b/src/web3_wrapper.ts
index 361f28476..79fd166ec 100644
--- a/src/web3_wrapper.ts
+++ b/src/web3_wrapper.ts
@@ -2,8 +2,8 @@ import * as _ from 'lodash';
import * as Web3 from 'web3';
import * as BigNumber from 'bignumber.js';
import promisify = require('es6-promisify');
-import {ZeroExError} from "./types";
-import {assert} from "./utils/assert";
+import {ZeroExError} from './types';
+import {assert} from './utils/assert';
export class Web3Wrapper {
private web3: Web3;
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts
index ad82e6e82..24383906f 100644
--- a/test/exchange_wrapper_test.ts
+++ b/test/exchange_wrapper_test.ts
@@ -89,7 +89,7 @@ describe('ExchangeWrapper', () => {
expect(isValid).to.be.false;
});
it('should return false if the signature doesn\'t pertain to the dataHex & address', async () => {
- const wrongSignature = Object.assign({}, signature, {v: 28});
+ const wrongSignature = {...signature, v: 28};
const isValid = await zeroEx.exchange.isValidSignatureAsync(dataHex, wrongSignature, address);
expect(isValid).to.be.false;
});