@ebowwa/hetzner 0.2.1 → 0.2.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/pricing.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebowwa/hetzner",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Hetzner Cloud API client - servers, volumes, SSH keys, actions, pricing",
5
5
  "type": "module",
6
6
  "main": "./index.js",
package/pricing.ts CHANGED
@@ -345,7 +345,7 @@ export class PricingOperations {
345
345
  return response.server_types; // Return unvalidated data for backward compatibility
346
346
  }
347
347
 
348
- return validated.data.server_types;
348
+ return validated.data.server_types as HetznerServerType[];
349
349
  }
350
350
 
351
351
  /**