@rongcloud/electron 5.46.1 → 5.48.0
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/binding/.gitkeep +0 -0
- package/binding/electron-darwin-arm64.node +0 -0
- package/binding/electron-darwin-x64.node +0 -0
- package/binding/electron-linux-arm64.node +0 -0
- package/binding/electron-linux-x64.node +0 -0
- package/binding/electron-win32-ia32.node +0 -0
- package/binding/electron-win32-x64.node +0 -0
- package/index.cjs +3 -2
- package/index.cjs.js +3 -2
- package/index.d.ts +4 -8
- package/index.esm.js +2 -2
- package/index.mjs +2 -2
- package/package.json +1 -1
- package/sub-process.cjs.js +1 -1
- package/sub-process.esm.js +1 -1
package/index.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ declare enum LogL {
|
|
|
37
37
|
* 有效的日志等级声明
|
|
38
38
|
* @category Type
|
|
39
39
|
*/
|
|
40
|
-
|
|
40
|
+
type EnableLogL = LogL.DEBUG | LogL.INFO | LogL.WARN | LogL.ERROR;
|
|
41
41
|
|
|
42
42
|
interface IInitOptions {
|
|
43
43
|
/**
|
|
@@ -86,14 +86,7 @@ interface IInitOptions {
|
|
|
86
86
|
declare class RCMainClient {
|
|
87
87
|
#private;
|
|
88
88
|
static init(options: IInitOptions): RCMainClient;
|
|
89
|
-
|
|
90
|
-
|
|
91
89
|
constructor(initOptions: Required<IInitOptions>);
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
90
|
/**
|
|
98
91
|
* @deprecated
|
|
99
92
|
*/
|
|
@@ -121,6 +114,9 @@ declare class RCMainClient {
|
|
|
121
114
|
setDatabaseOperationTimeThreshold(milliseconds: number): void;
|
|
122
115
|
}
|
|
123
116
|
|
|
117
|
+
/**
|
|
118
|
+
* 初始化 Electron 主进程中的协议栈模块
|
|
119
|
+
*/
|
|
124
120
|
declare const _default: (options: IInitOptions) => RCMainClient;
|
|
125
121
|
|
|
126
122
|
export { _default as default };
|