diff options
Diffstat (limited to 'packages/connect')
-rw-r--r-- | packages/connect/package.json | 8 | ||||
-rw-r--r-- | packages/connect/src/http_client.ts | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/packages/connect/package.json b/packages/connect/package.json index d39cfe76b..c8714a93a 100644 --- a/packages/connect/package.json +++ b/packages/connect/package.json @@ -1,6 +1,6 @@ { "name": "@0xproject/connect", - "version": "0.6.2", + "version": "0.6.3", "description": "A javascript library for interacting with the standard relayer api", "keywords": [ "connect", @@ -37,9 +37,9 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/connect/README.md", "dependencies": { - "@0xproject/assert": "^0.1.0", - "@0xproject/json-schemas": "^0.7.13", - "@0xproject/utils": "^0.4.0", + "@0xproject/assert": "^0.2.0", + "@0xproject/json-schemas": "^0.7.14", + "@0xproject/utils": "^0.4.1", "isomorphic-fetch": "^2.2.1", "lodash": "^4.17.4", "query-string": "^5.0.1", diff --git a/packages/connect/src/http_client.ts b/packages/connect/src/http_client.ts index cf0aaef0d..a221b54e8 100644 --- a/packages/connect/src/http_client.ts +++ b/packages/connect/src/http_client.ts @@ -61,7 +61,7 @@ export class HttpClient implements Client { * @return An instance of HttpClient */ constructor(url: string) { - assert.isHttpUrl('url', url); + assert.isWebUri('url', url); this._apiEndpointUrl = url.replace(TRAILING_SLASHES_REGEX, ''); // remove trailing slashes } /** |