@seamapi/nextlove-sdk-generator 1.10.0 → 1.10.1

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.
@@ -3,7 +3,7 @@ export default () => `# flake8: noqa
3
3
 
4
4
  from seam.seam import Seam, SeamApiException
5
5
  from seam.parse_options import SeamHttpInvalidOptionsError
6
- from seam.auth import SeamHttpInvalidToken
6
+ from seam.auth import SeamHttpInvalidTokenError
7
7
  from seam.utils.action_attempt_errors import (
8
8
  SeamActionAttemptError,
9
9
  SeamActionAttemptFailedError,
@@ -1,8 +1,6 @@
1
1
  export default () => `import os
2
2
  from typing import Optional
3
3
 
4
- from seam.auth import get_auth_headers
5
-
6
4
  DEFAULT_ENDPOINT = "https://connect.getseam.com"
7
5
 
8
6
 
@@ -14,6 +12,8 @@ def parse_options(
14
12
  ):
15
13
  if personal_access_token is None:
16
14
  api_key = api_key or os.getenv("SEAM_API_KEY")
15
+
16
+ from seam.auth import get_auth_headers
17
17
 
18
18
  auth_headers = get_auth_headers(
19
19
  api_key=api_key,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/nextlove-sdk-generator",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "Utilities for building NextLove SDK Generators",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -3,7 +3,7 @@ export default () => `# flake8: noqa
3
3
 
4
4
  from seam.seam import Seam, SeamApiException
5
5
  from seam.parse_options import SeamHttpInvalidOptionsError
6
- from seam.auth import SeamHttpInvalidToken
6
+ from seam.auth import SeamHttpInvalidTokenError
7
7
  from seam.utils.action_attempt_errors import (
8
8
  SeamActionAttemptError,
9
9
  SeamActionAttemptFailedError,
@@ -1,8 +1,6 @@
1
1
  export default () => `import os
2
2
  from typing import Optional
3
3
 
4
- from seam.auth import get_auth_headers
5
-
6
4
  DEFAULT_ENDPOINT = "https://connect.getseam.com"
7
5
 
8
6
 
@@ -14,6 +12,8 @@ def parse_options(
14
12
  ):
15
13
  if personal_access_token is None:
16
14
  api_key = api_key or os.getenv("SEAM_API_KEY")
15
+
16
+ from seam.auth import get_auth_headers
17
17
 
18
18
  auth_headers = get_auth_headers(
19
19
  api_key=api_key,