@eyepop.ai/eyepop 1.0.1 → 1.0.3

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.
@@ -9558,7 +9558,7 @@ if ("document" in globalThis && "implementation" in globalThis.document) {
9558
9558
  } else {
9559
9559
  resolvePath = async (source) => {
9560
9560
  const mime = require_mime_types();
9561
- const filehandle = __require("fs/promises");
9561
+ const filehandle = __require("node:fs/promises");
9562
9562
  const fd = await filehandle.open(source.path, "r");
9563
9563
  const stream = fd.createReadStream();
9564
9564
  const mimeType = mime.lookup(source.path) || "application/octet-stream";
@@ -11026,6 +11026,12 @@ var DataEndpoint = class extends Endpoint {
11026
11026
  method: "GET"
11027
11027
  });
11028
11028
  }
11029
+ async previewAutoAnnotateAsset(asset_uuid, auto_annotate, auto_annotate_params) {
11030
+ return this.request(`/assets/${asset_uuid}/preview_auto_annotate?auto_annotate=${auto_annotate}`, {
11031
+ method: "POST",
11032
+ body: auto_annotate_params ? JSON.stringify(auto_annotate_params) : null
11033
+ });
11034
+ }
11029
11035
  // Model methods
11030
11036
  async listModels() {
11031
11037
  return this.request(`/models?account_uuid=${this._accountId}`, {