Comparing version 1.1.4 to 1.1.5
import NomenclaturesService, { NomenclaturesServiceI } from "./services/nomenclaturesService"; | ||
import LabelService, { LabelServiceI } from "./services/labelService"; | ||
declare type EcontClientOptions = { | ||
export declare type ClientOptions = { | ||
username?: undefined; | ||
@@ -12,12 +12,11 @@ password?: undefined; | ||
}; | ||
export interface EcontClientI { | ||
export interface ClientI { | ||
NomenclaturesService: NomenclaturesServiceI; | ||
LabelService: LabelServiceI; | ||
} | ||
export default class EcontClient implements EcontClientI { | ||
export default class Client implements ClientI { | ||
NomenclaturesService: NomenclaturesService; | ||
LabelService: LabelService; | ||
private readonly context; | ||
constructor(options: EcontClientOptions); | ||
constructor(options: ClientOptions); | ||
} | ||
export {}; |
@@ -19,4 +19,4 @@ "use strict"; | ||
} | ||
var EcontClient = /** @class */ (function () { | ||
function EcontClient(options) { | ||
var Client = /** @class */ (function () { | ||
function Client(options) { | ||
this.context = buildContext(options); | ||
@@ -26,4 +26,4 @@ this.NomenclaturesService = new nomenclaturesService_1.default(this.context); | ||
} | ||
return EcontClient; | ||
return Client; | ||
}()); | ||
exports.default = EcontClient; | ||
exports.default = Client; |
export * from "./types"; | ||
export { default } from "./client"; | ||
export { default as Client } from "./client"; |
@@ -16,5 +16,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = void 0; | ||
exports.Client = void 0; | ||
__exportStar(require("./types"), exports); | ||
var client_1 = require("./client"); | ||
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(client_1).default; } }); | ||
Object.defineProperty(exports, "Client", { enumerable: true, get: function () { return __importDefault(client_1).default; } }); |
{ | ||
"name": "econt-js", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "JavaScript client library for Econt", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -10,3 +10,3 @@ import NomenclaturesService, { NomenclaturesServiceI } from "./services/nomenclaturesService"; | ||
testMode = true | ||
}: EcontClientOptions): Context { | ||
}: ClientOptions): Context { | ||
return { | ||
@@ -21,3 +21,3 @@ fetcher: new Fetcher({ | ||
type EcontClientOptions = { | ||
export type ClientOptions = { | ||
username?: undefined | ||
@@ -32,3 +32,3 @@ password?: undefined | ||
export interface EcontClientI { | ||
export interface ClientI { | ||
NomenclaturesService: NomenclaturesServiceI, | ||
@@ -38,3 +38,3 @@ LabelService: LabelServiceI | ||
export default class EcontClient implements EcontClientI { | ||
export default class Client implements ClientI { | ||
public NomenclaturesService; | ||
@@ -44,3 +44,3 @@ public LabelService; | ||
constructor(options: EcontClientOptions) { | ||
constructor(options: ClientOptions) { | ||
this.context = buildContext(options); | ||
@@ -47,0 +47,0 @@ this.NomenclaturesService = new NomenclaturesService(this.context); |
export * from "./types"; | ||
export {default} from "./client"; | ||
export {default as Client} from "./client"; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
79160
1816