Socket
Socket
Sign inDemoInstall

@onmetal/node

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onmetal/node - npm Package Compare versions

Comparing version 0.1.0-alpha.8 to 0.1.0-alpha.9

resources/environments.d.ts

10

CHANGELOG.md
# Changelog
## 0.1.0-alpha.9 (2024-06-05)
Full Changelog: [v0.1.0-alpha.8...v0.1.0-alpha.9](https://github.com/onmetal-dev/node/compare/v0.1.0-alpha.8...v0.1.0-alpha.9)
### Features
* **api:** update via SDK Studio ([#26](https://github.com/onmetal-dev/node/issues/26)) ([74ebf17](https://github.com/onmetal-dev/node/commit/74ebf175dd4b0d0f7d3d2fcb2359606f9d9c18a1))
* **api:** update via SDK Studio ([#28](https://github.com/onmetal-dev/node/issues/28)) ([38ebd28](https://github.com/onmetal-dev/node/commit/38ebd28861d30505fc491384a2eb80af3c4174e4))
* **api:** update via SDK Studio ([#29](https://github.com/onmetal-dev/node/issues/29)) ([6d73f37](https://github.com/onmetal-dev/node/commit/6d73f37ed517faff1f112869cd28f4364ba282a6))
## 0.1.0-alpha.8 (2024-05-22)

@@ -4,0 +14,0 @@

@@ -82,3 +82,5 @@ import * as Core from "./core.js";

applications: API.Applications;
environments: API.Environments;
teams: API.Teams;
up: API.Up;
protected defaultQuery(): Core.DefaultQuery | undefined;

@@ -126,7 +128,15 @@ protected defaultHeaders(opts: Core.FinalRequestOptions): Core.Headers;

export import ApplicationCreateParams = API.ApplicationCreateParams;
export import Environments = API.Environments;
export import Environment = API.Environment;
export import EnvironmentListResponse = API.EnvironmentListResponse;
export import EnvironmentCreateParams = API.EnvironmentCreateParams;
export import EnvironmentListParams = API.EnvironmentListParams;
export import Teams = API.Teams;
export import Team = API.Team;
export import TeamListResponse = API.TeamListResponse;
export import Up = API.Up;
export import UpCreateResponse = API.UpCreateResponse;
export import UpCreateParams = API.UpCreateParams;
}
export default Metal;
//# sourceMappingURL=index.d.ts.map

4

index.js

@@ -67,3 +67,5 @@ "use strict";

this.applications = new API.Applications(this);
this.environments = new API.Environments(this);
this.teams = new API.Teams(this);
this.up = new API.Up(this);
this._options = options;

@@ -111,3 +113,5 @@ this.metalAPIKey = metalAPIKey;

Metal.Applications = API.Applications;
Metal.Environments = API.Environments;
Metal.Teams = API.Teams;
Metal.Up = API.Up;
})(Metal = exports.Metal || (exports.Metal = {}));

@@ -114,0 +118,0 @@ exports = module.exports = Metal;

2

package.json
{
"name": "@onmetal/node",
"version": "0.1.0-alpha.8",
"version": "0.1.0-alpha.9",
"description": "The official TypeScript library for the Metal API",

@@ -5,0 +5,0 @@ "author": "Metal <dev-feedback@metal.com>",

# Metal Node API Library
[![NPM version](https://img.shields.io/npm/v/@onmetal/node.svg)](https://npmjs.org/package/@onmetal/node)
[![NPM version](https://img.shields.io/npm/v/@onmetal/node.svg)](https://npmjs.org/package/@onmetal/node) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/@onmetal/node)

@@ -5,0 +5,0 @@ This library provides convenient access to the Metal REST API from server-side TypeScript or JavaScript.

export { Application, ApplicationListResponse, ApplicationDeleteResponse, ApplicationCreateParams, Applications, } from "./applications.js";
export { Environment, EnvironmentListResponse, EnvironmentCreateParams, EnvironmentListParams, Environments, } from "./environments.js";
export { HetznerCluster, HetznerClusterListResponse, HetznerClusterDeleteResponse, HetznerClusterCreateParams, HetznerClusters, } from "./hetzner-clusters.js";
export { HetznerProject, HetznerProjectListResponse, HetznerProjectDeleteResponse, HetznerProjectCreateParams, HetznerProjects, } from "./hetzner-projects.js";
export { Team, TeamListResponse, Teams } from "./teams.js";
export { UpCreateResponse, UpCreateParams, Up } from "./up.js";
export { WhoAmI, Whoami } from "./whoami.js";
//# sourceMappingURL=index.d.ts.map
"use strict";
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Whoami = exports.Teams = exports.HetznerProjects = exports.HetznerClusters = exports.Applications = void 0;
exports.Whoami = exports.Up = exports.Teams = exports.HetznerProjects = exports.HetznerClusters = exports.Environments = exports.Applications = void 0;
var applications_1 = require("./applications.js");
Object.defineProperty(exports, "Applications", { enumerable: true, get: function () { return applications_1.Applications; } });
var environments_1 = require("./environments.js");
Object.defineProperty(exports, "Environments", { enumerable: true, get: function () { return environments_1.Environments; } });
var hetzner_clusters_1 = require("./hetzner-clusters.js");

@@ -13,4 +15,6 @@ Object.defineProperty(exports, "HetznerClusters", { enumerable: true, get: function () { return hetzner_clusters_1.HetznerClusters; } });

Object.defineProperty(exports, "Teams", { enumerable: true, get: function () { return teams_1.Teams; } });
var up_1 = require("./up.js");
Object.defineProperty(exports, "Up", { enumerable: true, get: function () { return up_1.Up; } });
var whoami_1 = require("./whoami.js");
Object.defineProperty(exports, "Whoami", { enumerable: true, get: function () { return whoami_1.Whoami; } });
//# sourceMappingURL=index.js.map

@@ -123,3 +123,5 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

applications: API.Applications = new API.Applications(this);
environments: API.Environments = new API.Environments(this);
teams: API.Teams = new API.Teams(this);
up: API.Up = new API.Up(this);

@@ -204,7 +206,17 @@ protected override defaultQuery(): Core.DefaultQuery | undefined {

export import Environments = API.Environments;
export import Environment = API.Environment;
export import EnvironmentListResponse = API.EnvironmentListResponse;
export import EnvironmentCreateParams = API.EnvironmentCreateParams;
export import EnvironmentListParams = API.EnvironmentListParams;
export import Teams = API.Teams;
export import Team = API.Team;
export import TeamListResponse = API.TeamListResponse;
export import Up = API.Up;
export import UpCreateResponse = API.UpCreateResponse;
export import UpCreateParams = API.UpCreateParams;
}
export default Metal;

@@ -11,2 +11,9 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

export {
Environment,
EnvironmentListResponse,
EnvironmentCreateParams,
EnvironmentListParams,
Environments,
} from './environments';
export {
HetznerCluster,

@@ -26,2 +33,3 @@ HetznerClusterListResponse,

export { Team, TeamListResponse, Teams } from './teams';
export { UpCreateResponse, UpCreateParams, Up } from './up';
export { WhoAmI, Whoami } from './whoami';

@@ -1,1 +0,1 @@

export const VERSION = '0.1.0-alpha.8'; // x-release-please-version
export const VERSION = '0.1.0-alpha.9'; // x-release-please-version

@@ -1,2 +0,2 @@

export declare const VERSION = "0.1.0-alpha.8";
export declare const VERSION = "0.1.0-alpha.9";
//# sourceMappingURL=version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VERSION = void 0;
exports.VERSION = '0.1.0-alpha.8'; // x-release-please-version
exports.VERSION = '0.1.0-alpha.9'; // x-release-please-version
//# sourceMappingURL=version.js.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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