@nirvana-labs/nirvana 1.35.2 → 1.35.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.35.4 (2026-01-07)
4
+
5
+ Full Changelog: [v1.35.3...v1.35.4](https://github.com/nirvana-labs/nirvana-typescript/compare/v1.35.3...v1.35.4)
6
+
7
+ ### Bug Fixes
8
+
9
+ * **mcp:** fix options parsing ([4f1c356](https://github.com/nirvana-labs/nirvana-typescript/commit/4f1c356dcf4dbe760d51358ef6923686adbc4223))
10
+ * **mcp:** update cloudflare worker host page ([71171cf](https://github.com/nirvana-labs/nirvana-typescript/commit/71171cf18e8ac7847882efd04b075b180705bd1b))
11
+
12
+
13
+ ### Chores
14
+
15
+ * break long lines in snippets into multiline ([569a57a](https://github.com/nirvana-labs/nirvana-typescript/commit/569a57a3fca9cf4cb58bef4a2679829d1d486bf0))
16
+
17
+ ## 1.35.3 (2026-01-06)
18
+
19
+ Full Changelog: [v1.35.2...v1.35.3](https://github.com/nirvana-labs/nirvana-typescript/compare/v1.35.2...v1.35.3)
20
+
21
+ ### Chores
22
+
23
+ * remove custom code ([4773d98](https://github.com/nirvana-labs/nirvana-typescript/commit/4773d985ba1e9bdc9119d41561fe0513213b9a70))
24
+
3
25
  ## 1.35.2 (2026-01-06)
4
26
 
5
27
  Full Changelog: [v1.35.1...v1.35.2](https://github.com/nirvana-labs/nirvana-typescript/compare/v1.35.1...v1.35.2)
package/README.md CHANGED
@@ -41,7 +41,9 @@ const operation = await client.compute.vms.create({
41
41
  os_image_name: 'ubuntu-noble-2025-10-01',
42
42
  public_ip_enabled: true,
43
43
  region: 'us-wdc-1',
44
- ssh_key: { public_key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2' },
44
+ ssh_key: {
45
+ public_key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2',
46
+ },
45
47
  subnet_id: '123e4567-e89b-12d3-a456-426614174000',
46
48
  });
47
49
 
@@ -68,7 +70,9 @@ const params: NirvanaLabs.Compute.VMCreateParams = {
68
70
  os_image_name: 'ubuntu-noble-2025-10-01',
69
71
  public_ip_enabled: true,
70
72
  region: 'us-wdc-1',
71
- ssh_key: { public_key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2' },
73
+ ssh_key: {
74
+ public_key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2',
75
+ },
72
76
  subnet_id: '123e4567-e89b-12d3-a456-426614174000',
73
77
  };
74
78
  const operation: NirvanaLabs.Operation = await client.compute.vms.create(params);
@@ -94,7 +98,8 @@ const operation = await client.compute.vms
94
98
  public_ip_enabled: true,
95
99
  region: 'us-wdc-1',
96
100
  ssh_key: {
97
- public_key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2',
101
+ public_key:
102
+ 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2',
98
103
  },
99
104
  subnet_id: '123e4567-e89b-12d3-a456-426614174000',
100
105
  })
@@ -138,7 +143,17 @@ const client = new NirvanaLabs({
138
143
  });
139
144
 
140
145
  // Or, configure per-request:
141
- await client.compute.vms.create({ boot_volume: { size: 100, type: 'nvme' }, cpu_config: { vcpu: 2 }, memory_config: { size: 2 }, name: 'my-vm', os_image_name: 'ubuntu-noble-2025-10-01', public_ip_enabled: true, region: 'us-wdc-1', ssh_key: { public_key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2' }, subnet_id: '123e4567-e89b-12d3-a456-426614174000' }, {
146
+ await client.compute.vms.create({
147
+ boot_volume: { size: 100, type: 'nvme' },
148
+ cpu_config: { vcpu: 2 },
149
+ memory_config: { size: 2 },
150
+ name: 'my-vm',
151
+ os_image_name: 'ubuntu-noble-2025-10-01',
152
+ public_ip_enabled: true,
153
+ region: 'us-wdc-1',
154
+ ssh_key: { public_key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2' },
155
+ subnet_id: '123e4567-e89b-12d3-a456-426614174000',
156
+ }, {
142
157
  maxRetries: 5,
143
158
  });
144
159
  ```
@@ -155,7 +170,17 @@ const client = new NirvanaLabs({
155
170
  });
156
171
 
157
172
  // Override per-request:
158
- await client.compute.vms.create({ boot_volume: { size: 100, type: 'nvme' }, cpu_config: { vcpu: 2 }, memory_config: { size: 2 }, name: 'my-vm', os_image_name: 'ubuntu-noble-2025-10-01', public_ip_enabled: true, region: 'us-wdc-1', ssh_key: { public_key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2' }, subnet_id: '123e4567-e89b-12d3-a456-426614174000' }, {
173
+ await client.compute.vms.create({
174
+ boot_volume: { size: 100, type: 'nvme' },
175
+ cpu_config: { vcpu: 2 },
176
+ memory_config: { size: 2 },
177
+ name: 'my-vm',
178
+ os_image_name: 'ubuntu-noble-2025-10-01',
179
+ public_ip_enabled: true,
180
+ region: 'us-wdc-1',
181
+ ssh_key: { public_key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2' },
182
+ subnet_id: '123e4567-e89b-12d3-a456-426614174000',
183
+ }, {
159
184
  timeout: 5 * 1000,
160
185
  });
161
186
  ```
@@ -219,7 +244,8 @@ const response = await client.compute.vms
219
244
  public_ip_enabled: true,
220
245
  region: 'us-wdc-1',
221
246
  ssh_key: {
222
- public_key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2',
247
+ public_key:
248
+ 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2',
223
249
  },
224
250
  subnet_id: '123e4567-e89b-12d3-a456-426614174000',
225
251
  })
@@ -237,7 +263,8 @@ const { data: operation, response: raw } = await client.compute.vms
237
263
  public_ip_enabled: true,
238
264
  region: 'us-wdc-1',
239
265
  ssh_key: {
240
- public_key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2',
266
+ public_key:
267
+ 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDBIASkmwNiLcdlW6927Zjt1Hf7Kw/PpEZ4Zm+wU9wn2',
241
268
  },
242
269
  subnet_id: '123e4567-e89b-12d3-a456-426614174000',
243
270
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nirvana-labs/nirvana",
3
- "version": "1.35.2",
3
+ "version": "1.35.4",
4
4
  "description": "The official TypeScript library for the Nirvana Labs API",
5
5
  "author": "Nirvana Labs <engineering@nirvanalabs.io>",
6
6
  "types": "./index.d.ts",
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.35.2'; // x-release-please-version
1
+ export const VERSION = '1.35.4'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.35.2";
1
+ export declare const VERSION = "1.35.4";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.35.2";
1
+ export declare const VERSION = "1.35.4";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '1.35.2'; // x-release-please-version
4
+ exports.VERSION = '1.35.4'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '1.35.2'; // x-release-please-version
1
+ export const VERSION = '1.35.4'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map