@zixt/host 0.0.68 → 0.0.69
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.js +10 -8
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ import { homedir } from "node:os";
|
|
|
31
31
|
// package.json
|
|
32
32
|
var package_default = {
|
|
33
33
|
name: "@zixt/host",
|
|
34
|
-
version: "0.0.
|
|
34
|
+
version: "0.0.69",
|
|
35
35
|
type: "module",
|
|
36
36
|
exports: {
|
|
37
37
|
".": "./src/client.ts",
|
|
@@ -16758,7 +16758,7 @@ var ListTasksResponse = external_exports.object({
|
|
|
16758
16758
|
}).strict();
|
|
16759
16759
|
|
|
16760
16760
|
// ../../packages/contracts/src/protocol.ts
|
|
16761
|
-
var PROTOCOL_VERSION =
|
|
16761
|
+
var PROTOCOL_VERSION = 8;
|
|
16762
16762
|
var BROWSER_PROFILE_INVENTORY_PAGE_SIZE = 200;
|
|
16763
16763
|
var TASK_CANCEL_ACK_EVENT = "zixt.task.cancel.acknowledged";
|
|
16764
16764
|
var TASK_CREDENTIAL_ROLLOVER_ACK_EVENT = "zixt.task.credential_rollover.acknowledged";
|
|
@@ -17452,7 +17452,7 @@ var GithubTaskGrantBase = {
|
|
|
17452
17452
|
installationAccount: external_exports.object({
|
|
17453
17453
|
accountId: GithubNumericId,
|
|
17454
17454
|
login: external_exports.string().min(1).max(100),
|
|
17455
|
-
type: external_exports.
|
|
17455
|
+
type: external_exports.enum(["Organization", "User"])
|
|
17456
17456
|
}).strict(),
|
|
17457
17457
|
installationRevision: external_exports.number().int().min(1),
|
|
17458
17458
|
ownershipRevision: external_exports.number().int().min(1),
|
|
@@ -17567,6 +17567,13 @@ var GithubTaskGrant = external_exports.union([
|
|
|
17567
17567
|
message: "operations and effectiveCapabilities must be the same duplicate-free set"
|
|
17568
17568
|
});
|
|
17569
17569
|
}
|
|
17570
|
+
if (grant.installationAccount.type === "User" && grant.operations.includes("repository.create")) {
|
|
17571
|
+
ctx.addIssue({
|
|
17572
|
+
code: "custom",
|
|
17573
|
+
path: ["operations"],
|
|
17574
|
+
message: "personal GitHub installations cannot grant repository creation"
|
|
17575
|
+
});
|
|
17576
|
+
}
|
|
17570
17577
|
});
|
|
17571
17578
|
var LinearProviderTaskGrant = LinearTaskGrant.extend({
|
|
17572
17579
|
provider: external_exports.literal("linear")
|
|
@@ -19842,11 +19849,6 @@ var HttpOrigin2 = external_exports.url().max(2e3).refine((value) => {
|
|
|
19842
19849
|
return (parsed.protocol === "https:" || parsed.protocol === "http:" && (parsed.hostname === "localhost" || parsed.hostname === "127.0.0.1")) && parsed.origin === value && parsed.username === "" && parsed.password === "";
|
|
19843
19850
|
}, "must be an exact credential-free HTTPS origin or local loopback HTTP origin");
|
|
19844
19851
|
var StartGithubConnectionRequest = external_exports.object({
|
|
19845
|
-
/**
|
|
19846
|
-
* Reopen GitHub's account picker instead of the account already connected.
|
|
19847
|
-
* Configuring the known account is one click; changing it is deliberate.
|
|
19848
|
-
*/
|
|
19849
|
-
switchAccount: external_exports.boolean().optional(),
|
|
19850
19852
|
returnPath: SafeReturnPath2.optional()
|
|
19851
19853
|
}).strict();
|
|
19852
19854
|
var StartGithubTeammateOAuthRequest = external_exports.object({
|