From 6e0901dc4a68efaf80431cfe3cf1a2073f53c34f Mon Sep 17 00:00:00 2001 From: Vincent Germain Date: Fri, 14 Apr 2023 13:33:15 +0200 Subject: [PATCH] chore(readme): make the CORS information less scary --- README.md | 4 ++-- packages/clients/src/api/baremetal/v1/index.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 50103652b..d43b120f0 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ This SDK enables you to interact with Scaleway APIs. -> **Warning** -> SDK only works from a node.js runtime, browser calls aren't supported yet. +> **Note** +> The SDK works exclusively within a Node.js environment, as browser requests are limited by CORS restrictions. **🔗  Important links:** * [Reference documentation](https://scaleway.github.io/scaleway-sdk-js) diff --git a/packages/clients/src/api/baremetal/v1/index.ts b/packages/clients/src/api/baremetal/v1/index.ts index 295d95dd1..d9d6077ea 100644 --- a/packages/clients/src/api/baremetal/v1/index.ts +++ b/packages/clients/src/api/baremetal/v1/index.ts @@ -1,5 +1,5 @@ export { BaremetalV1UtilsAPI as API } from './api.utils' export { PrivateNetworkAPI } from './api.gen' export * from './content.gen' -export * from './types.gen' +export type * from './types.gen' export * as ValidationRules from './validation-rules.gen'