Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down