teraslice-client-js 2.0.3 → 2.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "teraslice-client-js",
3
3
  "displayName": "Teraslice Client (JavaScript)",
4
- "version": "2.0.3",
4
+ "version": "2.0.4",
5
5
  "description": "A Node.js client for teraslice jobs, assets, and cluster references.",
6
6
  "keywords": [
7
7
  "elasticsearch",
@@ -32,13 +32,13 @@
32
32
  "test:watch": "node ../scripts/bin/ts-scripts test --watch ../teraslice-client-js --"
33
33
  },
34
34
  "dependencies": {
35
- "@terascope/core-utils": "~2.0.3",
35
+ "@terascope/core-utils": "~2.0.4",
36
36
  "@terascope/types": "~2.0.1",
37
37
  "auto-bind": "~5.0.1",
38
38
  "got": "~14.6.6"
39
39
  },
40
40
  "devDependencies": {
41
- "nock": "~13.5.6"
41
+ "nock": "~14.0.10"
42
42
  },
43
43
  "engines": {
44
44
  "node": ">=22.0.0",
@@ -388,7 +388,7 @@ describe('Teraslice Client', () => {
388
388
 
389
389
  beforeEach(() => {
390
390
  scope.delete('/hello')
391
- .reply(204, response);
391
+ .reply(200, response);
392
392
  });
393
393
 
394
394
  it('should resolve with the response from the server', async () => {
@@ -403,7 +403,7 @@ describe('Teraslice Client', () => {
403
403
  beforeEach(() => {
404
404
  scope.delete('/hello')
405
405
  .query({ hello: true })
406
- .reply(204, response);
406
+ .reply(200, response);
407
407
  });
408
408
 
409
409
  it('should resolve with the response from the server', async () => {