mindwire 0.1.18 → 0.1.19
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/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +6 -2
- package/dist/workspace.d.ts +16 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -611,7 +611,7 @@ var GitAccessApi = class {
|
|
|
611
611
|
run(projectId, operation, auth) {
|
|
612
612
|
return this.mw.http.request("POST", `/workspace/projects/${encodeURIComponent(projectId)}/git/${operation}`, { body: { auth } });
|
|
613
613
|
}
|
|
614
|
-
/** Requires health.gitOperationsVersion >= 1. Acceptance persists before Git runs;
|
|
614
|
+
/** Requires health.gitOperationsVersion >= 1 (>= 2 for branch changes). Acceptance persists before Git runs;
|
|
615
615
|
* disconnecting only detaches the client. The same ID/intent never runs twice.
|
|
616
616
|
*/
|
|
617
617
|
start(projectId, request) {
|
|
@@ -621,7 +621,7 @@ var GitAccessApi = class {
|
|
|
621
621
|
const result = await this.mw.http.request(
|
|
622
622
|
"GET",
|
|
623
623
|
`/workspace/projects/${encodeURIComponent(projectId)}/git/operations`,
|
|
624
|
-
{ query: { active: activeOnly } }
|
|
624
|
+
{ query: { active: activeOnly, actionsVersion: 2 } }
|
|
625
625
|
);
|
|
626
626
|
return result.operations;
|
|
627
627
|
}
|
|
@@ -735,7 +735,7 @@ var ServiceApi = class {
|
|
|
735
735
|
};
|
|
736
736
|
|
|
737
737
|
// src/version.ts
|
|
738
|
-
var SDK_VERSION = "0.1.
|
|
738
|
+
var SDK_VERSION = "0.1.19" ;
|
|
739
739
|
|
|
740
740
|
// src/daemon-binary.ts
|
|
741
741
|
function supported(platform, arch) {
|