@ornncompute/cli 1.0.310 → 1.0.312

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornncompute/cli",
3
- "version": "1.0.310",
3
+ "version": "1.0.312",
4
4
  "description": "Command-line interface for Ornn compute access workflows.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -540,8 +540,8 @@ function geolocate(request, query, signal) {
540
540
  }
541
541
 
542
542
  // ../../packages/api-client/dist/orchestrator/customer-profiles.js
543
- function getCustomerServicingProfile(request, organizationId, signal) {
544
- return request(`/v1/orchestrator/customer-profiles/${encodeURIComponent(organizationId)}`, {
543
+ function getCustomerServicingProfile(request, organizationId, signal, role = "buyer") {
544
+ return request(`/v1/orchestrator/customer-profiles/${encodeURIComponent(organizationId)}${role === "supplier" ? "?profile_role=supplier" : ""}`, {
545
545
  method: "GET",
546
546
  signal
547
547
  });