From 6a8ca9bc868d1a2aaa567915f32ac1f22918b9a2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 12 Apr 2024 19:20:37 +0000 Subject: [PATCH 1/3] feat(deps): bump the seam group with 2 updates Bumps the seam group with 2 updates: [@seamapi/http](https://github.com/seamapi/javascript-http) and [@seamapi/types](https://github.com/seamapi/types). Updates `@seamapi/http` from 0.26.0 to 0.27.0 - [Release notes](https://github.com/seamapi/javascript-http/releases) - [Changelog](https://github.com/seamapi/javascript-http/blob/main/.releaserc.json) - [Commits](https://github.com/seamapi/javascript-http/compare/v0.26.0...v0.27.0) Updates `@seamapi/types` from 1.157.1 to 1.157.2 - [Release notes](https://github.com/seamapi/types/releases) - [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json) - [Commits](https://github.com/seamapi/types/compare/v1.157.1...v1.157.2) --- updated-dependencies: - dependency-name: "@seamapi/http" dependency-type: direct:production update-type: version-update:semver-minor dependency-group: seam - dependency-name: "@seamapi/types" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: seam ... Signed-off-by: dependabot[bot] --- package-lock.json | 28 +++++++++------------------- package.json | 4 ++-- 2 files changed, 11 insertions(+), 21 deletions(-) diff --git a/package-lock.json b/package-lock.json index c1ca5f3..bbf1075 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,8 +9,8 @@ "version": "0.55.0", "license": "MIT", "dependencies": { - "@seamapi/http": "0.26.0", - "@seamapi/types": "1.157.1", + "@seamapi/http": "0.27.0", + "@seamapi/types": "1.157.2", "@seamapi/webhook": "1.0.0-rc.0", "seamapi-types": "1.42.0", "zod": "^3.21.4" @@ -1040,9 +1040,9 @@ ] }, "node_modules/@seamapi/http": { - "version": "0.26.0", - "resolved": "https://registry.npmjs.org/@seamapi/http/-/http-0.26.0.tgz", - "integrity": "sha512-r+a0j0LNZ5DjS/puU+F+mAubuV9PScvNmqFCNtyBWUwenepdDE0dQY0HeKs/9FOAv0XxFgI06BIpm0PlIWHCbg==", + "version": "0.27.0", + "resolved": "https://registry.npmjs.org/@seamapi/http/-/http-0.27.0.tgz", + "integrity": "sha512-Zp1CJOI7CoIvgJJQAjyTgGzGVBvIVgdU7LVJfigv7CG/swd8rVEDTVDBfFCcIF21T4u1TYzI51ysuU9Spcm1Lw==", "dependencies": { "@seamapi/url-search-params-serializer": "^1.1.0", "axios": "^1.5.0", @@ -1054,34 +1054,24 @@ "npm": ">= 9.0.0" }, "peerDependencies": { - "@seamapi/types": "^1.154.1", - "type-fest": "^4.0.0" + "@seamapi/types": "1.157.2" }, "peerDependenciesMeta": { "@seamapi/types": { "optional": true - }, - "type-fest": { - "optional": true } } }, "node_modules/@seamapi/types": { - "version": "1.157.1", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.157.1.tgz", - "integrity": "sha512-vIzhW6vtdg1rHUxv3VGlmRnc6jJvxPsMLTOuDFW+8F6y4xOyD2uMyTTjniQWD+MX8Uv4ngkbl6w/dcWsiosPyg==", + "version": "1.157.2", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.157.2.tgz", + "integrity": "sha512-cIybCOBv9UUN/DzEsEZQ2ce80kqKAYFZuyKwW8J3WCz1x4hTQBx3AUi6WbeLsyc9+Plj8vovG91gjpikfc5QNg==", "engines": { "node": ">=18.12.0", "npm": ">= 9.0.0" }, "peerDependencies": { - "type-fest": "^4.3.1", "zod": "^3.21.4" - }, - "peerDependenciesMeta": { - "type-fest": { - "optional": true - } } }, "node_modules/@seamapi/url-search-params-serializer": { diff --git a/package.json b/package.json index 53cbd4e..a0d0078 100644 --- a/package.json +++ b/package.json @@ -64,8 +64,8 @@ "npm": ">= 9.0.0" }, "dependencies": { - "@seamapi/http": "0.26.0", - "@seamapi/types": "1.157.1", + "@seamapi/http": "0.27.0", + "@seamapi/types": "1.157.2", "@seamapi/webhook": "1.0.0-rc.0", "seamapi-types": "1.42.0", "zod": "^3.21.4" From 3d25f25c0176537bc2189380f5bff5ba25d54039 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Fri, 12 Apr 2024 19:20:59 +0000 Subject: [PATCH 2/3] ci: Generate code --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 65e398d..8f823de 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,8 @@ $ npm install seam ### Examples -_These examples assume `SEAM_API_KEY` is set in your environment._ +> [!NOTE] +> These examples assume `SEAM_API_KEY` is set in your environment. #### List devices @@ -110,6 +111,7 @@ Authentication may be configured by passing the corresponding options directly to the `Seam` constructor, or with the more ergonomic static factory methods. +> [!NOTE] > Publishable Key authentication is not supported by the constructor > and must be configured using `Seam.fromPublishableKey`. @@ -430,7 +432,6 @@ console.log(`${request.method} ${request.url}`, JSON.stringify(request.body)) const devices = await request.execute() ``` - ### Receiving Webhooks First, create a webhook using the Seam API or Seam Console From fdf03fc188ba67513e35ca50066550cfb2741be3 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Fri, 12 Apr 2024 19:21:29 +0000 Subject: [PATCH 3/3] ci: Format code --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 8f823de..f3eb3b9 100644 --- a/README.md +++ b/README.md @@ -432,6 +432,7 @@ console.log(`${request.method} ${request.url}`, JSON.stringify(request.body)) const devices = await request.execute() ``` + ### Receiving Webhooks First, create a webhook using the Seam API or Seam Console