@opensumi/ide-core-browser 2.16.11-next-1651733725.0 → 2.16.13
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.
|
@@ -2,9 +2,5 @@ import { Injector } from '@opensumi/di';
|
|
|
2
2
|
import { RPCMessageConnection } from '@opensumi/ide-connection';
|
|
3
3
|
import { ModuleConstructor } from './app';
|
|
4
4
|
export declare function createClientConnection2(injector: Injector, modules: ModuleConstructor[], wsPath: string, onReconnect: () => void, protocols?: string[], clientId?: string): Promise<void>;
|
|
5
|
-
/**
|
|
6
|
-
* electron 环境下不要调用这个函数,该函数的 createSocketConnection 是 browser 环境下的
|
|
7
|
-
*/
|
|
8
|
-
export declare function createNetClientConnection(injector: Injector, modules: ModuleConstructor[], connection: any): Promise<void>;
|
|
9
5
|
export declare function bindConnectionService(injector: Injector, modules: ModuleConstructor[], connection: RPCMessageConnection): Promise<void>;
|
|
10
6
|
//# sourceMappingURL=connection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection.d.ts","sourceRoot":"","sources":["../../src/bootstrap/connection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAY,MAAM,cAAc,CAAC;AAClD,OAAO,EAAoC,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAgBlG,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAM1C,wBAAsB,uBAAuB,CAC3C,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,iBAAiB,EAAE,EAC5B,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,IAAI,EACvB,SAAS,CAAC,EAAE,MAAM,EAAE,EACpB,QAAQ,CAAC,EAAE,MAAM,iBAkClB;AAED
|
|
1
|
+
{"version":3,"file":"connection.d.ts","sourceRoot":"","sources":["../../src/bootstrap/connection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAY,MAAM,cAAc,CAAC;AAClD,OAAO,EAAoC,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAgBlG,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAM1C,wBAAsB,uBAAuB,CAC3C,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,iBAAiB,EAAE,EAC5B,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,MAAM,IAAI,EACvB,SAAS,CAAC,EAAE,MAAM,EAAE,EACpB,QAAQ,CAAC,EAAE,MAAM,iBAkClB;AAED,wBAAsB,qBAAqB,CACzC,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,iBAAiB,EAAE,EAC5B,UAAU,EAAE,oBAAoB,iBA8CjC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.bindConnectionService = exports.
|
|
3
|
+
exports.bindConnectionService = exports.createClientConnection2 = void 0;
|
|
4
4
|
const ide_connection_1 = require("@opensumi/ide-connection");
|
|
5
5
|
const browser_1 = require("@opensumi/ide-connection/lib/browser");
|
|
6
6
|
const message_1 = require("@opensumi/ide-connection/lib/common/message");
|
|
@@ -38,13 +38,6 @@ async function createClientConnection2(injector, modules, wsPath, onReconnect, p
|
|
|
38
38
|
bindConnectionService(injector, modules, (0, message_1.createWebSocketConnection)(channel));
|
|
39
39
|
}
|
|
40
40
|
exports.createClientConnection2 = createClientConnection2;
|
|
41
|
-
/**
|
|
42
|
-
* electron 环境下不要调用这个函数,该函数的 createSocketConnection 是 browser 环境下的
|
|
43
|
-
*/
|
|
44
|
-
async function createNetClientConnection(injector, modules, connection) {
|
|
45
|
-
bindConnectionService(injector, modules, (0, browser_1.createSocketConnection)(connection));
|
|
46
|
-
}
|
|
47
|
-
exports.createNetClientConnection = createNetClientConnection;
|
|
48
41
|
async function bindConnectionService(injector, modules, connection) {
|
|
49
42
|
const clientCenter = new ide_connection_1.RPCServiceCenter();
|
|
50
43
|
clientCenter.setConnection(connection);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../../src/bootstrap/connection.ts"],"names":[],"mappings":";;;AACA,6DAAkG;AAClG,
|
|
1
|
+
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../../src/bootstrap/connection.ts"],"names":[],"mappings":";;;AACA,6DAAkG;AAClG,kEAAwE;AACxE,yEAAwF;AACxF,+DAQmC;AAGnC,gDAAuD;AAIvD,wBAAwB;AACxB,oBAAoB;AACpB,MAAM,aAAa,GAAG,IAAA,gCAAc,GAAE,CAAC;AAEhC,KAAK,UAAU,uBAAuB,CAC3C,QAAkB,EAClB,OAA4B,EAC5B,MAAc,EACd,WAAuB,EACvB,SAAoB,EACpB,QAAiB;IAEjB,MAAM,eAAe,GAAqB,QAAQ,CAAC,GAAG,CAAC,kCAAgB,CAAC,CAAC;IACzE,MAAM,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAC,2BAAS,CAAC,CAAC;IACzC,MAAM,YAAY,GAAG,QAAQ,CAAC,GAAG,CAAC,mCAAqB,CAAC,CAAC;IAEzD,MAAM,gBAAgB,GAAG,IAAI,0BAAgB,CAAC,MAAM,EAAE,aAAa,EAAE,SAAS,EAAE,QAAQ,CAAC,CAAC;IAC1F,gBAAgB,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;IAC9C,gBAAgB,CAAC,UAAU,CAAC,gBAAgB,CAAC,MAAM,EAAE,KAAK,IAAI,EAAE;QAC9D,MAAM,YAAY,CAAC,YAAY,CAAC,yBAAyB,CAAC,CAAC;QAC3D,QAAQ,CAAC,IAAI,CAAC,IAAI,4CAA0B,EAAE,CAAC,CAAC;IAClD,CAAC,CAAC,CAAC;IAEH,gBAAgB,CAAC,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,KAAK,IAAI,EAAE;QAC/D,MAAM,YAAY,CAAC,YAAY,CAAC,yBAAyB,CAAC,CAAC;QAC3D,QAAQ,CAAC,I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EAAE;QAC5B,MAAM,cAAc,GAAG,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAgB,CAAC;QAC3D,IAAI,cAAc,CAAC,YAAY,EAAE;YAC/B,KAAK,MAAM,WAAW,IAAI,cAAc,CAAC,YAAY,EAAE;gBACrD,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAClC;SACF;KACF;IAED,KAAK,MAAM,WAAW,IAAI,cAAc,EAAE;QACxC,MAAM,EAAE,WAAW,EAAE,GAAG,WAAW,CAAC;QACpC,MAAM,UAAU,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;QAE9C,MAAM,aAAa,GAAG;YACpB,KAAK,EAAE,WAAW;YAClB,QAAQ,EAAE,UAAU;SACT,CAAC;QAEd,QAAQ,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC;QACrC,mDAAmD;QACnD,IAAI,WAAW,CAAC,WAAW,EAAE;YAC3B,wBAAwB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;SAC5C;KACF;IAED,KAAK,MAAM,WAAW,IAAI,wBAAwB,EAAE;QAClD,MAAM,EAAE,WAAW,EAAE,GAAG,WAAW,CAAC;QACpC,MAAM,UAAU,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;QAC9C,MAAM,aAAa,GAAG,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,WAAY,CAAC,CAAC;QAC7D,UAAU,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;KAC5C;AACH,CAAC;AAjDD,sDAiDC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/ide-core-browser",
|
|
3
|
-
"version": "2.16.
|
|
3
|
+
"version": "2.16.13",
|
|
4
4
|
"description": "@opensumi/ide-core-browser",
|
|
5
5
|
"files": [
|
|
6
6
|
"lib"
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"build": "tsc --build ../../configs/ts/references/tsconfig.core-browser.json"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@opensumi/ide-components": "2.16.
|
|
21
|
-
"@opensumi/ide-connection": "2.16.
|
|
22
|
-
"@opensumi/ide-core-common": "2.16.
|
|
20
|
+
"@opensumi/ide-components": "2.16.13",
|
|
21
|
+
"@opensumi/ide-connection": "2.16.13",
|
|
22
|
+
"@opensumi/ide-core-common": "2.16.13",
|
|
23
23
|
"@opensumi/vscode-debugprotocol": "1.49.0-beta.1",
|
|
24
24
|
"@vscode/codicons": "0.0.27",
|
|
25
25
|
"ajv": "^6.10.0",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"vscode-languageserver-protocol": "^3.14.1",
|
|
54
54
|
"vscode-textmate": "5.4.0"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "f2e1058b04384f3e8b7c415ef4d022df7d6f56d6"
|
|
57
57
|
}
|