@seamapi/http 0.11.0 → 0.11.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.
- package/dist/connect.cjs +6 -0
- package/dist/connect.cjs.map +1 -1
- package/lib/seam/connect/parse-options.js +6 -0
- package/lib/seam/connect/parse-options.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/parse-options.ts +6 -0
- package/src/lib/version.ts +1 -1
package/dist/connect.cjs
CHANGED
|
@@ -65,6 +65,12 @@ var getApiKeyFromEnv = (options) => {
|
|
|
65
65
|
if ("clientSessionToken" in options && options.clientSessionToken != null) {
|
|
66
66
|
return null;
|
|
67
67
|
}
|
|
68
|
+
if ("consoleSessionToken" in options && options.consoleSessionToken != null) {
|
|
69
|
+
return null;
|
|
70
|
+
}
|
|
71
|
+
if ("personalAccessToken" in options && options.personalAccessToken != null) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
68
74
|
return globalThis.process?.env?.SEAM_API_KEY;
|
|
69
75
|
};
|
|
70
76
|
var getEndpointFromEnv = () => {
|