@sprucelabs/spruce-invite-utils 9.0.124 → 9.0.126
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.
|
@@ -71,8 +71,8 @@ class ConfirmJoinCardViewController extends AbstractViewController {
|
|
|
71
71
|
return this.isLoaded;
|
|
72
72
|
}
|
|
73
73
|
load() {
|
|
74
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
75
74
|
return __awaiter(this, void 0, void 0, function* () {
|
|
75
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
76
76
|
try {
|
|
77
77
|
const client = yield this.connectToApi();
|
|
78
78
|
yield Promise.all([
|
|
@@ -110,8 +110,8 @@ class ConfirmJoinCardViewController extends AbstractViewController {
|
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
112
|
loadOrg(client) {
|
|
113
|
-
var _a;
|
|
114
113
|
return __awaiter(this, void 0, void 0, function* () {
|
|
114
|
+
var _a;
|
|
115
115
|
try {
|
|
116
116
|
const [{ organization }] = yield client.emitAndFlattenResponses('get-organization::v2020_12_25', {
|
|
117
117
|
target: {
|
|
@@ -136,8 +136,8 @@ class ConfirmJoinCardViewController extends AbstractViewController {
|
|
|
136
136
|
});
|
|
137
137
|
}
|
|
138
138
|
optionallyLoadLocation(client) {
|
|
139
|
-
var _a;
|
|
140
139
|
return __awaiter(this, void 0, void 0, function* () {
|
|
140
|
+
var _a;
|
|
141
141
|
if (this.locationId) {
|
|
142
142
|
try {
|
|
143
143
|
const [{ location }] = yield client.emitAndFlattenResponses('get-location::v2020_12_25', {
|
|
@@ -106,8 +106,8 @@ export default class LoginAndConfirmJoinControllerImpl {
|
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
108
|
renderInDialogAndWait(view) {
|
|
109
|
-
var _a;
|
|
110
109
|
return __awaiter(this, void 0, void 0, function* () {
|
|
110
|
+
var _a;
|
|
111
111
|
//@ts-ignore
|
|
112
112
|
this.dialog = this.vc.renderInDialog(view);
|
|
113
113
|
yield ((_a = this.dialog) === null || _a === void 0 ? void 0 : _a.wait());
|