Comparing version 3.1.2-beta.2 to 3.1.2-beta.3
@@ -6,7 +6,7 @@ import Client from './Client'; | ||
* */ | ||
declare const BackwardCompatibility: { | ||
(options: IClientOptions): Client; | ||
Client: typeof Client; | ||
}; | ||
declare function BackwardCompatibility(options: IClientOptions): Client; | ||
declare namespace BackwardCompatibility { | ||
var Client: typeof import("./Client").default; | ||
} | ||
export { Client }; | ||
export default BackwardCompatibility; |
@@ -10,3 +10,3 @@ "use strict"; | ||
* */ | ||
const BackwardCompatibility = function BackwardCompatibility(options) { | ||
function BackwardCompatibility(options) { | ||
console.warn('\x1b[33m%s\x1b[0m', 'ВНИМАНИЕ'); | ||
@@ -19,5 +19,6 @@ console.warn('Используйте'); | ||
return new Client_1.default(options); | ||
}; | ||
} | ||
BackwardCompatibility.Client = Client_1.default; | ||
exports.default = BackwardCompatibility; | ||
module.exports = BackwardCompatibility; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "amocrm-js", | ||
"version": "3.1.2-beta.2", | ||
"version": "3.1.2-beta.3", | ||
"description": "JS Library for AmoCRM", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -7,3 +7,3 @@ import Client from './Client'; | ||
* */ | ||
const BackwardCompatibility = function BackwardCompatibility(options: IClientOptions) { | ||
function BackwardCompatibility(options: IClientOptions) { | ||
console.warn('\x1b[33m%s\x1b[0m', 'ВНИМАНИЕ'); | ||
@@ -21,2 +21,3 @@ console.warn('Используйте'); | ||
export { Client }; | ||
export default BackwardCompatibility; | ||
export default BackwardCompatibility; | ||
module.exports = BackwardCompatibility; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
7408
3426947