smartling-api-sdk-nodejs 1.1.1 → 1.1.2
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.
|
@@ -2,5 +2,5 @@ projectKey=smartling-api-sdk-nodejs
|
|
|
2
2
|
serverUrl=https://sonar-next.connectors.stg.smartling.net
|
|
3
3
|
serverVersion=8.6.1.40680
|
|
4
4
|
dashboardUrl=https://sonar-next.connectors.stg.smartling.net/dashboard?id=smartling-api-sdk-nodejs
|
|
5
|
-
ceTaskId=
|
|
6
|
-
ceTaskUrl=https://sonar-next.connectors.stg.smartling.net/api/ce/task?id=
|
|
5
|
+
ceTaskId=AX2AqCuSdMA5141C1fch
|
|
6
|
+
ceTaskUrl=https://sonar-next.connectors.stg.smartling.net/api/ce/task?id=AX2AqCuSdMA5141C1fch
|
package/api/builder/index.ts
CHANGED
|
@@ -6,14 +6,14 @@ import { Logger } from "../logger";
|
|
|
6
6
|
const packageJson = require("../../package.json");
|
|
7
7
|
|
|
8
8
|
export class SmartlingApiClientBuilder {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
protected authApiClient: SmartlingAuthApi = null;
|
|
10
|
+
protected userId: string = null;
|
|
11
|
+
protected userSecret: string = null;
|
|
12
|
+
protected baseSmartlingApiUrl: string;
|
|
13
|
+
protected httpClientOptions: Record<string, unknown> = {};
|
|
14
|
+
protected clientLibId: string = packageJson.name;
|
|
15
|
+
protected clientLibVersion: string = packageJson.version;
|
|
16
|
+
protected logger: Logger = {
|
|
17
17
|
/* eslint-disable-next-line @typescript-eslint/no-empty-function */
|
|
18
18
|
debug: () => {},
|
|
19
19
|
/* eslint-disable-next-line @typescript-eslint/no-empty-function */
|
|
@@ -2,14 +2,14 @@ import { SmartlingAuthApi } from "../auth/index";
|
|
|
2
2
|
import { SmartlingBaseApi } from "../base/index";
|
|
3
3
|
import { Logger } from "../logger";
|
|
4
4
|
export declare class SmartlingApiClientBuilder {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
protected authApiClient: SmartlingAuthApi;
|
|
6
|
+
protected userId: string;
|
|
7
|
+
protected userSecret: string;
|
|
8
|
+
protected baseSmartlingApiUrl: string;
|
|
9
|
+
protected httpClientOptions: Record<string, unknown>;
|
|
10
|
+
protected clientLibId: string;
|
|
11
|
+
protected clientLibVersion: string;
|
|
12
|
+
protected logger: Logger;
|
|
13
13
|
setLogger(logger: Logger): SmartlingApiClientBuilder;
|
|
14
14
|
setBaseSmartlingApiUrl(baseSmartlingApiUrl: string): SmartlingApiClientBuilder;
|
|
15
15
|
setHttpClientConfiguration(httpClientOptions: Record<string, unknown>): SmartlingApiClientBuilder;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../api/builder/index.ts"],"names":[],"mappings":";;;AAAA,yCAAiD;AAKjD,MAAM,WAAW,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;AAElD,MAAa,yBAAyB;IAAtC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../api/builder/index.ts"],"names":[],"mappings":";;;AAAA,yCAAiD;AAKjD,MAAM,WAAW,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;AAElD,MAAa,yBAAyB;IAAtC;QACc,kBAAa,GAAqB,IAAI,CAAC;QACvC,WAAM,GAAW,IAAI,CAAC;QACtB,eAAU,GAAW,IAAI,CAAC;QAE1B,sBAAiB,GAA4B,EAAE,CAAC;QAChD,gBAAW,GAAW,WAAW,CAAC,IAAI,CAAC;QACvC,qBAAgB,GAAW,WAAW,CAAC,OAAO,CAAC;QAC/C,WAAM,GAAW;YAEvB,KAAK,EAAE,GAAG,EAAE,GAAE,CAAC;YAEf,IAAI,EAAE,GAAG,EAAE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