New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@neondatabase/api-client

Package Overview
Dependencies
Maintainers
0
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neondatabase/api-client - npm Package Compare versions

Comparing version 1.9.1 to 1.10.0

33

dist/api.gen.js

@@ -86,3 +86,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.Api = exports.HttpClient = exports.ContentType = exports.SupportTicketSeverity = exports.IdentityProviderId = exports.MemberRole = exports.BillingSubscriptionType = exports.EndpointPoolerMode = exports.EndpointType = exports.EndpointState = exports.BranchState = exports.ConsumptionHistoryGranularity = exports.OperationStatus = exports.OperationAction = exports.Provisioner = void 0;
exports.Api = exports.HttpClient = exports.ContentType = exports.SupportTicketSeverity = exports.OrgDeletionConditionName = exports.UserDeletionConditionName = exports.IdentityProviderId = exports.MemberRole = exports.BillingSubscriptionType = exports.EndpointPoolerMode = exports.EndpointType = exports.EndpointState = exports.BranchState = exports.ConsumptionHistoryGranularity = exports.OperationStatus = exports.OperationAction = exports.Provisioner = void 0;
/**

@@ -149,6 +149,3 @@ * The Neon compute provisioner.

})(EndpointState || (exports.EndpointState = EndpointState = {}));
/**
* The compute endpoint type. Either `read_write` or `read_only`.
* The `read_only` compute endpoint type is not yet supported.
*/
/** The compute endpoint type. Either `read_write` or `read_only`. */
var EndpointType;

@@ -191,2 +188,12 @@ (function (EndpointType) {

})(IdentityProviderId || (exports.IdentityProviderId = IdentityProviderId = {}));
var UserDeletionConditionName;
(function (UserDeletionConditionName) {
UserDeletionConditionName["ProjectCount"] = "project_count";
UserDeletionConditionName["OrgAdminMembershipCount"] = "org_admin_membership_count";
UserDeletionConditionName["SubscriptionType"] = "subscription_type";
})(UserDeletionConditionName || (exports.UserDeletionConditionName = UserDeletionConditionName = {}));
var OrgDeletionConditionName;
(function (OrgDeletionConditionName) {
OrgDeletionConditionName["ProjectCount"] = "project_count";
})(OrgDeletionConditionName || (exports.OrgDeletionConditionName = OrgDeletionConditionName = {}));
var SupportTicketSeverity;

@@ -263,2 +270,5 @@ (function (SupportTicketSeverity) {

var _this = this;
if (input instanceof FormData) {
return input;
}
return Object.keys(input || {}).reduce(function (formData, key) {

@@ -936,2 +946,15 @@ var property = input[key];

};
/**
* @description List annotations
*
* @tags Branch
* @name ListAnnotations
* @summary List annotations
* @request GET:/annotations
* @secure
*/
_this.listAnnotations = function (query, params) {
if (params === void 0) { params = {}; }
return _this.request(__assign({ path: "/annotations", method: 'GET', query: query, secure: true, format: 'json' }, params));
};
return _this;

@@ -938,0 +961,0 @@ }

2

dist/index.d.ts
export * from './api.gen';
import { Api, ApiConfig } from './api.gen';
export declare const createApiClient: <SecurityDataType = unknown>(config: ApiConfig<SecurityDataType> & {
apiKey: string;
apiKey: string | null;
}) => Api<SecurityDataType>;

@@ -32,4 +32,6 @@ "use strict";

var createApiClient = function (config) {
return new api_gen_1.Api(__assign(__assign({}, config), { headers: __assign(__assign({}, config.headers), { Authorization: "Bearer ".concat(config.apiKey) }) }));
return new api_gen_1.Api(__assign(__assign({}, config), { headers: __assign(__assign({}, config.headers), (config.apiKey && {
Authorization: "Bearer ".concat(config.apiKey),
})) }));
};
exports.createApiClient = createApiClient;

@@ -7,3 +7,3 @@ export * from './api.gen';

config: ApiConfig<SecurityDataType> & {
apiKey: string;
apiKey: string | null;
},

@@ -15,4 +15,6 @@ ) =>

...config.headers,
Authorization: `Bearer ${config.apiKey}`,
...(config.apiKey && {
Authorization: `Bearer ${config.apiKey}`,
}),
},
});
{
"name": "@neondatabase/api-client",
"version": "1.9.1",
"version": "1.10.0",
"description": "Wrapper for Neon API",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc