diff --git a/examples/nodejs-minimal/package.json b/examples/nodejs-minimal/package.json index 10a8e9954..5491d20e4 100644 --- a/examples/nodejs-minimal/package.json +++ b/examples/nodejs-minimal/package.json @@ -8,8 +8,8 @@ "start": "node ./dist/index" }, "dependencies": { - "@scaleway/configuration-loader": "^0.1.0-beta.2", - "@scaleway/sdk": "^0.1.0-alpha" + "@scaleway/configuration-loader": "^0.1.0-beta", + "@scaleway/sdk": "^0.1.0-beta" }, "devDependencies": { "@types/node": "^17.0.45", diff --git a/examples/serverless-function-minimal/package.json b/examples/serverless-function-minimal/package.json index 9f8fd1f51..10ef1ad35 100644 --- a/examples/serverless-function-minimal/package.json +++ b/examples/serverless-function-minimal/package.json @@ -9,8 +9,8 @@ "author": "", "license": "ISC", "dependencies": { - "@scaleway/configuration-loader": "^0.1.0-beta.2", - "@scaleway/sdk": "^0.1.0-alpha" + "@scaleway/configuration-loader": "^0.1.0-beta", + "@scaleway/sdk": "^0.1.0-beta" }, "devDependencies": { "serverless-scaleway-functions": "^0.4.0", diff --git a/packages/clients/src/scw/api.ts b/packages/clients/src/scw/api.ts index aa2fe8919..6b67c6365 100644 --- a/packages/clients/src/scw/api.ts +++ b/packages/clients/src/scw/api.ts @@ -1,7 +1,7 @@ import type { Client } from './client' /** - * Abstract class to instanciate API from a {@link Client}. + * Abstract class to instantiate API from a {@link Client}. * * @internal */ diff --git a/packages/clients/src/scw/client-ini-factory.ts b/packages/clients/src/scw/client-ini-factory.ts index 66c1cdf62..570691a6e 100644 --- a/packages/clients/src/scw/client-ini-factory.ts +++ b/packages/clients/src/scw/client-ini-factory.ts @@ -11,7 +11,7 @@ import { Settings } from './client-settings' export type ClientConfig = (obj: Settings) => Settings /** - * Instanciates the SDK from a configuration {@link Profile}. + * Instantiates the SDK from a configuration {@link Profile}. * * @param profile - The profile * @returns A factory {@link ClientConfig} @@ -41,7 +41,7 @@ export const withProfile = } /** - * Instanciates the SDK with a different HTTP client. + * Instantiates the SDK with a different HTTP client. * * @param httpClient - A fetch compatible HTTP client * @returns A factory {@link ClientConfig} @@ -55,7 +55,7 @@ export const withHTTPClient = (settings: Readonly): Settings => ({ ...settings, httpClient }) /** - * Instanciates the SDK with a default page size. + * Instantiates the SDK with a default page size. * * @param defaultPageSize - The default page size * @returns A factory {@link ClientConfig} @@ -69,7 +69,7 @@ export const withDefaultPageSize = (settings: Readonly): Settings => ({ ...settings, defaultPageSize }) /** - * Instanciates the SDK with a different default user agent. + * Instantiates the SDK with a different default user agent. * * @param userAgent - The default user agent * @returns A factory {@link ClientConfig} @@ -83,7 +83,7 @@ export const withUserAgent = (settings: Readonly): Settings => ({ ...settings, userAgent }) /** - * Instanciates the SDK with an additional user agent. + * Instantiates the SDK with an additional user agent. * * @param userAgent - The suffix to append to default user agent * @returns A factory {@link ClientConfig} diff --git a/packages/configuration-loader/README.md b/packages/configuration-loader/README.md index c57b178f9..cbd5076a1 100644 --- a/packages/configuration-loader/README.md +++ b/packages/configuration-loader/README.md @@ -20,7 +20,7 @@ const profile = { } ``` -And then use this profile to instanciate the SDK client with `const client = createClient(profile)`. +And then use this profile to instantiate the SDK client with `const client = createClient(profile)`. However, you might prefer to store these variables in either a configuration file (e.g. local testing) or environment variables (e.g. serverless).