seam 1.69.0 → 1.71.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -185,8 +185,10 @@ A workspace ID must be provided when using this method
185
185
  and all requests will be scoped to that workspace.
186
186
 
187
187
  ```ts
188
- // Pass as an option to the constructor
188
+ // Set the `SEAM_PERSONAL_ACCESS_TOKEN` and `SEAM_WORKSPACE_ID` environment variables
189
+ const seam = new Seam()
189
190
 
191
+ // Pass as an option to the constructor
190
192
  const seam = new Seam({
191
193
  personalAccessToken: 'your-personal-access-token',
192
194
  workspaceId: 'your-workspace-id',
@@ -418,6 +420,9 @@ A Personal Access Token is scoped to a Seam Console user.
418
420
  Obtain one from the Seam Console.
419
421
 
420
422
  ```ts
423
+ // Set the `SEAM_PERSONAL_ACCESS_TOKEN` environment variable
424
+ const seam = new SeamMultiWorkspace()
425
+
421
426
  // Pass as an option to the constructor
422
427
  const seam = new SeamMultiWorkspace({
423
428
  personalAccessToken: 'your-personal-access-token',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seam",
3
- "version": "1.69.0",
3
+ "version": "1.71.0",
4
4
  "description": "JavaScript SDK for the Seam API written in TypeScript.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -65,8 +65,8 @@
65
65
  "npm": ">= 9.0.0"
66
66
  },
67
67
  "dependencies": {
68
- "@seamapi/http": "1.27.0",
69
- "@seamapi/types": "1.374.0",
68
+ "@seamapi/http": "1.28.0",
69
+ "@seamapi/types": "1.375.2",
70
70
  "@seamapi/webhook": "1.1.1",
71
71
  "zod": "^3.21.4"
72
72
  },