@lifeready/core 6.0.1 → 6.0.4
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/bundles/lifeready-core.umd.js +4 -7
- package/bundles/lifeready-core.umd.js.map +1 -1
- package/bundles/lifeready-core.umd.min.js +1 -1
- package/bundles/lifeready-core.umd.min.js.map +1 -1
- package/esm2015/lib/_common/utils.js +2 -5
- package/esm2015/lib/reminder/reminder.service.js +4 -4
- package/esm2015/lib/reminder/reminder.types.js +1 -1
- package/fesm2015/lifeready-core.js +4 -7
- package/fesm2015/lifeready-core.js.map +1 -1
- package/lib/reminder/reminder.types.d.ts +7 -3
- package/lifeready-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -637,10 +637,7 @@
|
|
|
637
637
|
case 2:
|
|
638
638
|
error_1 = _a.sent();
|
|
639
639
|
// The error thrown by Cognito is of type string.
|
|
640
|
-
|
|
641
|
-
return [2 /*return*/, ''];
|
|
642
|
-
}
|
|
643
|
-
throw error_1;
|
|
640
|
+
return [2 /*return*/, ''];
|
|
644
641
|
case 3: return [2 /*return*/];
|
|
645
642
|
}
|
|
646
643
|
});
|
|
@@ -14013,7 +14010,7 @@
|
|
|
14013
14010
|
return this.mutate(this.createReminderMutation(options));
|
|
14014
14011
|
};
|
|
14015
14012
|
ReminderService.prototype.createReminderMutation = function (options) {
|
|
14016
|
-
var _a
|
|
14013
|
+
var _a;
|
|
14017
14014
|
return __awaiter(this, void 0, void 0, function () {
|
|
14018
14015
|
return __generator(this, function (_c) {
|
|
14019
14016
|
return [2 /*return*/, new LrMutation({
|
|
@@ -14022,8 +14019,8 @@
|
|
|
14022
14019
|
input: {
|
|
14023
14020
|
directoryId: options.directoryId,
|
|
14024
14021
|
firstEvent: options.firstEvent.toISOString(),
|
|
14025
|
-
plain: JSON.stringify(
|
|
14026
|
-
notifyAheadSeconds: (
|
|
14022
|
+
plain: JSON.stringify(options.plainJson),
|
|
14023
|
+
notifyAheadSeconds: (_a = options.notifyAheadSeconds) !== null && _a !== void 0 ? _a : 0,
|
|
14027
14024
|
},
|
|
14028
14025
|
},
|
|
14029
14026
|
})];
|