@@ -83,7 +83,7 @@ $ npm install -D @seamapi/types@latest
8383#### List devices
8484
8585``` ts
86- import { SeamHttp } from ' @seamapi/http/connect '
86+ import { SeamHttp } from ' @seamapi/http'
8787
8888const seam = new SeamHttp ()
8989const devices = await seam .devices .list ()
@@ -92,7 +92,7 @@ const devices = await seam.devices.list()
9292#### Unlock a door
9393
9494``` ts
95- import { SeamHttp } from ' @seamapi/http/connect '
95+ import { SeamHttp } from ' @seamapi/http'
9696
9797const seam = new SeamHttp ()
9898const lock = await seam .locks .get ({ name: ' Front Door' })
@@ -277,7 +277,7 @@ import {
277277 SeamHttp ,
278278 isSeamActionAttemptFailedError ,
279279 isSeamActionAttemptTimeoutError ,
280- } from ' @seamapi/http/connect '
280+ } from ' @seamapi/http'
281281
282282const seam = new SeamHttp (' your-api-key' , {
283283 waitForActionAttempt: {
@@ -495,7 +495,7 @@ Options are deep merged with the default options.
495495The Axios client is exposed and may be used or configured directly:
496496
497497``` ts
498- import { SeamHttp , DevicesListResponse } from ' @seamapi/http/connect '
498+ import { SeamHttp , DevicesListResponse } from ' @seamapi/http'
499499
500500const seam = new SeamHttp ()
501501
@@ -518,7 +518,7 @@ The `SeamHttpEndpoints` class offers an alternative path-based interface to ever
518518Each endpoint is exposed as simple property that returns the corresponding method from ` SeamHttp ` .
519519
520520``` ts
521- import { SeamHttpEndpoints } from ' @seamapi/http/connect '
521+ import { SeamHttpEndpoints } from ' @seamapi/http'
522522
523523const seam = new SeamHttpEndpoints ()
524524const devices = await seam [' /devices/list' ]()
@@ -532,7 +532,7 @@ Do not use the undocumented API in production environments.
532532Seam is not responsible for any issues you may encounter with the undocumented API.
533533
534534``` ts
535- import { SeamHttp } from ' @seamapi/http/connect '
535+ import { SeamHttp } from ' @seamapi/http'
536536
537537const seam = new SeamHttp ({ isUndocumentedApiEnabled: true })
538538```
0 commit comments