@bodhiapp/bodhi-js-core 0.0.43 → 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,8 +74,8 @@ class ge {
71
74
  setOnProgress(e) {
72
75
  return this.options.onProgress = e, this;
73
76
  }
74
- setReauthorize(e = !0) {
75
- return this.options.reauthorize = e, this;
77
+ setExchange(e = !0) {
78
+ return this.options.exchange = e, this;
76
79
  }
77
80
  build() {
78
81
  const e = { ...this.options };
@@ -1045,9 +1048,7 @@ class ue {
1045
1048
  return this.sendApiRequest(
1046
1049
  "POST",
1047
1050
  "/bodhi/v1/apps/request-access",
1048
- e,
1049
- {},
1050
- !1
1051
+ e
1051
1052
  );
1052
1053
  }
1053
1054
  async getAuthState() {