@vercel/client 13.3.4 → 13.4.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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @vercel/client
2
2
 
3
- [![Join the community on GitHub Discussions](https://badgen.net/badge/join%20the%20discussion/on%20github/black?icon=github)](https://github.com/vercel/vercel/discussions)
3
+ [Join the Vercel Community](https://vercel.community/)
4
4
 
5
5
  The official Node.js client for deploying to [Vercel](https://vercel.com).
6
6
 
package/dist/types.d.ts CHANGED
@@ -7,7 +7,7 @@ export interface Dictionary<T> {
7
7
  [key: string]: T;
8
8
  }
9
9
  export declare const VALID_ARCHIVE_FORMATS: readonly ["tgz"];
10
- export type ArchiveFormat = typeof VALID_ARCHIVE_FORMATS[number];
10
+ export type ArchiveFormat = (typeof VALID_ARCHIVE_FORMATS)[number];
11
11
  export interface VercelClientOptions {
12
12
  token: string;
13
13
  path: string | string[];
@@ -65,6 +65,9 @@ export interface Deployment {
65
65
  alias: string[];
66
66
  aliasAssigned: boolean;
67
67
  aliasError: string | null;
68
+ expiration?: number;
69
+ proposedExpiration?: number;
70
+ undeletedAt?: number;
68
71
  }
69
72
  export interface DeploymentBuild {
70
73
  id: string;
@@ -5,7 +5,7 @@ import { VercelClientOptions, VercelConfig } from '../types';
5
5
  type Ignore = ReturnType<typeof ignore>;
6
6
  export declare const API_FILES = "/v2/files";
7
7
  declare const EVENTS_ARRAY: readonly ["hashes-calculated", "file-count", "file-uploaded", "all-files-uploaded", "created", "building", "ready", "alias-assigned", "warning", "error", "notice", "tip", "canceled", "checks-registered", "checks-completed", "checks-running", "checks-conclusion-succeeded", "checks-conclusion-failed", "checks-conclusion-skipped", "checks-conclusion-canceled"];
8
- export type DeploymentEventType = typeof EVENTS_ARRAY[number];
8
+ export type DeploymentEventType = (typeof EVENTS_ARRAY)[number];
9
9
  export declare const EVENTS: Set<"hashes-calculated" | "file-count" | "file-uploaded" | "all-files-uploaded" | "created" | "building" | "ready" | "alias-assigned" | "warning" | "error" | "notice" | "tip" | "canceled" | "checks-registered" | "checks-completed" | "checks-running" | "checks-conclusion-succeeded" | "checks-conclusion-failed" | "checks-conclusion-skipped" | "checks-conclusion-canceled">;
10
10
  export declare function getApiDeploymentsUrl(): string;
11
11
  export declare function parseVercelConfig(filePath?: string): Promise<VercelConfig>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/client",
3
- "version": "13.3.4",
3
+ "version": "13.4.0",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "homepage": "https://vercel.com",