@theholocron/vercel-client 1.7.0 → 1.7.1

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.
Files changed (2) hide show
  1. package/dist/index.mjs +11 -11
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -1,15 +1,4 @@
1
1
  import { createRestClient } from "@theholocron/http-client";
2
- //#region src/utils.ts
3
- function createVercelRestClient(opts) {
4
- return createRestClient({
5
- baseUrl: opts.baseUrl ?? "https://api.vercel.com",
6
- token: opts.token,
7
- defaultQuery: opts.teamId ? { teamId: opts.teamId } : void 0,
8
- vendor: "Vercel",
9
- fetch: opts.fetch
10
- });
11
- }
12
- //#endregion
13
2
  //#region src/deployments/deployments.ts
14
3
  function deployments(rest) {
15
4
  return {
@@ -83,6 +72,17 @@ function user(rest) {
83
72
  return { get: () => rest.request("/v2/user") };
84
73
  }
85
74
  //#endregion
75
+ //#region src/utils.ts
76
+ function createVercelRestClient(opts) {
77
+ return createRestClient({
78
+ baseUrl: opts.baseUrl ?? "https://api.vercel.com",
79
+ token: opts.token,
80
+ defaultQuery: opts.teamId ? { teamId: opts.teamId } : void 0,
81
+ vendor: "Vercel",
82
+ fetch: opts.fetch
83
+ });
84
+ }
85
+ //#endregion
86
86
  //#region src/index.ts
87
87
  function createVercelClient(opts) {
88
88
  const rest = createVercelRestClient(opts);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/vercel-client",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "A TypeScript client for the Vercel API",
5
5
  "homepage": "https://github.com/theholocron/clients/tree/main/packages/vercel-client#readme",
6
6
  "bugs": "https://github.com/theholocron/clients/issues",
@@ -30,7 +30,7 @@
30
30
  }
31
31
  },
32
32
  "dependencies": {
33
- "@theholocron/http-client": "^1.7.0"
33
+ "@theholocron/http-client": "^1.7.1"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/node": "^26.2.0",