@better-update/cli 0.29.2 → 0.30.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.29.2";
37
+ var version = "0.30.0";
38
38
 
39
39
  //#endregion
40
40
  //#region src/lib/interactive-mode.ts
@@ -484,6 +484,7 @@ var AndroidUploadKeystore = class extends Schema.Class("AndroidUploadKeystore")(
484
484
  md5Fingerprint: Schema.NullOr(Schema.String),
485
485
  sha1Fingerprint: Schema.NullOr(Schema.String),
486
486
  sha256Fingerprint: Schema.NullOr(Schema.String),
487
+ keystoreType: Schema.NullOr(Schema.Literal("JKS", "PKCS12")),
487
488
  createdAt: DateTimeString,
488
489
  updatedAt: DateTimeString
489
490
  }) {};
@@ -498,7 +499,8 @@ const UploadAndroidUploadKeystoreBody = Schema.Struct({
498
499
  keyAlias: Schema.String.pipe(Schema.minLength(1), Schema.maxLength(200)),
499
500
  md5Fingerprint: Schema.optional(Schema.String.pipe(Schema.maxLength(200))),
500
501
  sha1Fingerprint: Schema.optional(Schema.String.pipe(Schema.maxLength(200))),
501
- sha256Fingerprint: Schema.optional(Schema.String.pipe(Schema.maxLength(200)))
502
+ sha256Fingerprint: Schema.optional(Schema.String.pipe(Schema.maxLength(200))),
503
+ keystoreType: Schema.optional(Schema.Literal("JKS", "PKCS12"))
502
504
  });
503
505
  const DeleteAndroidUploadKeystoreResult = DeletedResult;
504
506
  /** Encrypted envelope plus metadata; the CLI decrypts `ciphertext` to recover `{ keystoreBase64, keystorePassword, keyPassword }`. */
@@ -19658,7 +19660,8 @@ const generateAndUploadKeystore = (api, input) => Effect.scoped(Effect.gen(funct
19658
19660
  keyAlias: input.keyAlias,
19659
19661
  md5Fingerprint: fingerprints.md5,
19660
19662
  sha1Fingerprint: fingerprints.sha1,
19661
- sha256Fingerprint: fingerprints.sha256
19663
+ sha256Fingerprint: fingerprints.sha256,
19664
+ keystoreType: "JKS"
19662
19665
  });
19663
19666
  const envelope = yield* sealForUpload({
19664
19667
  session,
@@ -26198,7 +26201,8 @@ const uploadAndroidKeystore = (api, input, bytes) => Effect.gen(function* () {
26198
26201
  keyAlias: parsed.keyAlias,
26199
26202
  md5Fingerprint: fingerprints.md5,
26200
26203
  sha1Fingerprint: fingerprints.sha1,
26201
- sha256Fingerprint: fingerprints.sha256
26204
+ sha256Fingerprint: fingerprints.sha256,
26205
+ keystoreType: parsed.format
26202
26206
  });
26203
26207
  const envelope = yield* sealForUpload({
26204
26208
  session: yield* openVaultSessionInteractive(api),