teraslice-client-js 2.0.0-dev.1 → 2.0.0-dev.11
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/dist/src/assets.js +1 -1
- package/dist/src/assets.js.map +1 -1
- package/dist/src/client.js +1 -1
- package/dist/src/client.js.map +1 -1
- package/dist/src/cluster.js +1 -1
- package/dist/src/cluster.js.map +1 -1
- package/dist/src/ex.js +1 -1
- package/dist/src/ex.js.map +1 -1
- package/dist/src/executions.d.ts.map +1 -1
- package/dist/src/executions.js +1 -1
- package/dist/src/executions.js.map +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/job.js +1 -1
- package/dist/src/job.js.map +1 -1
- package/dist/src/jobs.js +1 -1
- package/dist/src/jobs.js.map +1 -1
- package/dist/test/job-spec.js +2 -1
- package/dist/test/job-spec.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/assets.ts +1 -1
- package/src/client.ts +1 -1
- package/src/cluster.ts +1 -1
- package/src/ex.ts +1 -1
- package/src/executions.ts +1 -2
- package/src/index.ts +0 -1
- package/src/job.ts +2 -2
- package/src/jobs.ts +1 -1
- package/test/job-spec.ts +2 -1
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.0-dev.
|
|
4
|
+
"version": "2.0.0-dev.11",
|
|
5
5
|
"description": "A Node.js client for teraslice jobs, assets, and cluster references.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"elasticsearch",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"test:watch": "node ../scripts/bin/ts-scripts test --watch ../teraslice-client-js --"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@terascope/
|
|
36
|
-
"@terascope/
|
|
35
|
+
"@terascope/core-utils": "~2.0.0-dev.11",
|
|
36
|
+
"@terascope/types": "~2.0.0-dev.9",
|
|
37
37
|
"auto-bind": "~5.0.1",
|
|
38
38
|
"got": "~14.4.8"
|
|
39
39
|
},
|
package/src/assets.ts
CHANGED
package/src/client.ts
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
isString, TSError, isPlainObject,
|
|
3
3
|
isTest, trimStart, tryParseJSON,
|
|
4
4
|
withoutNil,
|
|
5
|
-
} from '@terascope/utils';
|
|
5
|
+
} from '@terascope/core-utils';
|
|
6
6
|
import { STATUS_CODES } from 'node:http';
|
|
7
7
|
import { URL } from 'node:url';
|
|
8
8
|
import got, { type Got, HTTPError } from 'got';
|
package/src/cluster.ts
CHANGED
package/src/ex.ts
CHANGED
package/src/executions.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isString, isPlainObject, TSError, unset
|
|
3
|
-
} from '@terascope/utils';
|
|
3
|
+
} from '@terascope/core-utils';
|
|
4
4
|
import { Teraslice } from '@terascope/types';
|
|
5
5
|
import autoBind from 'auto-bind';
|
|
6
6
|
import Client from './client.js';
|
|
7
7
|
import Ex from './ex.js';
|
|
8
|
-
|
|
9
8
|
import { ClientConfig, RequestOptions } from './interfaces';
|
|
10
9
|
|
|
11
10
|
type ListOptions = undefined | string | Teraslice.SearchQuery;
|
package/src/index.ts
CHANGED
package/src/job.ts
CHANGED
|
@@ -2,8 +2,8 @@ import util from 'node:util';
|
|
|
2
2
|
import autoBind from 'auto-bind';
|
|
3
3
|
import {
|
|
4
4
|
pDelay, isString, toString,
|
|
5
|
-
TSError, toHumanTime
|
|
6
|
-
} from '@terascope/utils';
|
|
5
|
+
TSError, toHumanTime
|
|
6
|
+
} from '@terascope/core-utils';
|
|
7
7
|
import { Teraslice } from '@terascope/types';
|
|
8
8
|
import { ClientConfig, RequestOptions } from './interfaces.js';
|
|
9
9
|
import Client from './client.js';
|
package/src/jobs.ts
CHANGED