@krovacloud/sdk 0.4.15 → 0.5.0

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/index.d.cts CHANGED
@@ -1,3 +1,14 @@
1
+ /**
2
+ * `@krovacloud/sdk` — the official TypeScript SDK for the Krova Cloud API.
3
+ *
4
+ * @example
5
+ * ```ts
6
+ * import { KrovaClient } from "@krovacloud/sdk";
7
+ *
8
+ * const krova = new KrovaClient({ apiKey: process.env.KROVA_API_KEY! });
9
+ * const cubes = await krova.cubes.list("space_123");
10
+ * ```
11
+ */
1
12
  import { Client } from "openapi-fetch";
2
13
  /**
3
14
  * This file was auto-generated by openapi-typescript.
@@ -3262,5 +3273,4 @@ export declare class TerminationProtectedError extends KrovaError {
3262
3273
  * missing optional fields.
3263
3274
  */
3264
3275
  export declare function terminationProtectedFrom(response: Response, cubeId: string, body: unknown): TerminationProtectedError | null;
3265
- export type { AcceptedBackupShare, AuthScheme, Backup, BackupShare, BackupShareList, CreateCubeInput, CreateDomainInput, CreateTcpMappingInput, Cube, CubeSshInfo, Domain, Image, KrovaClientOptions, KrovaErrorBody, Pagination, PricingTier, Region, Snapshot, Space, TcpMapping, UpdateDomainInput, components, paths };
3266
- //# sourceMappingURL=index.d.cts.map
3276
+ export type { AcceptedBackupShare, AuthScheme, Backup, BackupShare, BackupShareList, CreateCubeInput, CreateDomainInput, CreateTcpMappingInput, Cube, CubeSshInfo, Domain, Image, KrovaClientOptions, KrovaErrorBody, Pagination, PricingTier, Region, Snapshot, Space, TcpMapping, UpdateDomainInput, components, paths };
package/dist/index.d.ts CHANGED
@@ -1,3 +1,14 @@
1
+ /**
2
+ * `@krovacloud/sdk` — the official TypeScript SDK for the Krova Cloud API.
3
+ *
4
+ * @example
5
+ * ```ts
6
+ * import { KrovaClient } from "@krovacloud/sdk";
7
+ *
8
+ * const krova = new KrovaClient({ apiKey: process.env.KROVA_API_KEY! });
9
+ * const cubes = await krova.cubes.list("space_123");
10
+ * ```
11
+ */
1
12
  import { Client } from "openapi-fetch";
2
13
  /**
3
14
  * This file was auto-generated by openapi-typescript.
@@ -3262,5 +3273,4 @@ export declare class TerminationProtectedError extends KrovaError {
3262
3273
  * missing optional fields.
3263
3274
  */
3264
3275
  export declare function terminationProtectedFrom(response: Response, cubeId: string, body: unknown): TerminationProtectedError | null;
3265
- export type { AcceptedBackupShare, AuthScheme, Backup, BackupShare, BackupShareList, CreateCubeInput, CreateDomainInput, CreateTcpMappingInput, Cube, CubeSshInfo, Domain, Image, KrovaClientOptions, KrovaErrorBody, Pagination, PricingTier, Region, Snapshot, Space, TcpMapping, UpdateDomainInput, components, paths };
3266
- //# sourceMappingURL=index.d.ts.map
3276
+ export type { AcceptedBackupShare, AuthScheme, Backup, BackupShare, BackupShareList, CreateCubeInput, CreateDomainInput, CreateTcpMappingInput, Cube, CubeSshInfo, Domain, Image, KrovaClientOptions, KrovaErrorBody, Pagination, PricingTier, Region, Snapshot, Space, TcpMapping, UpdateDomainInput, components, paths };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krovacloud/sdk",
3
- "version": "0.4.15",
3
+ "version": "0.5.0",
4
4
  "description": "Official TypeScript SDK for Krova Cloud — a typed client for provisioning and managing Cubes (Firecracker microVMs) with dedicated resources.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -55,15 +55,15 @@
55
55
  "CHANGELOG.md"
56
56
  ],
57
57
  "engines": {
58
- "node": ">=18"
58
+ "node": ">=22"
59
59
  },
60
60
  "dependencies": {
61
61
  "openapi-fetch": "^0.17.0"
62
62
  },
63
63
  "devDependencies": {
64
- "@types/node": "^26.6.5",
64
+ "@types/node": "^26.6.6",
65
65
  "openapi-typescript": "^7.13.0",
66
- "tsdown": "0.23.1",
66
+ "tsdown": "0.23.7",
67
67
  "tsx": "^4.23.15",
68
68
  "typescript": "^7.0.2"
69
69
  },