fix(core): update
This commit is contained in:
parent
e7cafd9c1c
commit
07d625fa1f
@ -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();
|
||||||
|
@ -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'
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,2 @@
|
|||||||
|
export * from './classes.account.js';
|
||||||
|
export * from './classes.server.js';
|
Loading…
Reference in New Issue
Block a user