Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Addressed minor comments from the last release PR (#817)
Browse files Browse the repository at this point in the history
  • Loading branch information
jalextowle authored Jun 4, 2020
1 parent 9be5fa4 commit 88752af
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/browser-lite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"docsPath": "../../docs/browser-bindings/browser-lite"
},
"dependencies": {
"@0x/contract-addresses": "^4.9.0",
"@0x/order-utils": "^10.2.0",
"@0x/utils": "^5.4.0",
"ajv": "^6.12.2",
Expand Down
9 changes: 8 additions & 1 deletion packages/browser-lite/src/schema_validator.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/**
* @hidden
*/

/**
* NOTE(jalextowle): This comment must be here so that typedoc knows that the above
* comment is a module comment
*/
import * as ajv from 'ajv';

interface SynchronousValidationFunction {
Expand Down Expand Up @@ -44,7 +52,6 @@ export function createSchemaValidator(
}

const orderValidate = AJV.getSchema('/rootOrder');
// tslint:disable-next-line:no-non-null-assertion
if (orderValidate === undefined) {
throw new Error('Cannot find "/rootOrder" schema in AJV');
}
Expand Down
3 changes: 1 addition & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@
"@0x/mesh-browser-lite@file:packages/browser-lite":
version "1.0.0"
dependencies:
"@0x/contract-addresses" "^4.9.0"
"@0x/order-utils" "^10.2.0"
"@0x/utils" "^5.4.0"
ajv "^6.12.2"
Expand All @@ -177,7 +176,7 @@
"@0x/mesh-browser@file:packages/browser":
version "1.0.0"
dependencies:
"@0x/mesh-browser-lite" "file:../Library/Caches/Yarn/v6/npm-@0x-mesh-browser-1.0.0-73cc8d3a-b4a7-4f11-8cf8-894df8ce8128-1590603454455/node_modules/@0x/browser-lite"
"@0x/mesh-browser-lite" "file:../Library/Caches/Yarn/v6/npm-@0x-mesh-browser-1.0.0-6d494689-b59f-40df-bfab-789e9a30ac08-1591289540232/node_modules/@0x/browser-lite"
base64-arraybuffer "^0.2.0"
browserfs "^1.4.3"
ethereum-types "^3.0.0"
Expand Down

0 comments on commit 88752af

Please sign in to comment.