@eluvio/elv-client-js 4.2.2 → 4.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eluvio/elv-client-js",
3
- "version": "4.2.2",
3
+ "version": "4.2.3",
4
4
  "description": "Javascript client for the Eluvio Content Fabric",
5
5
  "main": "src/index.js",
6
6
  "author": "Kevin Talmadge",
package/src/HttpClient.js CHANGED
@@ -2,7 +2,6 @@ const URI = require("urijs");
2
2
  const Fetch = typeof fetch !== "undefined" ? fetch : require("node-fetch").default;
3
3
  const {LogMessage} = require("./LogMessage");
4
4
  const Utils = require("./Utils");
5
- const UrlJoin = require("url-join");
6
5
 
7
6
  class HttpClient {
8
7
  Log(message, error=false) {
@@ -84,7 +83,7 @@ class HttpClient {
84
83
  }
85
84
 
86
85
  let uri = baseURI
87
- .path(UrlJoin(baseURI.path(), path).replace("/as/as", "/as"))
86
+ .path(path)
88
87
  .query(queryParams)
89
88
  .hash("");
90
89
 
@@ -238,7 +237,7 @@ class HttpClient {
238
237
 
239
238
  return (
240
239
  baseURI
241
- .path(UrlJoin(baseURI.path(), path).replace("/as/as", "/as"))
240
+ .path(path)
242
241
  .query(queryParams)
243
242
  .hash("")
244
243
  .toString()