@eyepop.ai/eyepop 1.6.2 → 1.7.0

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.
@@ -11176,8 +11176,10 @@ var DataEndpoint = class extends Endpoint {
11176
11176
  body: JSON.stringify(data)
11177
11177
  });
11178
11178
  }
11179
- async getDataset(dataset_uuid, include_stats = true) {
11180
- return this.request(`/datasets/${dataset_uuid}?include_stats=${include_stats}`, {
11179
+ async getDataset(dataset_uuid, include_stats = true, dataset_version, modifiable_version_only) {
11180
+ const versionQuery = dataset_version ? `&dataset_version=${dataset_version}` : "";
11181
+ const modifiableVersionQuery = typeof modifiable_version_only !== "undefined" ? `&modifiable_version_only=${modifiable_version_only}` : "";
11182
+ return this.request(`/datasets/${dataset_uuid}?include_stats=${include_stats}${versionQuery}${modifiableVersionQuery}`, {
11181
11183
  method: "GET"
11182
11184
  });
11183
11185
  }