Comparing version 3.1.2-beta.0 to 3.1.2-beta.1
@@ -15,3 +15,3 @@ import "reflect-metadata"; | ||
* */ | ||
export declare class Client extends EventEmitter { | ||
export default class Client extends EventEmitter { | ||
readonly token: Token; | ||
@@ -18,0 +18,0 @@ readonly environment: Environment; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.Client = void 0; | ||
const tslib_1 = require("tslib"); | ||
@@ -41,3 +40,3 @@ require("reflect-metadata"); | ||
} | ||
exports.Client = Client; | ||
exports.default = Client; | ||
//# sourceMappingURL=Client.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const Client_1 = require("./Client"); | ||
const tslib_1 = require("tslib"); | ||
const Client_1 = tslib_1.__importDefault(require("./Client")); | ||
/** | ||
@@ -14,6 +15,7 @@ * Функция обратной совместимости | ||
console.warn('\x1b[33m%s\x1b[0m', 'В будущих версиях библиотеки старый способ будет удалён'); | ||
return new Client_1.Client(options); | ||
return new Client_1.default(options); | ||
} | ||
BackwardCompatibility.Client = Client_1.default; | ||
exports.default = BackwardCompatibility; | ||
exports.Client = Client_1.Client; | ||
exports.Client = Client_1.default; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "amocrm-js", | ||
"version": "3.1.2-beta.0", | ||
"version": "3.1.2-beta.1", | ||
"description": "JS Library for AmoCRM", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -18,3 +18,3 @@ import "reflect-metadata"; | ||
* */ | ||
export class Client extends EventEmitter { | ||
export default class Client extends EventEmitter { | ||
public readonly token: Token; | ||
@@ -21,0 +21,0 @@ public readonly environment: Environment; |
@@ -1,2 +0,2 @@ | ||
import { Client } from './Client'; | ||
import Client from './Client'; | ||
import { IClientOptions } from "./interfaces/common"; | ||
@@ -17,3 +17,5 @@ | ||
BackwardCompatibility.Client = Client; | ||
exports.default = BackwardCompatibility; | ||
exports.Client = Client; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
3396517
7395