@opensumi/ide-connection 2.25.4-rc-1689059317.0 → 2.26.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/README.md +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -76,7 +76,7 @@ export default class FileTreeService extends Disposable {
|
|
|
76
76
|
this.getFiles();
|
|
77
77
|
}
|
|
78
78
|
createFile = async () => {
|
|
79
|
-
const {content} = await this.fileService.resolveContent('
|
|
79
|
+
const {content} = await this.fileService.resolveContent('{file_path}');
|
|
80
80
|
const file = await this.fileAPI.createFile({
|
|
81
81
|
name: 'name' + Date.now() + '\n' + content,
|
|
82
82
|
path: 'path' + Date.now(),
|
|
@@ -107,7 +107,7 @@ constructor(@Inject(FileServicePath) protected readonly fileService) {
|
|
|
107
107
|
方法调用会转换成一个远程调用进行响应,返回结果
|
|
108
108
|
|
|
109
109
|
```javascript
|
|
110
|
-
const { content } = await this.fileService.resolveContent('
|
|
110
|
+
const { content } = await this.fileService.resolveContent('{file_path}');
|
|
111
111
|
```
|
|
112
112
|
|
|
113
113
|
**前端服务(frontService)** 后端服务(backService) 即在 Browser 环境下运行的代码暴露的能力
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/ide-connection",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.26.0",
|
|
4
4
|
"files": [
|
|
5
5
|
"lib",
|
|
6
6
|
"src"
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
"url": "git@github.com:opensumi/core.git"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@opensumi/ide-core-common": "2.
|
|
20
|
+
"@opensumi/ide-core-common": "2.26.0",
|
|
21
21
|
"@opensumi/vscode-jsonrpc": "^8.0.0-next.2",
|
|
22
22
|
"path-match": "^1.2.4",
|
|
23
23
|
"reconnecting-websocket": "^4.2.0",
|
|
24
24
|
"ws": "^8.9.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@opensumi/ide-components": "2.
|
|
27
|
+
"@opensumi/ide-components": "2.26.0",
|
|
28
28
|
"@opensumi/ide-dev-tool": "1.3.1",
|
|
29
29
|
"mock-socket": "^9.0.2"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "ac1e2c7dbb8e57442142633aee587c454d5925c3"
|
|
32
32
|
}
|