diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-03-06 07:24:55 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-03-06 07:24:55 +0800 |
commit | 08ab81c54c1e845a4239648e8cea65a930fcc99d (patch) | |
tree | 4ac86f7f4b2d4a9dff5ab72ad90983203bf0d11b /packages/connect/src/http_client.ts | |
parent | d355382f7040550cb82bab57a4935652fb710e71 (diff) | |
download | dexon-sol-tools-08ab81c54c1e845a4239648e8cea65a930fcc99d.tar dexon-sol-tools-08ab81c54c1e845a4239648e8cea65a930fcc99d.tar.gz dexon-sol-tools-08ab81c54c1e845a4239648e8cea65a930fcc99d.tar.bz2 dexon-sol-tools-08ab81c54c1e845a4239648e8cea65a930fcc99d.tar.lz dexon-sol-tools-08ab81c54c1e845a4239648e8cea65a930fcc99d.tar.xz dexon-sol-tools-08ab81c54c1e845a4239648e8cea65a930fcc99d.tar.zst dexon-sol-tools-08ab81c54c1e845a4239648e8cea65a930fcc99d.zip |
Rename isHttpUrl to isWebUri in assert package
Diffstat (limited to 'packages/connect/src/http_client.ts')
-rw-r--r-- | packages/connect/src/http_client.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 } /** |