Skip to content

Commit 5092aaa

Browse files
authored
chore: fix a few typos (#47)
1 parent bfae9d3 commit 5092aaa

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

examples/nodejs-minimal/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"start": "node ./dist/index"
99
},
1010
"dependencies": {
11-
"@scaleway/configuration-loader": "^0.1.0-beta.2",
12-
"@scaleway/sdk": "^0.1.0-alpha"
11+
"@scaleway/configuration-loader": "^0.1.0-beta",
12+
"@scaleway/sdk": "^0.1.0-beta"
1313
},
1414
"devDependencies": {
1515
"@types/node": "^17.0.45",

examples/serverless-function-minimal/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"author": "",
1010
"license": "ISC",
1111
"dependencies": {
12-
"@scaleway/configuration-loader": "^0.1.0-beta.2",
13-
"@scaleway/sdk": "^0.1.0-alpha"
12+
"@scaleway/configuration-loader": "^0.1.0-beta",
13+
"@scaleway/sdk": "^0.1.0-beta"
1414
},
1515
"devDependencies": {
1616
"serverless-scaleway-functions": "^0.4.0",

packages/clients/src/scw/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Client } from './client'
22

33
/**
4-
* Abstract class to instanciate API from a {@link Client}.
4+
* Abstract class to instantiate API from a {@link Client}.
55
*
66
* @internal
77
*/

packages/clients/src/scw/client-ini-factory.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { Settings } from './client-settings'
1111
export type ClientConfig = (obj: Settings) => Settings
1212

1313
/**
14-
* Instanciates the SDK from a configuration {@link Profile}.
14+
* Instantiates the SDK from a configuration {@link Profile}.
1515
*
1616
* @param profile - The profile
1717
* @returns A factory {@link ClientConfig}
@@ -41,7 +41,7 @@ export const withProfile =
4141
}
4242

4343
/**
44-
* Instanciates the SDK with a different HTTP client.
44+
* Instantiates the SDK with a different HTTP client.
4545
*
4646
* @param httpClient - A fetch compatible HTTP client
4747
* @returns A factory {@link ClientConfig}
@@ -55,7 +55,7 @@ export const withHTTPClient =
5555
(settings: Readonly<Settings>): Settings => ({ ...settings, httpClient })
5656

5757
/**
58-
* Instanciates the SDK with a default page size.
58+
* Instantiates the SDK with a default page size.
5959
*
6060
* @param defaultPageSize - The default page size
6161
* @returns A factory {@link ClientConfig}
@@ -69,7 +69,7 @@ export const withDefaultPageSize =
6969
(settings: Readonly<Settings>): Settings => ({ ...settings, defaultPageSize })
7070

7171
/**
72-
* Instanciates the SDK with a different default user agent.
72+
* Instantiates the SDK with a different default user agent.
7373
*
7474
* @param userAgent - The default user agent
7575
* @returns A factory {@link ClientConfig}
@@ -83,7 +83,7 @@ export const withUserAgent =
8383
(settings: Readonly<Settings>): Settings => ({ ...settings, userAgent })
8484

8585
/**
86-
* Instanciates the SDK with an additional user agent.
86+
* Instantiates the SDK with an additional user agent.
8787
*
8888
* @param userAgent - The suffix to append to default user agent
8989
* @returns A factory {@link ClientConfig}

packages/configuration-loader/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const profile = {
2020
}
2121
```
2222

23-
And then use this profile to instanciate the SDK client with `const client = createClient(profile)`.
23+
And then use this profile to instantiate the SDK client with `const client = createClient(profile)`.
2424

2525
However, you might prefer to store these variables in either a configuration file (e.g. local testing) or environment variables (e.g. serverless).
2626

0 commit comments

Comments
 (0)