diff --git a/README.md b/README.md index 98c4e4f..0dda0ea 100644 --- a/README.md +++ b/README.md @@ -185,8 +185,10 @@ A workspace ID must be provided when using this method and all requests will be scoped to that workspace. ```ts -// Pass as an option to the constructor +// Set the `SEAM_PERSONAL_ACCESS_TOKEN` and `SEAM_WORKSPACE_ID` environment variables +const seam = new Seam() +// Pass as an option to the constructor const seam = new Seam({ personalAccessToken: 'your-personal-access-token', workspaceId: 'your-workspace-id', @@ -418,6 +420,9 @@ A Personal Access Token is scoped to a Seam Console user. Obtain one from the Seam Console. ```ts +// Set the `SEAM_PERSONAL_ACCESS_TOKEN` environment variable +const seam = new SeamMultiWorkspace() + // Pass as an option to the constructor const seam = new SeamMultiWorkspace({ personalAccessToken: 'your-personal-access-token', diff --git a/package-lock.json b/package-lock.json index 9893775..345ce79 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,8 +9,8 @@ "version": "1.69.0", "license": "MIT", "dependencies": { - "@seamapi/http": "1.27.0", - "@seamapi/types": "1.374.0", + "@seamapi/http": "1.28.0", + "@seamapi/types": "1.375.0", "@seamapi/webhook": "1.1.1", "zod": "^3.21.4" }, @@ -1115,9 +1115,9 @@ "peer": true }, "node_modules/@seamapi/http": { - "version": "1.27.0", - "resolved": "https://registry.npmjs.org/@seamapi/http/-/http-1.27.0.tgz", - "integrity": "sha512-qBOm26NFH5YHW7vOgvQwzmNklSMZyPUnuOIb9Dfa6SDaHbgOOFxPkkbUSqWNKKyHDHegI5jN2/O1SRkcK0dVAQ==", + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/@seamapi/http/-/http-1.28.0.tgz", + "integrity": "sha512-EP73nhEvbdtk/jMhRpYG/dCXLC14IdHMKns1baZwcwsR+hYdYqlaZB5GbATK/o9LNtopo5G8tGuEKVH9NKvBYg==", "license": "MIT", "dependencies": { "@seamapi/url-search-params-serializer": "^1.2.0", @@ -1139,9 +1139,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.374.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.374.0.tgz", - "integrity": "sha512-UGHEblbkbTjgpbXDCx293ZLWx1n2hb6Mui0hH1MjcliCiOKOydo6zqWde4Atj+DzUiLJDhsUOu9Vgm9hcC4EQw==", + "version": "1.375.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.375.0.tgz", + "integrity": "sha512-RNyVpjayduPNmfzOp/kM/SVuOqvcWTd1L0fxrKnmdAfnbSkrAbcY62NzSfFdgnqtJvBCC9O1qv8HIrkU+MVROA==", "license": "MIT", "engines": { "node": ">=18.12.0", diff --git a/package.json b/package.json index ac2644f..c98a99d 100644 --- a/package.json +++ b/package.json @@ -65,8 +65,8 @@ "npm": ">= 9.0.0" }, "dependencies": { - "@seamapi/http": "1.27.0", - "@seamapi/types": "1.374.0", + "@seamapi/http": "1.28.0", + "@seamapi/types": "1.375.0", "@seamapi/webhook": "1.1.1", "zod": "^3.21.4" },