Skip to content

Commit 76385fe

Browse files
committed
ci: Generate code
1 parent e289914 commit 76385fe

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const seam = new Seam()
127127
// Pass as the first argument to the constructor
128128
const seam = new Seam('your-api-key')
129129

130-
// Pass as an option the constructor
130+
// Pass as an option to the constructor
131131
const seam = new Seam({ apiKey: 'your-api-key' })
132132

133133
// Use the factory method
@@ -139,7 +139,7 @@ const seam = Seam.fromApiKey('your-api-key')
139139
A Client Session Token is scoped to a client session and should only be used on the client.
140140

141141
```ts
142-
// Pass as an option the constructor
142+
// Pass as an option to the constructor
143143
const seam = new Seam({ clientSessionToken: 'some-client-session-token' })
144144

145145
// Use the factory method
@@ -179,7 +179,7 @@ A workspace ID must be provided when using this method
179179
and all requests will be scoped to that workspace.
180180

181181
```ts
182-
// Pass as an option the constructor
182+
// Pass as an option to the constructor
183183

184184
const seam = new Seam({
185185
personalAccessToken: 'your-personal-access-token',
@@ -201,7 +201,7 @@ A workspace ID must be provided when using this method
201201
and all requests will be scoped to that workspace.
202202

203203
```ts
204-
// Pass as an option the constructor
204+
// Pass as an option to the constructor
205205
const seam = new Seam({
206206
consoleSessionToken: 'some-console-session-token',
207207
workspaceId: 'your-workspace-id',
@@ -239,7 +239,7 @@ and want to wait for it to resolve, simply use
239239
await seam.actionAttempts.get({ action_attempt_id })
240240
```
241241

242-
Or, to get the current state of an action attempt by ID without waiting,
242+
Or, to get the current state of an action attempt by ID without waiting:
243243

244244
```ts
245245
await seam.actionAttempts.get(
@@ -250,7 +250,7 @@ await seam.actionAttempts.get(
250250
)
251251
```
252252

253-
To disable this behavior, set the default option for the client,
253+
To disable this behavior, set the default option for the client:
254254

255255
```ts
256256
const seam = new Seam({
@@ -261,7 +261,7 @@ const seam = new Seam({
261261
await seam.locks.unlockDoor({ device_id })
262262
```
263263

264-
or the behavior may be configured per-request,
264+
or the behavior may be configured per-request:
265265

266266
```ts
267267
await seam.locks.unlockDoor(
@@ -272,7 +272,8 @@ await seam.locks.unlockDoor(
272272
)
273273
```
274274

275-
The `pollingInterval` and `timeout` may be configured for the client or per-request, for example
275+
The `pollingInterval` and `timeout` may be configured for the client or per-request.
276+
For example:
276277

277278
```ts
278279
import {
@@ -324,7 +325,7 @@ A Personal Access Token is scoped to a Seam Console user.
324325
Obtain one from the Seam Console.
325326

326327
```ts
327-
// Pass as an option the constructor
328+
// Pass as an option to the constructor
328329
const seam = new SeamMultiWorkspace({
329330
personalAccessToken: 'your-personal-access-token',
330331
})
@@ -344,7 +345,7 @@ A Console Session Token is used by the Seam Console.
344345
This authentication method is only used by internal Seam applications.
345346

346347
```ts
347-
// Pass as an option the constructor
348+
// Pass as an option to the constructor
348349
const seam = new SeamMultiWorkspace({
349350
consoleSessionToken: 'some-console-session-token',
350351
})

0 commit comments

Comments
 (0)