@eyepop.ai/eyepop 1.0.4 → 1.1.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.
@@ -10814,6 +10814,21 @@ var DataEndpoint = class extends Endpoint {
10814
10814
  } else {
10815
10815
  await this.reconnect_ws();
10816
10816
  }
10817
+ if (this.options().useCookie) {
10818
+ const client = this._client;
10819
+ const url = urlJoin(this._baseUrl, "security", "check?set_cookie=true");
10820
+ const headers2 = {
10821
+ "Authorization": await this.authorizationHeader()
10822
+ };
10823
+ response = await client.fetch(url, {
10824
+ headers: headers2
10825
+ });
10826
+ if (response.status != 204) {
10827
+ this.updateState("Error" /* Error */);
10828
+ const message = await response.text();
10829
+ return Promise.reject(`Unexpected status ${response.status}: ${message}`);
10830
+ }
10831
+ }
10817
10832
  this.updateState();
10818
10833
  return Promise.resolve(this);
10819
10834
  }
@@ -11273,7 +11288,7 @@ var EyePop;
11273
11288
  domain: "dev-eyepop.us.auth0.com",
11274
11289
  clientId: "jktx3YO2UnbkNPvr05PQWf26t1kNTJyg",
11275
11290
  audience: "https://dev-app.eyepop.ai",
11276
- scope: "admin:clouds"
11291
+ scope: "admin:clouds access:inference-api access:datasets"
11277
11292
  }
11278
11293
  };
11279
11294
  } else {
@@ -11282,7 +11297,7 @@ var EyePop;
11282
11297
  domain: "eyepop.us.auth0.com",
11283
11298
  clientId: "Lb9ubA9Hf3jlaqWLUx8XgA0zvotgViCl",
11284
11299
  audience: "https://api.eyepop.ai",
11285
- scope: "admin:clouds"
11300
+ scope: "admin:clouds access:inference-api access:datasets"
11286
11301
  }
11287
11302
  };
11288
11303
  }