aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-03-06 07:24:55 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-03-06 07:24:55 +0800
commit08ab81c54c1e845a4239648e8cea65a930fcc99d (patch)
tree4ac86f7f4b2d4a9dff5ab72ad90983203bf0d11b /packages/connect
parentd355382f7040550cb82bab57a4935652fb710e71 (diff)
downloaddexon-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')
-rw-r--r--packages/connect/src/http_client.ts2
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
}
/**