@eluvio/elv-client-js 4.0.3 → 4.0.4

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.
@@ -143,8 +143,8 @@ var ElvClient = /*#__PURE__*/function () {
143
143
  this.noAuth = noAuth;
144
144
  this.assumeV3 = assumeV3;
145
145
 
146
- if (!["search", "default"].includes(this.service)) {
147
- throw Error("Invalid service: ".concat(this.service));
146
+ if (!["search", "default"].includes(service)) {
147
+ throw Error("Invalid service: ".concat(service));
148
148
  }
149
149
 
150
150
  this.service = service;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eluvio/elv-client-js",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "description": "Javascript client for the Eluvio Content Fabric",
5
5
  "main": "src/index.js",
6
6
  "author": "Kevin Talmadge",
package/src/ElvClient.js CHANGED
@@ -185,8 +185,8 @@ class ElvClient {
185
185
  this.noAuth = noAuth;
186
186
  this.assumeV3 = assumeV3;
187
187
 
188
- if(!["search", "default"].includes(this.service)) {
189
- throw Error(`Invalid service: ${this.service}`);
188
+ if(!["search", "default"].includes(service)) {
189
+ throw Error(`Invalid service: ${service}`);
190
190
  }
191
191
 
192
192
  this.service = service;