fix(core): update

This commit is contained in:
Philipp Kunz 2024-01-29 21:16:10 +01:00
parent 1993016c92
commit 76a6a2fdb3
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ A modern approach to talking to the hetzner API.
```typescript ```typescript
import hetznerCloud from '@apiclient.xyz/hetznercloud' import hetznerCloud from '@apiclient.xyz/hetznercloud'
const myhetznerAccount = new hetznerCloud.HetznerAccount('myToken'); const myhetznerAccount = new hetznerCloud.HetznerAccount('myToken');
const servers = const myhetznerAccount.getServers(); const servers = myhetznerAccount.getServers();
for (const server of servers) { for (const server of servers) {
await server.delete(); await server.delete();
} }

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@apiclient.xyz/hetznercloud', name: '@apiclient.xyz/hetznercloud',
version: '1.0.4', version: '1.0.5',
description: 'an unofficial api client for the hetzner cloud api' description: 'an unofficial api client for the hetzner cloud api'
} }