elcrm 0.9.6 → 0.9.8

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.
@@ -1,3 +1,7 @@
1
- export declare const New: (e: any) => void;
1
+ export type TCrypto = {
2
+ enCode: (data: any) => any;
3
+ deCode: (data: any) => any;
4
+ };
5
+ export declare const New: (e: TCrypto) => void;
2
6
  export declare const enCode: (e: any) => any;
3
7
  export declare const deCode: (e: any) => any;
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  enCode: (e: any) => any;
3
3
  deCode: (e: any) => any;
4
- New: (e: any) => void;
4
+ New: (e: import('./Crypto').TCrypto) => void;
5
5
  };
6
6
  export default _default;
@@ -21,7 +21,7 @@ type Button = {
21
21
  onSend?: (callBack: ButtonCallBack) => void;
22
22
  label: string;
23
23
  };
24
- export declare function Init({ config }: any): import("react/jsx-runtime").JSX.Element;
24
+ export declare function Init(): import("react/jsx-runtime").JSX.Element;
25
25
  /**
26
26
  * Функция bar использует различный функционал модуля MyModule: <br/>
27
27
  * [Переменная модуля]{@link module:MyModule~variable} <br/>
@@ -1,6 +1,8 @@
1
+ import { TCrypto } from '../Crypto/Crypto';
1
2
  export declare function Server(v?: any): any;
2
3
  export declare function Api(v?: any): any;
3
4
  export declare function Client(v?: any): any;
4
5
  export declare function Host(v?: any): any;
5
6
  export declare function Import(v?: any): any;
6
7
  export declare function ImportFn(p: any): any;
8
+ export declare function Crypto(p: TCrypto): void;
@@ -1,4 +1,4 @@
1
- import { Api, Server, Client, Host, Import } from './Version';
1
+ import { Api, Server, Client, Host, Import, Crypto } from './Version';
2
2
  declare const _default: {
3
3
  version: {
4
4
  Api: typeof Api;
@@ -7,5 +7,6 @@ declare const _default: {
7
7
  };
8
8
  Host: typeof Host;
9
9
  Import: typeof Import;
10
+ Crypto: typeof Crypto;
10
11
  };
11
12
  export default _default;
@@ -1,2 +1,3 @@
1
1
  export { type onActive as TonActive } from '../Switch/Switch';
2
2
  export { type TCounter as TCounter } from '../Animation/Counter';
3
+ export { type TCrypto as TCrypto } from '../Crypto/Crypto';