@sprucelabs/spruce-people-utils 3.8.0 → 3.8.1

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.
@@ -185,7 +185,7 @@ class InvitePersonCardViewController extends AbstractViewController {
185
185
  });
186
186
  }
187
187
  handleSubmitNamePhoneForm() {
188
- var _a;
188
+ var _a, _b;
189
189
  return __awaiter(this, void 0, void 0, function* () {
190
190
  this.swipeVc.setIsBusy(true);
191
191
  yield this.swipeVc.jumpToSlide(1);
@@ -211,6 +211,7 @@ class InvitePersonCardViewController extends AbstractViewController {
211
211
  this.pendingInvite = invite;
212
212
  }
213
213
  catch (err) {
214
+ console.error((_b = err.stack) !== null && _b !== void 0 ? _b : err.message);
214
215
  yield this.alert({ title: 'Invite failed!', message: err.message });
215
216
  yield this.swipeVc.jumpToSlide(0);
216
217
  }
@@ -165,7 +165,7 @@ class InvitePersonCardViewController extends heartwood_view_controllers_1.Abstra
165
165
  return super.destroy();
166
166
  }
167
167
  async handleSubmitNamePhoneForm() {
168
- var _a;
168
+ var _a, _b;
169
169
  this.swipeVc.setIsBusy(true);
170
170
  await this.swipeVc.jumpToSlide(1);
171
171
  try {
@@ -190,6 +190,7 @@ class InvitePersonCardViewController extends heartwood_view_controllers_1.Abstra
190
190
  this.pendingInvite = invite;
191
191
  }
192
192
  catch (err) {
193
+ console.error((_b = err.stack) !== null && _b !== void 0 ? _b : err.message);
193
194
  await this.alert({ title: 'Invite failed!', message: err.message });
194
195
  await this.swipeVc.jumpToSlide(0);
195
196
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sprucelabs/spruce-people-utils",
3
3
  "description": "People Utilities",
4
- "version": "3.8.0",
4
+ "version": "3.8.1",
5
5
  "skill": {
6
6
  "namespace": "invite"
7
7
  },