@better-update/cli 0.47.4 → 0.47.5

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
@@ -35,7 +35,7 @@ var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))();
35
35
 
36
36
  //#endregion
37
37
  //#region package.json
38
- var version = "0.47.4";
38
+ var version = "0.47.5";
39
39
 
40
40
  //#endregion
41
41
  //#region src/lib/interactive-mode.ts
@@ -27941,7 +27941,7 @@ const generateAndUploadAscApiKeyViaAppleId = (api, input) => Effect.gen(function
27941
27941
  keyType: AppleUtils.ApiKeyType.PUBLIC_API
27942
27942
  }));
27943
27943
  const p8Pem = yield* downloadAscKeyWithRetry(key);
27944
- const displayName = input.name ?? key.id;
27944
+ const displayName = input.name ?? clampAscApiKeyNickname(input.nickname);
27945
27945
  const stored = yield* Effect.gen(function* () {
27946
27946
  const issuerId = (yield* wrap("apple-fetch-asc-key", async () => AppleUtils.ApiKey.infoAsync(ctx, { id: key.id }))).attributes.provider?.id;
27947
27947
  if (issuerId === void 0 || issuerId.length === 0) return yield* new AppleIdGenerateFailedError({