fix(core): update

This commit is contained in:
Philipp Kunz 2024-02-17 20:41:21 +01:00
parent e7cafd9c1c
commit 07d625fa1f
3 changed files with 4 additions and 1 deletions

View File

@ -26,6 +26,7 @@ BundlePhobia (total size when bundled) | [![BundlePhobia](https://badgen.net/bun
A modern approach to talking to the hetzner API. A modern approach to talking to the hetzner API.
```typescript ```typescript
// assuming top level await here
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 = await myhetznerAccount.getServers(); const servers = await myhetznerAccount.getServers();

View File

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

View File

@ -0,0 +1,2 @@
export * from './classes.account.js';
export * from './classes.server.js';