vercel-api-js 0.1.18 → 0.1.19

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.
@@ -1,10 +1,10 @@
1
1
 
2
- > vercel-api-js@0.1.18 build /home/runner/work/openapi-clients/openapi-clients/packages/vercel-api-js
2
+ > vercel-api-js@0.1.19 build /home/runner/work/openapi-clients/openapi-clients/packages/vercel-api-js
3
3
  > rimraf dist && rollup -c
4
4
 
5
5
  
6
6
  ./src/index.ts → dist/index.cjs, dist/index.mjs...
7
- created dist/index.cjs, dist/index.mjs in 6.4s
7
+ created dist/index.cjs, dist/index.mjs in 7.3s
8
8
  
9
9
  ./src/index.ts → dist/index.d.ts...
10
- created dist/index.d.ts in 7.9s
10
+ created dist/index.d.ts in 7.1s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # vercel-api-js
2
2
 
3
+ ## 0.1.19
4
+
5
+ ### Patch Changes
6
+
7
+ - 1ab0e65: [OpenAPI] Spec updates for vercel-api-js
8
+
3
9
  ## 0.1.18
4
10
 
5
11
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -14,7 +14,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
14
14
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
15
  PERFORMANCE OF THIS SOFTWARE.
16
16
  ***************************************************************************** */
17
- /* global Reflect, Promise */
17
+ /* global Reflect, Promise, SuppressedError, Symbol */
18
18
 
19
19
 
20
20
  function __classPrivateFieldGet(receiver, state, kind, f) {
@@ -28,7 +28,12 @@ function __classPrivateFieldSet(receiver, state, value, kind, f) {
28
28
  if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
29
29
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
30
30
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
31
- }
31
+ }
32
+
33
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
34
+ var e = new Error(message);
35
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
36
+ };
32
37
 
33
38
  function notEmpty(value) {
34
39
  return value !== null && value !== undefined;
@@ -511,7 +516,12 @@ const getTeamMembers = (variables, signal) => fetch$1({
511
516
  /**
512
517
  * Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user can be specified with an email or an ID. If both email and ID are provided, ID will take priority.
513
518
  */
514
- const inviteUserToTeam = (variables, signal) => fetch$1({ url: '/v1/teams/{teamId}/members', method: 'post', ...variables, signal });
519
+ const inviteUserToTeam = (variables, signal) => fetch$1({
520
+ url: '/v1/teams/{teamId}/members',
521
+ method: 'post',
522
+ ...variables,
523
+ signal
524
+ });
515
525
  /**
516
526
  * Request access to a team as a member. An owner has to approve the request. Only 10 users can request access to a team at the same time.
517
527
  */