@better-update/cli 0.30.0 → 0.31.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/dist/index.mjs CHANGED
@@ -34,7 +34,7 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
34
34
 
35
35
  //#endregion
36
36
  //#region package.json
37
- var version = "0.30.0";
37
+ var version = "0.31.0";
38
38
 
39
39
  //#endregion
40
40
  //#region src/lib/interactive-mode.ts
@@ -1704,6 +1704,7 @@ var GoogleServiceAccountKey = class extends Schema.Class("GoogleServiceAccountKe
1704
1704
  clientEmail: Schema.String,
1705
1705
  privateKeyId: Schema.String,
1706
1706
  googleProjectId: Schema.String,
1707
+ clientId: Schema.NullOr(Schema.String),
1707
1708
  createdAt: DateTimeString,
1708
1709
  updatedAt: DateTimeString
1709
1710
  }) {};
@@ -1717,7 +1718,8 @@ const UploadGoogleServiceAccountKeyBody = Schema.Struct({
1717
1718
  ...encryptedEnvelopeFields,
1718
1719
  clientEmail: Schema.String.pipe(Schema.minLength(1), Schema.maxLength(320)),
1719
1720
  privateKeyId: Schema.String.pipe(Schema.minLength(1), Schema.maxLength(200)),
1720
- googleProjectId: Schema.String.pipe(Schema.minLength(1), Schema.maxLength(200))
1721
+ googleProjectId: Schema.String.pipe(Schema.minLength(1), Schema.maxLength(200)),
1722
+ clientId: Schema.optional(Schema.NullOr(Schema.String.pipe(Schema.maxLength(200))))
1721
1723
  });
1722
1724
  const DeleteGoogleServiceAccountKeyResult = DeletedResult;
1723
1725
  /** Encrypted envelope plus metadata; the CLI decrypts `ciphertext` to recover `{ json }`. */
@@ -25982,7 +25984,8 @@ const parseGoogleServiceAccountKey = (jsonText) => Effect.gen(function* () {
25982
25984
  return {
25983
25985
  clientEmail: raw.client_email,
25984
25986
  privateKeyId: raw.private_key_id,
25985
- googleProjectId: raw.project_id
25987
+ googleProjectId: raw.project_id,
25988
+ clientId: isNonEmptyString(raw.client_id) ? raw.client_id : null
25986
25989
  };
25987
25990
  });
25988
25991
 
@@ -26230,7 +26233,8 @@ const uploadAndroidGoogleServiceAccountKey = (api, input, bytes) => Effect.gen(f
26230
26233
  const metadata = {
26231
26234
  clientEmail: parsed.clientEmail,
26232
26235
  privateKeyId: parsed.privateKeyId,
26233
- googleProjectId: parsed.googleProjectId
26236
+ googleProjectId: parsed.googleProjectId,
26237
+ clientId: parsed.clientId
26234
26238
  };
26235
26239
  const envelope = yield* sealForUpload({
26236
26240
  session: yield* openVaultSessionInteractive(api),