@slavmak2486/bx24ts 1.2.16 → 1.2.17

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/BX24.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { baseBX24 } from "./base/BX24";
2
- import { getAuth } from "./types/getAuth";
2
+ import {type getAuth } from "./types/getAuth";
3
3
 
4
4
  export class BX24 extends baseBX24{
5
5
  constructor(cb?:(params:any)=>void){
package/BX24Dev.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { BX24Server } from "./BX24Server";
2
2
  import { set as __set } from "lodash";
3
- import { AuthBaseDev } from "./types/authBaseDev";
3
+ import { type AuthBaseDev } from "./types/authBaseDev";
4
4
 
5
5
 
6
6
  export class BX24Dev extends BX24Server{
package/BX24Hook.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { baseBX24 } from "./base/BX24";
2
- import { Logger } from "./types/authBaseServe";
3
- import { getAuth } from "./types/getAuth";
2
+ import { type Logger } from "./types/authBaseServe";
3
+ import { type getAuth } from "./types/getAuth";
4
4
 
5
5
  export class Bx24Hook extends baseBX24{
6
6
  declare url:string;
package/BX24Local.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { CallResult } from "./callResult";
2
- import { batchCmdElement } from "./types/batchElement";
1
+ import { type CallResult } from "./callResult";
2
+ import { type batchCmdElement } from "./types/batchElement";
3
3
 
4
4
  type BX24Rest={
5
5
  callMethod(method:string,params:any,cb?:(res:CallResult)=>any):void,
package/BX24Server.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { baseBX24 } from "./base/BX24";
2
- import { AuthBaseServe, Logger } from "./types/authBaseServe";
3
- import {getAuth} from './types/getAuth';
2
+ import { type AuthBaseServe, type Logger } from "./types/authBaseServe";
3
+ import { type getAuth } from './types/getAuth';
4
4
  import { CallResult } from "./callResult";
5
- import { BitrixEvent } from "./types/bitrixEvent";
5
+ import { type BitrixEvent } from "./types/bitrixEvent";
6
6
 
7
7
 
8
8
  export class BX24Server extends baseBX24{
package/BatchHelper.ts CHANGED
@@ -1,4 +1,4 @@
1
- import {batchCmdElement, batchCmdElementParams} from './types/batchElement'
1
+ import { type batchCmdElement, type batchCmdElementParams } from './types/batchElement'
2
2
  import { BX24 } from './BX24';
3
3
 
4
4
  export class BatchHelper{
package/base/BX24.ts CHANGED
@@ -1,11 +1,11 @@
1
- import { batchCmdElement } from "../types/batchElement";
2
- import { eventElement } from "../types/eventElement";
1
+ import { type batchCmdElement } from "../types/batchElement";
2
+ import {type eventElement } from "../types/eventElement";
3
3
 
4
- import axios, { AxiosError, AxiosRequestConfig, AxiosResponse } from 'axios';
4
+ import axios, { AxiosError, type AxiosRequestConfig, type AxiosResponse } from 'axios';
5
5
  import { CallResult } from "../callResult";
6
6
  import {cloneDeep, get as __get} from 'lodash'
7
- import { Logger } from "../types/authBaseServe";
8
- import { getAuth } from "../types/getAuth";
7
+ import { type Logger } from "../types/authBaseServe";
8
+ import { type getAuth } from "../types/getAuth";
9
9
 
10
10
  // проблемы декларирования методов HTMLElement
11
11
  declare global{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slavmak2486/bx24ts",
3
- "version": "1.2.16",
3
+ "version": "1.2.17",
4
4
  "description": "Library for bitrix24",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",