@eyepop.ai/eyepop 0.18.2 → 0.18.4
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/eyepop.index.js
CHANGED
|
@@ -9870,7 +9870,7 @@ var Endpoint = class {
|
|
|
9870
9870
|
let response = await this.fetchWithRetry(async () => {
|
|
9871
9871
|
const session = await this.session();
|
|
9872
9872
|
let headers = {
|
|
9873
|
-
"Authorization": session.accessToken
|
|
9873
|
+
"Authorization": `Bearer ${session.accessToken}`,
|
|
9874
9874
|
"Content-Type": "application/json"
|
|
9875
9875
|
};
|
|
9876
9876
|
const patch_url = `${session.baseUrl}/pipelines/${session.pipelineId}/inferencePipeline`;
|
|
@@ -9933,7 +9933,7 @@ var Endpoint = class {
|
|
|
9933
9933
|
let response = await this.fetchWithRetry(async () => {
|
|
9934
9934
|
const session = await this.session();
|
|
9935
9935
|
const headers = {
|
|
9936
|
-
"Authorization": session.accessToken
|
|
9936
|
+
"Authorization": `Bearer ${session.accessToken}`,
|
|
9937
9937
|
"Content-Type": "application/json"
|
|
9938
9938
|
};
|
|
9939
9939
|
const stop_url = `${session.baseUrl}/pipelines/${session.pipelineId}/source?mode=preempt&processing=sync`;
|
|
@@ -10029,7 +10029,7 @@ var Endpoint = class {
|
|
|
10029
10029
|
const session = await this.session();
|
|
10030
10030
|
let response = await this.fetchWithRetry(async () => {
|
|
10031
10031
|
const headers = {
|
|
10032
|
-
"Authorization": session.accessToken
|
|
10032
|
+
"Authorization": `Bearer ${session.accessToken}`
|
|
10033
10033
|
};
|
|
10034
10034
|
const getTokenUrl = `${session.baseUrl}/liveIngress/events/token`;
|
|
10035
10035
|
return client.fetch(getTokenUrl, { headers });
|