@tapi-dev/sdk 0.1.6 → 0.1.7

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.
package/dist/catalog.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { HttpClient } from "./client";
2
- import type { SdkCatalog } from "./types";
1
+ import type { HttpClient } from "./client.js";
2
+ import type { SdkCatalog } from "./types.js";
3
3
  export declare class CatalogResource {
4
4
  private readonly http;
5
5
  constructor(http: HttpClient);
package/dist/cli.d.ts CHANGED
@@ -20,6 +20,10 @@ export interface StudioReleaseManifest {
20
20
  version?: string;
21
21
  source?: string;
22
22
  manifestUrl?: string;
23
+ mobileChrome?: {
24
+ source?: string;
25
+ executable?: string;
26
+ };
23
27
  };
24
28
  }
25
29
  interface StudioCliOptions {
package/dist/cli.js CHANGED
@@ -10,7 +10,7 @@ import { performance } from "node:perf_hooks";
10
10
  import { Readable } from "node:stream";
11
11
  import { pipeline } from "node:stream/promises";
12
12
  import { fileURLToPath } from "node:url";
13
- import { TapiClient } from "./index";
13
+ import { TapiClient } from "./index.js";
14
14
  const DEFAULT_DOWNLOADS_BASE_URL = "https://d4xaf52nfwiok.cloudfront.net";
15
15
  const DEFAULT_STUDIO_API_BASE_URL = "https://determined-motivation-production.up.railway.app";
16
16
  const DEFAULT_STUDIO_AUTH_HTML_URL = "https://rsarlong-1f92fd.gitlab.io/auth.html";
package/dist/client.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { TapiClientOptions } from "./types";
1
+ import type { TapiClientOptions } from "./types.js";
2
2
  export declare class HttpClient {
3
3
  private readonly baseUrl;
4
4
  private readonly apiKey;
package/dist/client.js CHANGED
@@ -1,4 +1,4 @@
1
- import { TapiError } from "./errors";
1
+ import { TapiError } from "./errors.js";
2
2
  export class HttpClient {
3
3
  baseUrl;
4
4
  apiKey;
@@ -1,5 +1,5 @@
1
- import type { HttpClient } from "./client";
2
- import type { CloudBatchRun, CloudBalance, CloudCreditCheckout, CloudCreditCheckoutRequest, CloudRunEvent, CloudRunResults, CloudRunUser } from "./types";
1
+ import type { HttpClient } from "./client.js";
2
+ import type { CloudBatchRun, CloudBalance, CloudCreditCheckout, CloudCreditCheckoutRequest, CloudRunEvent, CloudRunResults, CloudRunUser } from "./types.js";
3
3
  export declare class CloudRunsResource {
4
4
  private readonly http;
5
5
  constructor(http: HttpClient);
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { CloudRunsResource } from "./cloud-runs";
2
- import { CatalogResource } from "./catalog";
3
- import { RunnersResource } from "./runners";
4
- import { RunsResource } from "./runs";
5
- import { RuntimeResource } from "./runtime";
6
- import type { TapiClientOptions } from "./types";
7
- import { WebsiteApisResource } from "./website-apis";
1
+ import { CloudRunsResource } from "./cloud-runs.js";
2
+ import { CatalogResource } from "./catalog.js";
3
+ import { RunnersResource } from "./runners.js";
4
+ import { RunsResource } from "./runs.js";
5
+ import { RuntimeResource } from "./runtime.js";
6
+ import type { TapiClientOptions } from "./types.js";
7
+ import { WebsiteApisResource } from "./website-apis.js";
8
8
  export declare class TapiClient {
9
9
  readonly catalog: CatalogResource;
10
10
  readonly cloudRuns: CloudRunsResource;
@@ -14,5 +14,5 @@ export declare class TapiClient {
14
14
  readonly websiteApis: WebsiteApisResource;
15
15
  constructor(options: TapiClientOptions);
16
16
  }
17
- export * from "./errors";
18
- export * from "./types";
17
+ export * from "./errors.js";
18
+ export * from "./types.js";
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
- import { HttpClient } from "./client";
2
- import { CloudRunsResource } from "./cloud-runs";
3
- import { CatalogResource } from "./catalog";
4
- import { RunnersResource } from "./runners";
5
- import { RunsResource } from "./runs";
6
- import { RuntimeResource } from "./runtime";
7
- import { WebsiteApisResource } from "./website-apis";
1
+ import { HttpClient } from "./client.js";
2
+ import { CloudRunsResource } from "./cloud-runs.js";
3
+ import { CatalogResource } from "./catalog.js";
4
+ import { RunnersResource } from "./runners.js";
5
+ import { RunsResource } from "./runs.js";
6
+ import { RuntimeResource } from "./runtime.js";
7
+ import { WebsiteApisResource } from "./website-apis.js";
8
8
  export class TapiClient {
9
9
  catalog;
10
10
  cloudRuns;
@@ -22,5 +22,5 @@ export class TapiClient {
22
22
  this.websiteApis = new WebsiteApisResource(http);
23
23
  }
24
24
  }
25
- export * from "./errors";
26
- export * from "./types";
25
+ export * from "./errors.js";
26
+ export * from "./types.js";
package/dist/runners.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { HttpClient } from "./client";
2
- import type { TapiRunner } from "./types";
1
+ import type { HttpClient } from "./client.js";
2
+ import type { TapiRunner } from "./types.js";
3
3
  export declare class RunnersResource {
4
4
  private readonly http;
5
5
  constructor(http: HttpClient);
package/dist/runs.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { HttpClient } from "./client";
2
- import type { TapiRun } from "./types";
1
+ import type { HttpClient } from "./client.js";
2
+ import type { TapiRun } from "./types.js";
3
3
  export declare class RunsResource {
4
4
  private readonly http;
5
5
  constructor(http: HttpClient);
package/dist/runtime.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { HttpClient } from "./client";
2
- import type { CreatePermProfileRequest, CreateRuntimeCloneRequest, LaunchPermProfileSetupRequest, LocalWebSocketConstructor, ProvisionTempProfilesRequest, PromoteTempProfileRequest, RuntimeProfileListResponse, RuntimeProfileResponse, RuntimeProfilesDestroyedResponse, RuntimeRequirements, TapiClientOptions } from "./types";
1
+ import type { HttpClient } from "./client.js";
2
+ import type { CreatePermProfileRequest, CreateRuntimeCloneRequest, LaunchPermProfileSetupRequest, LocalWebSocketConstructor, ProvisionTempProfilesRequest, PromoteTempProfileRequest, RuntimeProfileListResponse, RuntimeProfileResponse, RuntimeProfilesDestroyedResponse, RuntimeRequirements, TapiClientOptions } from "./types.js";
3
3
  export declare class RuntimeResource {
4
4
  private readonly http;
5
5
  readonly profiles: RuntimeProfilesResource;
@@ -1,5 +1,5 @@
1
- import type { HttpClient } from "./client";
2
- import type { CloudBatchRun, CloudRunQuote, TapiRun, WebsiteApiCloudBatchRequest, WebsiteApiCloudQuoteRequest, WebsiteApiOperation, WebsiteApiRunRequest } from "./types";
1
+ import type { HttpClient } from "./client.js";
2
+ import type { CloudBatchRun, CloudRunQuote, TapiRun, WebsiteApiCloudBatchRequest, WebsiteApiCloudQuoteRequest, WebsiteApiOperation, WebsiteApiRunRequest } from "./types.js";
3
3
  export declare class WebsiteApisResource {
4
4
  private readonly http;
5
5
  constructor(http: HttpClient);
@@ -1,4 +1,4 @@
1
- import { TapiError } from "./errors";
1
+ import { TapiError } from "./errors.js";
2
2
  export class WebsiteApisResource {
3
3
  http;
4
4
  constructor(http) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapi-dev/sdk",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",