@bodhiapp/bodhi-js-core 0.0.42 → 0.0.44

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.
@@ -14,6 +14,9 @@ class me {
14
14
  requested(e) {
15
15
  return this.body.requested = e, this;
16
16
  }
17
+ exchange(e = !0) {
18
+ return this.body.exchange = e, this;
19
+ }
17
20
  modelsAccess(e = !0) {
18
21
  return this.ensureRequested().models_access = e, this;
19
22
  }
@@ -71,6 +74,9 @@ class ge {
71
74
  setOnProgress(e) {
72
75
  return this.options.onProgress = e, this;
73
76
  }
77
+ setExchange(e = !0) {
78
+ return this.options.exchange = e, this;
79
+ }
74
80
  build() {
75
81
  const e = { ...this.options };
76
82
  return Object.keys(this.requested).length > 0 && (e.requested = { ...this.requested }), e;
@@ -1042,9 +1048,7 @@ class ue {
1042
1048
  return this.sendApiRequest(
1043
1049
  "POST",
1044
1050
  "/bodhi/v1/apps/request-access",
1045
- e,
1046
- {},
1047
- !1
1051
+ e
1048
1052
  );
1049
1053
  }
1050
1054
  async getAuthState() {