@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 +1 -1
- package/BX24Dev.ts +1 -1
- package/BX24Hook.ts +2 -2
- package/BX24Local.ts +2 -2
- package/BX24Server.ts +3 -3
- package/BatchHelper.ts +1 -1
- package/base/BX24.ts +5 -5
- package/package.json +1 -1
package/BX24.ts
CHANGED
package/BX24Dev.ts
CHANGED
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
package/base/BX24.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { batchCmdElement } from "../types/batchElement";
|
|
2
|
-
import
|
|
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{
|