Skip to content

Commit

Permalink
Merge pull request #41 from nestrilabs/release-please--branches--main…
Browse files Browse the repository at this point in the history
…--changes--next--components--sdk

release: 0.1.0-alpha.9
  • Loading branch information
wanjohiryan authored Jan 18, 2025
2 parents 5245388 + dcb05be commit 9d3d4d5
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-alpha.8"
".": "0.1.0-alpha.9"
}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.1.0-alpha.9 (2025-01-18)

Full Changelog: [v0.1.0-alpha.8...v0.1.0-alpha.9](https://github.com/nestrilabs/nestri-node-sdk/compare/v0.1.0-alpha.8...v0.1.0-alpha.9)

### Features

* **api:** re-add subscriptions ([#40](https://github.com/nestrilabs/nestri-node-sdk/issues/40)) ([dd4abef](https://github.com/nestrilabs/nestri-node-sdk/commit/dd4abef42b06fa9615b5262a136df080f3afd88c))

## 0.1.0-alpha.8 (2025-01-18)

Full Changelog: [v0.1.0-alpha.7...v0.1.0-alpha.8](https://github.com/nestrilabs/nestri-node-sdk/compare/v0.1.0-alpha.7...v0.1.0-alpha.8)
Expand Down
2 changes: 2 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,5 @@ Methods:
- <code title="get /teams">client.teams.<a href="./src/resources/teams.ts">list</a>() -> TeamListResponse</code>
- <code title="delete /teams/{slug}">client.teams.<a href="./src/resources/teams.ts">delete</a>(slug) -> TeamDeleteResponse</code>
- <code title="post /teams/{slug}/invite/{email}">client.teams.<a href="./src/resources/teams.ts">invite</a>(slug, email) -> TeamInviteResponse</code>

# Subscriptions
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nestri/sdk",
"version": "0.1.0-alpha.8",
"version": "0.1.0-alpha.9",
"description": "The official TypeScript library for the Nestri API",
"author": "Nestri <[email protected]>",
"types": "dist/index.d.ts",
Expand Down
5 changes: 5 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
MachineRetrieveResponse,
Machines,
} from './resources/machines';
import { Subscriptions } from './resources/subscriptions';
import {
TeamCreateParams,
TeamCreateResponse,
Expand Down Expand Up @@ -158,6 +159,7 @@ export class Nestri extends Core.APIClient {
games: API.Games = new API.Games(this);
users: API.Users = new API.Users(this);
teams: API.Teams = new API.Teams(this);
subscriptions: API.Subscriptions = new API.Subscriptions(this);

protected override defaultQuery(): Core.DefaultQuery | undefined {
return this._options.defaultQuery;
Expand Down Expand Up @@ -200,6 +202,7 @@ Nestri.Sessions = Sessions;
Nestri.Games = Games;
Nestri.Users = Users;
Nestri.Teams = Teams;
Nestri.Subscriptions = Subscriptions;
export declare namespace Nestri {
export type RequestOptions = Core.RequestOptions;

Expand Down Expand Up @@ -241,6 +244,8 @@ export declare namespace Nestri {
type TeamInviteResponse as TeamInviteResponse,
type TeamCreateParams as TeamCreateParams,
};

export { Subscriptions as Subscriptions };
}

export { toFile, fileFromPath } from './uploads';
Expand Down
1 change: 1 addition & 0 deletions src/resources/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export {
type SessionDeleteResponse,
type SessionCreateParams,
} from './sessions/sessions';
export { Subscriptions } from './subscriptions';
export {
Teams,
type TeamCreateResponse,
Expand Down
5 changes: 5 additions & 0 deletions src/resources/subscriptions.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

import { APIResource } from '../resource';

export class Subscriptions extends APIResource {}
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +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

0 comments on commit 9d3d4d5

Please sign in to comment.