diff --git a/readme.md b/readme.md index fc6277a..b781edb 100644 --- a/readme.md +++ b/readme.md @@ -26,6 +26,7 @@ BundlePhobia (total size when bundled) | [![BundlePhobia](https://badgen.net/bun A modern approach to talking to the hetzner API. ```typescript +// assuming top level await here import hetznerCloud from '@apiclient.xyz/hetznercloud' const myhetznerAccount = new hetznerCloud.HetznerAccount('myToken'); const servers = await myhetznerAccount.getServers(); diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index a81ef13..2b1f46d 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@apiclient.xyz/hetznercloud', - version: '1.0.6', + version: '1.0.7', description: 'an unofficial api client for the hetzner cloud api' } diff --git a/ts/index.ts b/ts/index.ts index e69de29..767b651 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -0,0 +1,2 @@ +export * from './classes.account.js'; +export * from './classes.server.js';