@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.
@@ -9841,7 +9841,7 @@ var Endpoint = class {
9841
9841
  let response = await this.fetchWithRetry(async () => {
9842
9842
  const session = await this.session();
9843
9843
  let headers = {
9844
- "Authorization": session.accessToken,
9844
+ "Authorization": `Bearer ${session.accessToken}`,
9845
9845
  "Content-Type": "application/json"
9846
9846
  };
9847
9847
  const patch_url = `${session.baseUrl}/pipelines/${session.pipelineId}/inferencePipeline`;
@@ -9904,7 +9904,7 @@ var Endpoint = class {
9904
9904
  let response = await this.fetchWithRetry(async () => {
9905
9905
  const session = await this.session();
9906
9906
  const headers = {
9907
- "Authorization": session.accessToken,
9907
+ "Authorization": `Bearer ${session.accessToken}`,
9908
9908
  "Content-Type": "application/json"
9909
9909
  };
9910
9910
  const stop_url = `${session.baseUrl}/pipelines/${session.pipelineId}/source?mode=preempt&processing=sync`;
@@ -10000,7 +10000,7 @@ var Endpoint = class {
10000
10000
  const session = await this.session();
10001
10001
  let response = await this.fetchWithRetry(async () => {
10002
10002
  const headers = {
10003
- "Authorization": session.accessToken
10003
+ "Authorization": `Bearer ${session.accessToken}`
10004
10004
  };
10005
10005
  const getTokenUrl = `${session.baseUrl}/liveIngress/events/token`;
10006
10006
  return client.fetch(getTokenUrl, { headers });